Help with XML - LIKE 3.0

Hello everyone. I decided to start working with XML, because it allows me to load assets outside and more later very easily edit my applications without having to modify the fla itself. So, today, I looked at and read a few tutorials and now I am trying to build a Scroll event, throughout the XML and HAVE 3.0. Basically, what I want is to have several events within a movieclip that I fit in a scroll pane when I finished, because now I will focus on the extraction of data from the XML file, and he analyzes with AS 3.0. The layout is simple: a thumbnail image on the left and next to it on the right, there is the event title, date, and some info on this and it should have a dark gray background while the text is white. Each two events are apart 30 pixels and there are 5 events for now.

OK, enough talking now let's make the code:

XML code:

<? XML version = "1.0" encoding = "utf-8"? >

< EVENTSXML >

< EVENT >

< TITLE > event 1 < /title >

< DATE > 04/12/2009 < / DATE >

thumb0.jpg < GO > < / INCH >

< INFO > text goes here < / INFO >

< / EVENT >

< EVENT >

< TITLE > event 2 < /title >

< DATE > 02/03/2009 < / DATE >

thumb1.jpg < GO > < / INCH >

< INFO > text goes here < / INFO >

< / EVENT >

< EVENT >

< TITLE > event 3 < / TITLE >

< DATE > 18/11/2008 < / DATE >

thumb2.jpg < GO > < / INCH >

< INFO > text goes here < / INFO >

< / EVENT >

< EVENT >

< TITLE > event 4 < /title >

< DATE > 09/10/2008 < / DATE >

thumb3.jpg < GO > < / INCH >

< INFO > text goes here < / INFO >

< / EVENT >

< EVENT >

< TITLE > 5 < /title > event

< DATE > 08/06/2008 < / DATE >

thumb4.jpg < GO > < / INCH >

< INFO > text goes here < / INFO >

< / EVENT >

< / EVENTSXML >

ActionScript 3.0:

var myXML:XML;

var req:URLRequest = new URLRequest ("events.xml");

var ldr:URLLoader = new URLLoader();

LDR. Load (req);

ldr.contentLoaderInfo.addEventListener (Event.COMPLETE, processXML);

function processXML(e:Event):void

{

myXML = new XML (e.target.data);

buildEvents (myXML.EVENT);

}

var eventScroll:MovieClip = new MovieClip();

var padding: Number = 30;

this.addChild (eventScroll);

eventScroll.x = eventScroll.y = padding;

function buildEvents(evnts:XMLList):void

{

for (var i: uint = 0; i < evnts.length (); i ++) {}

var eventData:MovieClip = new MovieClip();

eventData.y = (20 + padding) * i;

eventData.itemNum = i;

eventData.title = events [i]. TITLE;

eventData.date = events [i]. DATE;

eventData.thumb = events [i]. THE THUMB;

eventData.info = events [i] .INFO;

/ / thumb container

thisThumb:Sprite = new Sprite();

var ldr:Loader = new Loader()

var req:URLRequest = new URLRequest (eventData.thumb);

ldr.load (req);

thisThumb.addChild (ldr);

eventData.addChild (thisThumb);

eventScroll.addChild (eventData);

     }

}

now I'm stuck here... demand is not yet done, and when I publish the file I get errors, are errors:

1067: constraint implied a value of type flash.display:Sprite to a type unrelated to class.

Source: thisThumb:Sprite = new Sprite();


1188: illegal assignment to the Sprite class.

Source: thisThumb:Sprite = new Sprite();


1120: access of undefined property thisThumb.

Source: thisThumb.addChild (ldr);


1120: access of undefined property thisThumb.

Source: eventData.addChild (thisThumb);


1119: access of possibly undefined property contentLoaderInfo via a reference with flash .net: URLLoader of static type.

Source: ldr.contentLoaderInfo.addEventListener (Event.COMPLETE, processXML);

So where did I go wrong turn and how can I carry on with my code at the end of my application?

PS: I don't want someone to do it for me, so in case someone decided to help me, please comment and explain your code because this application is for in the first place porpuses learning... Thanks in advance!

infoF.wordWrap = true;

Tags: Adobe Animate

Similar Questions

  • need help with xml data

    Hi all

    need your spiritual help once more!
    I have a table 'product' as below:

    create table product)
    product_id number (2),
    product_info varchar (4000));

    Select * from product:
    product_id product_info
    1 < ticketing > < product = 'TV' > < productservice = "shipping" > < / productservice > < / product = 'TV' > < / ticket >

    I need to get the column product_info information in a new table with 2 columns product and productservice product_details. as in: -.
    Select * from product_details:
    product_id product productservice
    1 expedition TV

    any suggestions on how to do it.
    PS-> for a product it can be several services and there may be several products for a ticket.

    Your XML file is not well formed at all (so many errors in there).

    However, if you had a valid XML code, you could do something like that...

    SQL> ed
    Wrote file afiedt.buf
    
      1  with t as (select 1 as product_id, '' as product_info from dual union all
      2             select 2, '' from dual)
      3  --
      4  -- end of test data
      5  --
      6  select t.product_id, x.*
      7  from t
      8      ,xmltable('/ticketing/product'
      9                passing xmltype(t.product_info)
     10                columns product varchar2(10) path '/product/@name'
     11                       ,service varchar2(15) path '/product/productservice/@name'
     12*              ) x
    SQL> /
    
    PRODUCT_ID PRODUCT    SERVICE
    ---------- ---------- ---------------
             1 TV         shipping
             2 VCR        delivered
    
  • Need help with XML, view the data by scanning/click

    Hello.

    I am creating a moibile app that displays XML data. It is a telephone directory. I want the data to change when we slide. I can get the data very well. I can get it to display fine. I do not see the correct image first, however. I think it's a problem with my imagenum variable.

    Then, I want to change what is displayed when the user clicks/slide on the screen. How do I do that?

    Stop();
    var nameArray:Array = new Array();
    var countryArray:Array = new Array();
    var portraitArray:Array = new Array();
    var flagArray:Array = new Array();
    var jobtitleArray:Array = new Array();

    var imageNum:Number = 0;
    var totalImages:Number;

    Loading XML
    var XMLURLLoader:URLLoader = new URLLoader();
    XMLURLLoader.load (new URLRequest ("recbook.xml"));


    XMLURLLoader.addEventListener (Event.COMPLETE, processXML);


    function processXML(event:Event):void {}

    var theXMLData:XML = new XML (XMLURLLoader.data);
    totalImages = theXMLData.name.length ();
    for (var i: Number = 0; i < totalImages; i ++) {}
    Data in the tables xml push
    nameArray.push (theXMLData.name [i]);
    countryArray.push (theXMLData.country [i]);
    portraitArray.push (theXMLData.portrait [i]);
    flagArray.push (theXMLData.flag [i]);
    jobtitleArray.push (theXMLData.jobtitle [i]);
    }
    the data is processed

    loadData();
    }

    function loadData (): void {}

    var thisPortrait:String = portraitArray [imageNum];
    var thisCountry:String = countryArray [imageNum];
    var thisName:String = NomTableau [imageNum];
    var thisJobtitle:String = jobtitleArray [imageNum];
    var thisFlag:String = flagArray [imageNum];

    var dataLoader:Loader = new Loader();
    dataLoader.load (new URLRequest (portraitArray [imageNum]));
    dataLoader.contentLoaderInfo.addEventListener (Event.COMPLETE, dataLoaded);
    function dataLoaded(event:Event):void {}

    I want to start with 0 (img1.jpg) image and scroll with a click of the mouse (finger on iOS kick)
    stage.addEventListener (MouseEvent.CLICK, loadMainImage1);
    function loadMainImage1(event:MouseEvent):void {}
    portraitUILoader.source = thisPortrait;
    flagUILoader.source = thisFlag;
    selectedName.text = thisName;
    selectedCountry.text = thisCountry;
    selectedJobtitle.text = thisJobtitle;
    }
    }

    Add to imageNum (1);
    imageNum ++;
    If (imageNum < totalImages) {//stopping to img2
    trace ("imageNum" + imageNum);
    trace ("name of the image (tomyline)" + tomyline "); losing picture 4 somewhere

    loadData();
    }

    trace ("Total Images" + totalImages);

    }

    Click here to pass the screenI House would this gap. do not know how.
    homeScreen_mc.addEventListener (MouseEvent.CLICK, goNext);

    function goNext(event:MouseEvent):void
    {
    nextFrame();
    }


    * / Here is the result:
    imageNum 1
    image name (tomyline) images/img1.jpg
    imageNum 2
    image name (tomyline) images/img2.jpg
    imageNum 3
    image name (tomyline) images/img3.jpg
    Total of 4 Images
    Total of 4 Images
    Total of 4 Images
    Total of 4 Images

    It starts on frame 1 display (the second in the series img2.jpg) * /.

    If (imageNum< totalimages)="" {//stopping="" at="">
    trace ("imageNum" + imageNum);
    trace ("name of the image (tomyline)" + tomyline "); losing picture 4 somewhere
    imageNum ++;
    If (imageNum! = totalImages) loadData();
    }

  • Need help with xml parsing

    Hello everyone. I have a question about parsing of an xml file. So I have to build a section of a Web site, in which I have to create a carousell 3d, showing different images. The images are loaded from an xml file, and their number is random. Basically, when I enter the section, I must choose a random number of galleries and when visit on a gallery name, a carousell appear, filled with images with for this gallery. The Gallery xml structure is as follows. It is still for the test, so there no concrete values.

    <? XML version = "1.0" encoding = "utf-8"? >

    < eveniments >

    < organization >

    < title > eveniment1 < / title >

    < photos >

    < poza1 > one < / poza1 >

    < poza2 > n < / poza2 >

    < poza3 > c < / poza3 >

    < poza4 > s < / poza4 >

    < / photos >

    < / organization >

    < organization >

    < title > eveniment2 < / title >

    < photos >

    < poza1 > one < / poza1 >

    < poza2 > b < / poza2 >

    < poza3 > c < / poza3 >

    d < poza4 > < / poza4 >

    < poza5 > e < / poza5 >

    < / photos >

    < / organization >

    < organization >

    < title > eveniment3 < / title >

    < photos >

    < poza1 > b < / poza1 >

    bb < poza2 > < / poza2 >

    bbb < poza3 > < / poza3 >

    < poza4 > bbbb < / poza4 >

    < poza5 > bath < / poza5 >

    < poza6 > bath < / poza6 >

    < / photos >

    < / organization >

    < organization >

    < title > eveniment4 < / title >

    < photos >

    < poza1 > c < / poza1 >

    < poza2 > one < / poza2 >

    < poza3 > cc < / poza3 >

    < poza4 > aa < / poza4 >

    < poza7 > ccc < / poza7 >

    < poza5 > aaa < / poza5 >

    < poza6 > < / poza6 >

    < / photos >

    < / organization >

    < organization >

    < title > eveniment5 < / title >

    < photos >

    < poza1 > CAD < / poza1 >

    < poza2 > CAD < / poza2 >

    < poza3 > ca < / poza3 >

    < poza4 > cc < / poza4 >

    < / photos >

    < / organization >

    < / eveniments >

    I need to access all the

    The question is: How can I access the child 'pictures' for each node?   I tried to access le.eveniment.poze "xmlfile", but it seems to not work.

    It seems that your pozas are in a section of , then you probably need to target through who tag images.

  • help with XML Photo Gallery

    try and try to learn, the google is these days it's hard to find answers. then I come back here.

    first of all, it doesn't seem to work. If I remove the last part - the loop for and put addchild() in the first loop for, added photos.

    SRY on tweens trying that, but it seems never worked either. .

    Import fl.transitions.Tween;


    Fl.transitions.easing import. *;


    Import fl.transitions.TweenEvent;


    import flash.utils.Timer;//classes to use the timer


    import flash.events.TimerEvent;

    var imageLoader:Array = new Array();

    for (var m = 0; m < = 4; m ++)

    {

    imageLoader [m] = new Loader();

    }

    var xml;

    var xmlList:XMLList;

    var xmlLoader:URLLoader = new URLLoader();

    xmlLoader.load (new URLRequest("images/xmlLow.xml"));

    xmlLoader.addEventListener (Event.COMPLETE, xmlLoaded);

    function xmlLoaded(event:Event):void

    {

    XML = XML (event.target.data);

    xmlList = xml.children ();

    for (var i: int = 0; i < xmlList.length () - 1; i ++)

    {

    imageLoader [i] = new Loader();

    imageLoader [i] .load (new URLRequest (xmlList [i] .attribute ("source")));

    imageLoader [i] .alpha = 0;

    trace ("alpha function for" + imageLoader [i] .alpha);

    }

    for (var h:int = 0; h < xmlList.length () - 1; h ++)


    {


    / * var mytimer:Timer = new Timer (4000);


    mytimer.addEventListener (TimerEvent.TIMER, doNextTween);


    myTimer.Start (); * /


    doNextTween();



    function doNextTween (): void


    {


    addChild (imageLoader [h]);


    imageLoader [h] .addEventListener (Event.ENTER_FRAME, doNextTweenX);


    trace (imageLoader [1]);



    function doNextTweenX(e:Event):void


    {


    imageLoader [h] .alpha +=. 1;


    trace (imageloader [h] .alpha);


    If (.alpha imageLoader [h] > = 1).


    {


    imageLoader [h] .alpha = 0;

    imageLoader [h] .removeEventListener (Event.ENTER_FRAME, doNextTweenX);


    }


    }


    }


    }

    }

    online test.

  • Need help with XML (bold/italic) attribute access

    Hello

    I have a form that displays data in livecycle designer. When a person imports an xml file into the form in Adobe Acrobat format, it should be able to display data in the form of fat and some italicized based on the xml file.

    Here is an example of xml file

    < Table1 >

    < Row1 >

    < Cell1 style = 'none' > 1 < / Cell1 >

    < Cell2 style = "bold" > 2 < / Cell2 >

    < Cell3 style = "italic" > 3 < / Cell3 >

    < / Row1 >

    < / Table1 >

    And the output should be:

    1 2 3

    Can someone please! If the xml file must be designed differently, please let me know.

    Thank you!

    The implementation of Rich Text use xHTML to define the styles of fonts. I suggest you create a RichText Field on your form, set the text the way you want, then export the data to see how the styles are represented.

    Paul

  • Need help with XML import

    I created the project using jdevelopr.
    locally, it works fine.
    I moved all my files from my development instance.

    trying to IMPORT an xml file using the following observation.

    When I try to import xml AU_TOP rum.

    I am getting error "java denied execute permission.

    Same as I did chmod - A - R 777
    Should I do something else?

    If I run of webui where my pg.xml is available, I get java not found error.

    PL. Let me know where I need to run this file

    Also, pl. check the import xml command I use to import


    Java oracle.jrad.tools.xml.importer.XMLImporter
    /oradev2/test/testcomn/Java/xxhr/Oracle/Apps/xxhr/selfservice/personalaction/WebUI/XXHRPersonalActionSearchPG.XML
    / oradev2/test/testcomn/java/xxhr/oracle/apps/xxhr/selfservice/personalaction/webui - rootdir/userId - apps
    rootPackage - / oradev2/test/testcomn/java/xxhr/oracle/apps/xxhr/selfservice/personalaction/webui /.
    apps - username username-password apps - dbconnection ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=10.1.4.57) (PORT = 1528)) (CONNECT_DATA = (SID = dev))) ".


    PL. Let me do I need to do any authorization or what the problem is.

    pl in a timely response.

    Thanks in advance
    Siva

    Yes, you can run it from any path (if you all the access path to the command)

  • Need help with problems of performance with 14 elements

    I scanned the forums and provided below to help with feedback. At this point, the organizer of the elements is unusable for me - I'm looking for suggestions to help refine the installer to make it usable.

    MY SETUP

    • Just more than 50000 items in the catalog, about 95% of them are photos, videos of rest. 98% of the source files are on a drive to the server in my house, with a gigabit connection.
    • I left full recognition of faces (took two days!) and Yes, during that who was running the organizer was unusable.
    • My PC is an i7 - 4790 k with 16 GB of RAM. Windows Pro 10. Boot drive is SSD.

    THE SCENARIO

    I have a new series of images on my C drive local - images that I scanned, about 30 pictures. Using the view of the pane left records that I navigate to the folder on my C drive. If I move to the tab places it takes about 25 seconds to react and make enforcement appear the places page. If I then go to the people tab it takes about 75 seconds, for the application to respond. In both cases, the application is completely insensitive during the wait.

    Clearly, I can't clean my collection with this kind of response. So here are my questions:

    1. What are the key strategies to improve performance, given my configuration?
    2. Have I not too many objects in the catalog? Should I aim lower number? I saw that there is no actual limit but I feel Im beyond a theoretical limit of messages.
    3. Broken content is to catalog help with questions like this? Is there another internal setting, I should be updated or change?
    4. Given the number of images should I use Lightroom instead?

    The only change that I'm not going to do is to move all the content of my return to my local drive. Sound on the server so that it is completely backed up and protected. So I'm looking for ideas that help given this configuration.

    Thanks to everyone for their help.

    Mark

    mgill2012 wrote:

    .........

    Thanks to everyone for their help.

    Mark

    Mark,

    I can't offer a positive solution to your problem, but I hope to give you some answers or thoughts on this subject.

    Let's start with the description of your case: it's a perfect description of what has been reported in several positions:

    -powerful Installer (computer, SSD)

    -l' use of the recognition of people and/or geolocation

    -use of a NAS for the library.

    -Library of more than 50,000 points.

    -very long indexing, then extremely slow.

    I do not use a SSD (will probably later) or a NAS (I never do). I 65 000 objects and don't care about recognition of face or geolocation, which explains that with a basic setup on I3, 8 GB of RAM, I have an organizing extremely fast speed. Even on an old secondary computer with Vista, it is still quite manageable.

    Your choice is typical of advanced specialists and competent (I guess that less than 1% of the current user of items based). I have yet to see no answer (satisfactory or not...) Adobe staff.

    Given the number of images should I use Lightroom instead?

    I guess that's what Adobe could answer you... and that would be wise. You can use a trial version to make your choice and do a search on the forum for Lightroom. I have not seen similar, even if complaints with NASs, it seems to be a lot to say. Lightroom can convert your organizing catalogs (maybe some problems lately...)

    The only change that I'm not going to do is to move all the content of my return to my local drive. Sound on the server so that it is completely backed up and protected. So I'm looking for ideas that help given this configuration.

    If the use of the network is primarily to ensure maximum security (for not sharing images), why not would you use the choice to store your library on your computer (internal or external disk) with a sync to your NAS as a backup solution? I can tell you that my workflow includes Windows Synctoy to record each session easily and quickly (catalogs and libraries).

    Your very precise description of the case call to assess each factor of different performance individually. Even if the method above is not the final answer, it could shed light on the influence of the use of the network.

    1. Have I not too many objects in the catalog? Should I aim lower number? I saw that there is no actual limit but I feel Im beyond a theoretical limit of messages.
    2. Broken content is to catalog help with questions like this?

    Splitting the catalog is usually a very bad solution, a number of post seems to show that with the recognition of the people/geotagging, the problems around the range of 50,000 points. You can make a copy of the catalog and remove half of the files to check the influence of numbers point; Maybe it's possible with version 14 (deletion is extremely slow, but worked for me, even if it failed with older versions).

    Is there another internal setting, I should be updated or change?

    Sorry, I can't help you there...

    Other factors are using recognition Geotagging and people. Even if you absolutely need those features, disable to see their influence could help Adobe to solve performance issues.

  • Hello good I would like to cancel the annual plan of adobe audition, because I had problems with the software and the Bank, if I can help with this please.

    Hello good I would like to cancel the annual plan of adobe audition,

    As I have had problems with the software and the Bank, if I can help with that please.

    Please contact customer support for cancellation & refund of the next purchase. Contact the customer service

    Creative single-app cloud membership for Adobe Audition (one year) Subscription Office March 11, 2015

    In the case of any questions, please let us know, I can certainly go for you.

    Concerning

    Baudier

  • Need help with this gallery of xml!

    I have build a gallery but its very simple... There are pictures of the xml file.

    I have attached all the zip files.

    I just want two things if anyone can help.

    first of all when I press the next button, he's going to the next image, but without effect. It just displays the following image... I want to incorporate the effect of dragging when the image is changed to another.

    and secondly, I want to use the AutoPlay feature.

    Once swf starts images came one by one with a vertical drop of a few seconds.

    Thanks in advance... I really need help with this..!

    For the look of sliding effect using the actionscript class Tween.  Allows you to create motion tweens using the code.  The example below will be tween property _x of the instance named anObject from 0 to 300 in 3 seconds...

    import classes before using

    Import mx.transitions.Tween;
    Import mx.transitions.easing.Regular;

    TW var = new Tween (anObject, "_x", Regular.easeIn, 0, 300, 3, true);

    To implement an enforcement function auto you need to import all the images first, in the order, then you will need to use form any controlled timer, such as setInterval (with clearInterval not to need) in order to have things turn on automatically by some part-time

  • need help with a degraded more than mask images XML

    I have a file which works fine by pulling images via XML data. I want to create a mask gradient using flash CS3, but I can't seem to get any sort of mask (solid or degraded) reacts with XML driven images.

    Download my FLA and other work files 845 kb

    Ah ok that explains why - you must set to export to the 8 player to use gradient masks. And you need to cache as bitmap to true so that the image also like:

    maskMC.cacheAsBitmap = true;
    imageMC.cacheAsBitmap = true;
    imageMC.setMask (maskMC);
    Stop();

  • Working with XML and button

    Hello

    How are you all. Well, I'm new to Flex. But I started to build simple applications. One of the best most problem I face in working with XML and the button. Can you please help me in this. I explain my problem:

    I have an external XML file like this:
    < menu >
    < button >
    < idnt > 0 < / idnt >
    General Health < label > < / label >
    pages of < text > general health is currently under construction < / text >
    < / button >
    < button >
    < idnt > 1 < / idnt >
    < label > mental health < / label >
    pages of < text > mental health is currently under construction < / text >
    < / button >
    < / menu >

    Now, I want to generate dynamically buttons from this XML file. And the second thing that is the most problematic is that how I code so that when I press the button marked 'General health', it will display the same text as in the XML corresponding to the tag tag "< label > General Health < / label >?
    I seriously need it. I'm really confused on this. Kindly help me.

    Concerning
    .. : DeX

    Dear Peter,

    Thank you, thank you very much... bundles of thanks from me. You really help me with this. I wasn't expecting such a detailed response from anyone. But you the wrong given. Thank you very much.
    My MSN account ID is "[email protected]". I would be very happy if you add me to your contact list or let me know your email address. I am not your hotmail ID ask you many questions, would just be a friend to share new ideas and knowledge.

    I thank once again...
    .. : DW

  • Need help with the encryption of the page

    Hello

    Is there a way to encrypt a webpage, so it can't be hacked in to? Any help would be greatly appreciated. Thank you, Rob

    > I created pages php... .and they will have happy living with xml files
    > updated every 15 minutes. Rob

    Ok. I guess I'm still not really sure as to the specificity of your request.

    'hacking' or, more technically correct term 'cracking' web sites usually
    is to go directly to the server to change the source code. As
    such, the security key box you need to look out for is the server itself.
    Make sure it is locked with the latest patches and if any
    security software installed and is originally a LAN properly secured, etc..

    The other common way to hack a web site would be to take advantage of sloppy DB
    code and exploit the SQL commands via the forms on the website of the mark. This
    called SQL injection and is prevented through various methods involving
    your code on the server side.

    Finally, if we wants and aims, we can scan for
    Passwords transmitted through the web site. This is a case where you WOULD
    you want to use encryption and server pages requiring passwords via SSL.

    I wouldn't say all password protected pages should be SSL... actually, more
    at the time, I don't bother, but if it is anythign like bank statements or
    involving personal data or data outside your web application, you do not want to use
    SSL.

    -Darrel

  • Rehearsal with XML

    I need a little help with the Repeater object. I use it to create a dynamic number of images... the images receive their XML source string, but I do not know how to reference the child node.

    I have a HTTPService using php to run a query on a mysql database. Here's an example of how the output will look like.

    $Return = '< phoneimgs > ';
    While ($PhoneType = mysql_fetch_object ($Result)) {}
    $Return. = "< phoneimg > < phonetype >. $PhoneType-> phonetype. "< / phonetype > < phoneimgsmall >". " $PhoneType-> p honesrcsmall. "< / phoneimgsmall > < phoneimglarge >". " $PhoneType-> phonesrclarge. "< / phoneimglarge > < / phoneimg > ';
    }
    $Return. = "< / phoneimgs > ';

    So it goes 'phoneimgs' as the root, then "phoneimg" then "phoneimgsmall", which contains the URL of my jpg images.

    I have a HTTPSevice to call the php script. The id of the service's "feeder". Here is my collection ArrayCollection.

    < mx:ArrayCollection id = source = "{ArrayUtil.toArray (imageRequest.lastResult.phoneimgs.phoneimg)"myAC"}" / > "

    Here's the part I have puzzled me. I placed a '? ' in the place where I guess I need the child 'phoneimgsmall' that contains the URL of the reference source.

    < mx:Repeater id = 'myrep' dataProvider = "{myAC}" >
    < mx:Image source = "{myrep.currentItem.?}" "showEffect = hideEffect"{imgFade}"="{imgFadeOut}"/ >
    < / mx:Repeater >

    Can anyone help? It would be easy if I used the ArrayCollection collection to a datagrid control. Then I could just set the attribute 'dataField' of a column "phoneimgsmall." Unfortunately the object of the IMAGE has nothing simple ;)

    Sorry, I meant imageRequest.lastResult. You must cast:

    and Yes, it was supposed to be phoneimg, no phone.

  • Need help with Macbook

    Hello, I recently bought a Macbook from a friend and since I got the Mac it's very very slow at doing things like browsing the internet using Safari, it takes forever to load, web pages and all sorts of things that I'd like to get help with this problem maybe a few recommendations and also on how to speed up... If you need to care about Macbook, I can give these thx.

    To sell or transfer ownership of a Mac, even to a member of your family, you must follow these instructions. So far, you will have continuous problems.

    Refer to what to do before you sell or give away your Mac

    1. If you have enabled FileVault, disable it in system preferences > Security and privacy.
    2. "Remove" your iTunes account. Ditto for Audible if you have one.
    3. System Preferences > iCloud > deselect 'Back to My Mac' and 'find my Mac '.
    4. Disconnect from iCloud. Select "Delete from Mac" when it appears.

    Next: delete all of your personal information by erasing the internal storage of the Mac completely.

    1. If your Mac comes with a grey system installation DVD, start up your Mac with this disc in the optical drive, all holding the key c to boot from it instead of its internal volume, which must be erased before selling.
      • Apple stopped Macs shipment requiring these discs in August 2011.
    2. If your Mac does not comes with disks, boot OS X Internet Recovery:
      • using three fingers press on and hold the following keys: (command), optionand R.
      • With a fourth finger, press the power button to turn on the Mac.
      • Keep the other three fingers here where they are until you see the icon "spinning globe.
      • This method force the Mac to download BONES initially installed from Apple servers, that won't require not an Apple ID install.
    3. Remove any password Open Firmware, if you created a: select utility password firmware in the Utilities menu and remove.
    4. Select disk utility from the utilities menu.
    5. Delete all partitions that can be created.
    6. Select the icon for the hard drive to the Mac, and then select the tab "delete".
    7. Click on the 'Security Options' button and erase the drive.
      • More "robustly" you erase the disc, the longer it will.
      • The fastest method is sufficient, since all but the techniques more expensive and equipment will be able to recover data deleted safely.
    8. When he finishes, quit disk utility.
    9. In the utility menu, select Install Mac OS X .
      • An identifier Apple won't be necessary. If a prompt for an Apple ID, return to step 5.
      • Do not create user accounts.
    10. When he finishes, shut down the computer.
    11. If you want to install the bundled apps that have been included with your Mac, restart using your DVD Applications if it was included and install the bundled apps.
      • Apps, delivered with the new Macs sold without disks cannot be transferred. His new owner must buy them from the Mac App Store with its own Apple ID.

    If the Mac is sold to someone outside the family, consider the following additional information:

    1. System provided with your Mac installation DVD must stay with him forever and be included in the sale.
    2. Consider including your AppleCare certificate if you bought it, documents printed, same box if you have.
      • AppleCare remains with the equipment and can be transferred.
    3. Run an invoice indicating the serial number of the Mac.
    4. Once is no longer in your possession, remove the Mac of your devices in my support profile.

Maybe you are looking for