Help with Flex preloading and transitions please

I downloaded and installed Flex Builder 3, and I think I have
my slideshow project about 75% finished. It's the last 25% that I
can't figure out, regarding preloading and transitions. Can someone
take a look at the code below and see if you can help me? I tried
to write the code in such a way that you can debug it from any
computer as it's calling an PHP/XML file and images that are on a
server.
Here's what's finished...
1. PHP file looks at image files on server and builds XML
file.
2. Flex app calls PHP file and traverses the XML in the
response.
3. Flex app figures out how many "slides" there and displays
the slides one at a time, each slide with 3 images, with a 5 second
delay between "slides."
Here's what's not finished...
1. I would like a fade-out to white at the end of each slide,
and a fade-in from white at the beginning of each slide.
2. I need each slide to stay put intil the next slide is
pre-loaded. That is, during the 5 seconds that a slide is
displayed, the next 3 images need to be preloaded, and then the
slide should not progress to the next until slide is completely
loaded.
3. The very first slide should not appear until it is
completely loaded, and when it does appear, it should fade in from
white.
How do I do this?!? Please help! Here's the code...
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" width="472" height="195"
backgroundGradientAlphas="[1.0, 1.0]"
backgroundGradientColors="[#FFFFFF, #FFFFFF]"
creationComplete="StartFunction();" >
<mx:Fade id="fadeOut" duration="2000" alphaFrom="1.0"
alphaTo="0.0"/>
<mx:Fade id="fadeIn" duration="2000" alphaFrom="0.0"
alphaTo="1.0"/>
<mx:Image id="PhotoA" x="0" y="0" width="154"
height="195" />
<mx:Image id="PhotoC" x="318" y="0" width="154"
height="195" />
<mx:Image id="PhotoB" x="159" y="0" width="154"
height="195" />
<mx:Script>
<![CDATA[
private function StartFunction():void {
var oXML:XML = new XML();
var sXmlUrl:String = "
http://www.smis.org/templates/smis/slideshowxml.php";
var oUrlReq:URLRequest = new URLRequest(sXmlUrl);
var oUrlLoader:URLLoader = new URLLoader(oUrlReq);
oUrlLoader.addEventListener("complete", xmlLoaded);
function xmlLoaded(event:Event):void {
oXML = XML(oUrlLoader.data);
var iSlide:int = 0;
function ChangeImages():void {
PhotoA.load("
http://www.smis.org/" +
oXML.slide[iSlide].photo[0]["@filepath"]);
PhotoB.load("
http://www.smis.org/" +
oXML.slide[iSlide].photo[1]["@filepath"]);
PhotoC.load("
http://www.smis.org/" +
oXML.slide[iSlide].photo[2]["@filepath"]);
iSlide++;
if (iSlide >= oXML.children().length())
iSlide = 0;
PhotoA.load("
http://www.smis.org/" +
oXML.slide[iSlide].photo[0]["@filepath"]);
PhotoB.load("
http://www.smis.org/" +
oXML.slide[iSlide].photo[1]["@filepath"]);
PhotoC.load("
http://www.smis.org/" +
oXML.slide[iSlide].photo[2]["@filepath"]);
iSlide++;
if (iSlide >= oXML.children().length())
iSlide = 0;
setInterval(ChangeImages,5000);
]]>
</mx:Script>
</mx:Application>

What you've done is beyond my capabilities, as of now. But, I
ran into the same problem with the fading in and out of the photos.
Here's my solution.
I defined my fade with only the id and the duration
parameters. No 'from' and 'to'.
Then I used the 'showEffect' and 'hideEffect' parameters.
showEffect="{bannerFade}" hideEffect="{bannerFade}"
Works like a charm for my project.
I hope this helps.
Randy

Similar Messages

  • Help with Flex - PHP - and SQL Server

    Good afternoon,
    I have been working on this problem for over a week and am at
    my wit's end. I am trying to create an application that will allow
    me and my fellow statisticians to share code easily. The
    technologies at my disposal are Flex, PHP and SQL Server 2005. The
    web server is IIS. I have downloaded and installed the PHP driver
    for SQL Server 2005 and am able to query the database and generate
    XML. The problem I'm having is that I can't return the XML from PHP
    to Flex.
    If I execute the php code in a web browser and view the
    source, it looks like XML. I can then cut and paste the exact same
    code into an xml file and read it in from the harddisk and the tree
    will populate. Can anyone please help me? I don't have flex builder
    so I it's hard for me to use trace and view what is going on.
    Thanks in advance,
    Eric Graves

    Thanks for the suggestion. I have tried every permutation of
    e4x path notation I can think of. You're right, you're not supposed
    to need the root level as that's supposed to be returned in the
    result. So you should only need to reference first level after the
    root. When I do this and launch the .SWF I get a completely empty
    tree.
    I think the problem lies somewhere in my understanding of
    what format Flex needs returned from a HTTPRequest. It's my
    understanding that it just needs to be XML. As far as I can tell,
    that's what I'm sending it. On the PHP side, does it have to be
    cast a special way? Everything I've seen just shows people using
    ECHO to output the XML data.

  • Help with Quiz pages and buttons (please)

    We use Captivate 6 with a subscription. I have put together a couple of modules with question pools, and some with just a few questions pages inserted. The last time I created a new captivate project, I put inserted quiz pages and the buttons were different then they had been before. The first few times they were grey, now they are green and a bit smaller. Looking at the proporties for each page and button, I cannot see anything that is different othe than one is a text button and the other is a transparent button. Both buttons are marked as default quiz button style. I don't use any themes. To make this short, I would like to know if there is a way to make the buttons the same every time I add a page, or a pool? I am not yet up to designing my own buttons, but probably will here shortly. Right now I need to get some training modules completed as quickly as possible so I don't have the time to reinvent the wheel (so to speak). The only other thing that I noticed was different in the projects was that in the skin editor one uses one called [default](modifired) and the other one uses one that I created. HOWEVER, I have another one that uses my custome skin and the buttons are grey on that one which is the same as the default one. I don't think the skin has anything to do with the button look. Correct me gently if I am wrong on this.
    Thanks for the help.

    Just one remark: in CP6 you always use a theme. And quiz slides have their own master slides, that will always be used. The buttons take on the style you see on those master slides, and this style can also be found in the object style manager. Skin and object styles are part of the theme. Probably you have overridden some of the styles defined?
    Lilybiri

  • Help with iPod alarm and playlist, please

    Hello friendly iPod people...
    I am the happy owner of a brand new 20GB iPod with color display. I use the iPod for different things, and one of them is to listen to music as I go to bed (with a set of powered speakers). Since I now have a new version of the iPod (I am replacing a 2G unit), I would like to use the alarm setting to wake to music as well. I tried it this morning, and it seems that the iPod will not wake from sleep to play music. The alarm/playlist will start if the iPod has not gone to sleep, but to me that seems like a silly way for the alarm to function.
    Am I doing something wrong, or is this one of the limitations of the alarm function?
    Thanks in advance for your help!
    Michael

    Great News!
    I've figured out the reason it wasn't working and was able to "wake to music" this morning:
    Yes, you need to run "Sleep Timer" as the shut-down method in order for the Alarm to awaken with a playlist, AND the playlist needs to be at least as long as the sleep timer setting--many of mine were slightly less than 60 minutes, and I was using the 60 minute timer. Last night I tried a playlist that was much longer than 60 minutes for sure, ran the sleep timer and set the alarm to music at 6 am. Imagine my surprise when my music began playing softly playing, just as planned, at 6 am!!!!
    So, thanks for all your supportive comments, and I hope this helps anyone else who was working on this. I now know to pay more attention to the length of my playlists.
    Cheers,
    Michael

  • Alright I give! I need some help with groups/busses and more please..

    Hi all,
    Well, its now been a few weeks of my off and on testing with my new Logic Rig, I have every plug I can transfer over to UB that I can and now am trying to get deeper into things.
    First I struggled with learning the environment (I still dont get it fully) but now I am really confused about group and fx tracks.
    - Am I missing something or is everything just a buss turned into a group? This also included creating an FX track?
    If this is the case then its not nearly as complex as I think it is but I cant figure certain things out with the way logic handles naming in regards to its busses.
    Lets say I want to create a sidechain group. I take an audio track change it to represent buss (1), I then rename buss 1 to SC-GROUP, now any window that I drop down to find the newly names SC-GROUP always remains named as buss (1). This even happens when I rename the buss direct from the audio environment.
    I must be missing something, whats been confusing the heck out of me is that no matter how I try and name things they always remain their original names in any menues as the example of the buss (1), so how do I rename these channels so I can clearly know exactly where I am routing audio?
    So lets summarise where I am lost so far hehe.
    1. Are groups really just empty busses renamed to act as a group?
    2. How can I rename a buss/group and be able to see the renamed channel in the menues.
    and for the 3rd new question of sorts...
    3. FX Sends, again is this just a buss that has an AU inserted into its channel and then rout the insert of an additional audio channel to the buss with the FX inserted?
    and now my last uestion of the day if I have not confused you to death so far
    Why is it that when I add a AU lets say battery as instrument 1, when I add another in the window and I rerout an instrum,ent track the next AU shows up at the bottom of the list instead of inst. 2?
    If I am not explaining myself clearly enough for any of my examples let me know so I can try to better represent my questions. I am still so new to Logic and still have yet to get the bulk of the simple operations down just yet..
    Thanks again for all your asistance!

    Thank you guys,
    So if I understand right, a sub buss is nothing more than a routing the output of a few channels to a buss to control a few aspects like I had mentioned compressing an entire group of tracks EG: a drum buss (in this situation a drum sub buss?).
    So I will have to reffer to the manual again to read the details on an actual group since it does seem there is a difference EG: the group can actually manipulate the faders of channels routed to the group?
    FX busses seem to be just that, slap an FX info either and AUX channel or a buss and then set the insert of that AUX or buss desired.
    The reason I asked about naming is that lets say I have 6 effects tracks I wish to use lets say as an example AUX1=Short Delay, AUX2=Long Filter Delay, AUX3=Slap Verb, AUX4=Long Verb and so forth.
    When I go to actually use these inserts I need to assume I know exactly what AUX I assigned each effect to, if I could simply rename this AUX track to refference the effect it would make so much more sense then trying to remember what AUX5 was.
    In regards to my last question here is a bit more of a detailed explanation, please bare with me as I am not in front of my computer.
    1. I add battery into Audio Instrument-1
    2. I then configure my environemt to use my AUXs I already have inplace for audio routing.
    3. I then edit the Audio window create the midi for a new multi-instrument.
    4. I come back to the main arrange window and hold-click on the next available audio-instrument and in the instrument window battery will be instrument 1 out of how ever many blanks apear EG:25+
    5. Now I go to add lets say Stylus RMX into the next available mutli audio instrument. I then repeat steps 2,3,4.
    Now when I get to step 4 this time instead of audio instrument 2 from the lint being Stylus it shows up as the last possible instrument in the drop list that appears under audio instrument from hold-click on the audio-instrument track.
    Its just odd, it should be instrument 2, but instead it shows up as the last possible choice.
    Maybe I am doing something wrong, even sometimes when I grab on of batteries midi tracks and create next object I will get a random audio track in there out of no where, or maybe its just a bug with battery.
    Any ideas? If I still am not describing this right, I will post a step by step this eve of exactly the steps I am taking.
    Thanks again, this forum has been very helpful in getting me going with the questions I just cant seem to get around from my Nuendo work flow.
    Cheers!

  • Help with some effects and transitions?

    Hello, i'm trying to do add some transitions to my video. I want to do a intro like this: http://www.youtube.com/watch?v=aBPV0f6c56s
    I have already written the swords, the texts and the central anime minecraft guy with Anime Studio, but i need to do this 3 things:
    1. Am expanding cirle opening
    2. A light/flash as transition between the first animation and the next logo
    (I have another question, but more difficult: I want to do a sun rays effect from an angle)
    All of these effects-transitions are in the youtube video that i linked.
    Can someone help me with one of these questions?
    I have Adobe After Effects and Premiere Pro.
    Thank you for the attention.

    1. Dont know excactly what you want.
    2. Filmflash transition is not default in Premiere. BCC has it for AE.
    If you do not have bcc then look here.
    http://www.youtube.com/watch?v=mIOAqO6Trvw
    3. Sunrays: look for Redgiants Shine plugin.

  • Need help with Flex, BlazeDS and Spring

    I have a configured Flex-Blaze-Spring application. I can call
    a remote method on a Spring bean and pipe its results, (list of
    pojos), to a DataGrid and the grid displays the data. The remote
    object is defined with a <mx:> tag, defining a handler
    function that pipes the result as ArrayCollection to the DataGrid's
    data provider. I now want to perform another call to the remote
    Spring bean, but this time define the remote object in
    ActionScript, and pipe the results to a ArrayCollection variable
    that I can then iterator thru and pick off values from attributes
    of the objects in the ArrayCollection. I can't set access, my
    collection seems to be empty. Here is some code:
    public var gameRO:RemoteObject;
    public var weeksGameList:ArrayCollection;
    public function makePickGrid():void {
    pickPanel.removeAllChildren();
    var pickGrid:Grid = new Grid();
    var gRow:GridRow = new GridRow();
    var gItem:GridItem = new GridItem();
    var cb:CheckBox;
    gameRO = new RemoteObject();
    gameRO.destination = "gameService";
    gameRO.getWeeksGames.addEventListener( ResultEvent.RESULT,
    getWeeksGamesResultHandler );
    gameRO.addEventListener( FaultEvent.FAULT, handleFault );
    gameRO.getWeeksGames( curWeek.selectedItem );
    for each (var game:Object in weeksGameList) {
    cb = new CheckBox();
    cb.label = game.awayTeam;
    gItem.addChild( cb );
    gRow.addChild( gItem );
    pickGrid.addChild( gRow );
    pickPanel.addChild( pickGrid );
    public function
    getWeeksGamesResultHandler(event:ResultEvent):void {
    weeksGameList = event.result as ArrayCollection;
    What am I missing here? Thanks for any help!!
    mik

    Hello
    This is a bit of a wild guess, but looking at the code, is it possibly related to the scope of cb?
    Why not declare it inside the for loop, rather than outside it?

  • Help with no passwords and restore please

    hi can you help   my sons phone was set up by my ex husband which they now split the phone linked to his when cant get his apple id tried system restore but says we need to turn find my iphone of but he done it so we cant log him out or even access icloud tried itunes but wont let me log him out how to i get to do a systmen restore with out this info and turning find my i phone off he cant delete apps add app or take the keypad lock off as it seems all to be blocked help please as my lil one has no memory left or able to add music thanks

    There is no way past activation lock without the credentials used to lock it. Contat your ex.

  • Need help with WinXP 64 and raid please...

    First off let me just say that for the past week or two I've been lurking on this forum while building my first 64 bit pc and I just want to say that all of your advice, suggestions, tips, and workarounds have proven to be invaluable. A sincere, heartfelt thanks to everyone here.   Like many of yours, my build has also been problematic. In fact, I guess I'd have to call it a pain in the ass. I can't imagine having done it without your help by using trial & error, so once again; thanks! Now, on to my ? My plan was to have one PATA 40gb HD to house 2 OS's on 2 partitions; a dual boot with XP and XP64, AND one RAID 0 made up of 2 160gb SATA HD's for everything else (actually the plan was to put the OS's on a Raptor but $$$). Now here's the prob: XP's up and running fine but when I try installing XP64 and it asks for the RAID drivers, it won't take them. It says they're not for a 64 bit OS. ? Am I the only one that thinks that odd? Isn't that the ultimate point of all this? So am I missing something? I d/l'd the 64 bit drivers from NVidia, is there a way to extract RAID drivers from them to a floppy? Also, I'd like both OS's to utilize the same RAID array for programs, storage etc. Is that a problem (my first time installing RAID   )? And if it WILL work, is it going to insist on wiping the drives and starting fresh? I hope not since since I've already got a ton of stuff on there. Anyway, thanks in advance for any and all help you might offer. Keep up the good work. -Glyph

    Thanks for your quick responses. So are you saying that if my OS isn't on the RAID array then I don't need the RAID drivers during setup? That's interesting. It's not how I understood it to be (not to say your wrong though). I'm pretty sure I needed them in WinXP, though it's on a different disc as well. Now that I think about it, maybe I could've waited and installed them through device manager with the same end result? I guess I'll try it and find out. And are there any ideas regarding the 2nd part of my question re data loss? I'd really hate to start from scratch at this point.

  • Help with Apple IDs and iTunes please

    One family member has an iPad2 with one Apple ID that is authorized in iTunes on a Win7 laptop.  That laptop has one Windows user account.  Some apps, books, etc were purchased with that iPad2.
    We recently got a hold of an old iPhone to use as an iPod Touch / super-mini iPad-Mini.  Can I use a separate Apple ID for that iPhone on the same Win7 laptop in the same iTunes as above?  So can iTunes (the program) on one computer be authorized for multiple Apple IDs?  No apps, music, etc need to be shared.
    Thank you! 

    If she doesn't have an iCloud account on her iPhone or iPad now, you can just go to Settings>iCloud and sign in with a different Apple ID to set up the new account, then turn on the data that you want to sync with iCloud.  She can continue to use the same ID for the App and iTunes store; it doesn't need to be the same as the the ID she uses for iCloud.
    If she is already sharing your iCloud account on her devices, you should go to Settings>iCloud on her phone, tap Delete Account (which only deletes the account from her phone, not from iCloud), when prompted choose Keep on My iPhone, then set up a new account by signing back in with a different Apple ID.  Then turn on the data she wants to sync with iCloud, and when prompted, choose Merge to upload her data to the new account.  After doing this on her phone, go to Settings>iCloud on her iPad, tap Delete Account, when prompted choose Delete from my iPad, then sign into the new account just created on her phone using the new ID and turn on her data syncing to sync the iCloud data in the new account to her iPad.  Finally, if you have any merged data in your accounts from sharing the original account, you'll need to go to icloud.com on your computer, sign into each iCloud account separately and delete the data you don't want from each account.

  • Help with itunes transfers and installation, please!!

    Hi All,
    I am currently using my laptop for running itunes. I want to transfer my itunes to my netbook (Samsung NC10). I have already created a DVD backup of my library.
    The way I want my netbook set up is to have the programme files on the C: drive and my data on the D: drive. I have already installed itunes to the netbook, but have not transferred my library over. My questions are:
    What do I do to obtain the setup as described above? I would like to have itunes recognise my library each time I open itunes without having to select a source as it were. Once configured, do I just stick in the backup DVDs into my external drive for copying the tracks over?
    Also, once the above configuration is made, can I assume that all purchases from the iTunes store will be made to the D: drive and not C: drive? If not, how am I able to achieve this.
    Many thanks in advance for your help
    Nafees

    Thanks for your reply Jim.
    OK I thought I had backed them up on icloud, maybe this was not the case and had I known obviously I would of subscribed to match before changing laptops. I did back up my itunes on an external hard drive, however I later discovered that I had not done this correctly.
    I realise that I have lost my entire music collection and I am devasted about this, I posted on here to see if there was any hope!  - being patronised isn't particuarly helpful.
    I don't have my CD's as I gave them all away once ripped.
    Juliette.

  • Help with Flex, Blaze and Cairngorm

    I using Blaze, Flex3 and Cairngorm, I have a simple
    application at the moment, in which I dispatch a Cairngorm event,
    it gets picked up the Command is executed and the Delegate can send
    data to the RemoteObject. I can see in the output that Blaze is
    doing what it is supposed to do and returning what it is supposed
    to return, but the data returned never makes it to the IResponder
    result function. What am I doing wrong? Can post code if
    needed.

    BlazeDS Console is where I am seeing the output. I don't see
    anywhere to attach code so I will put some here, is there any
    particular code you would like to see.
    <cairngorm:ServiceLocator
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:cairngorm="
    http://www.adobe.com/2006/cairngorm">
    <mx:RemoteObject
    id="dataService"
    destination="dataService"
    makeObjectsBindable="true"
    source="com.example.apps.reports.service.DataService"
    showBusyCursor="true">
    </mx:RemoteObject>
    </cairngorm:ServiceLocator>
    GetUserCommand.as
    public class GetUserCommand implements ICommand, IResponder{
    public function execute( event : CairngormEvent ): void{
    var delegate:GetUserDelegate = new GetUserDelegate(this);
    delegate.getUsers();
    public function result( data : Object ) : void{
    Alert.show("We got to a result");
    GetUserDelegate.as
    public class GetUserDelegate{
    public function getUsers():void{
    var call:AsyncToken;
    call = service.getUsers();
    Alert.show("Get users was called");
    }

  • Help with my Library and songs please!

    Ok, I tried to use my Flash Drive to save my music for if my PC ever crashed. Although when I improted my music to my Flash Drive it won't let me play my music on my PC itunes library anymore. When I click on a song to play.. it says something along the lines of this: "We cannot locate this file for use, would you like to relocate it?".
    I have no idea what to do.
    Thanks in advance!

    Can anyone help?

  • Help with Flex based popup windows and data population.

    Hello, I need a bit of help with Flex popups. I have a flex
    application that uses a popup window when you click on a button and
    displays information about the image above the button the user
    clicked. I have about 4 images and I need to be able to display
    information about each of them through the popup window when users
    click on the buttons below the image.
    At this time, I am trying to do this from somewhat of a
    "static" point of view because I do not believe my hosting company
    supports Flex Data services. You will find my code below.
    First File.
    <?xml version="1.0" encoding="utf-8"?>
    <!--Application Initialization -->
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" width="850" height="750"
    cornerRadius="10" borderColor="#000000"
    backgroundGradientColors="[#1b3434, #000000]">
    <!-- Popup-->
    <mx:Script>
    <![CDATA[
    import mx.managers.PopUpManager;
    [Bindable]
    private var win:IMSAI;
    private function init():void{}
    private function createPopup():void{
    win=IMSAI(PopUpManager.createPopUp(this,IMSAI,true));
    win.title = 'IMSAI.Net';
    win.x = -500;
    win.y = 0;
    customMove.end();
    customMove.play();
    ]]>
    </mx:Script>
    <mx:Style>
    TitleWindow {
    borderStyle:solid;
    borderThickness:2;
    </mx:Style>
    <mx:Parallel id="customMove" target="{win}">
    <mx:Move duration="2000" xTo="{(stage.width - win.width)
    / 2}" yTo="{(stage.height - win.height) / 2}" />
    <mx:WipeDown duration="2000" />
    </mx:Parallel>
    This is the code to trigger the popup when a user clicks on
    the button. The code below is the code for the popup.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TitleWindow xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="vertical" creationComplete="init()"
    close="PopUpManager.removePopUp(this)"
    showCloseButton="true" alpha=".8"
    headerColors="[#000000,#1F3F62]" color="#FFFFFF"
    minHeight="200" minWidth="300"
    backgroundColor="#000000" title="IMSAI.net" width="520"
    height="394" verticalAlign="middle" horizontalAlign="center">
    <mx:Script>
    <![CDATA[
    import mx.managers.PopUpManager;
    private function init():void{}
    ]]>
    </mx:Script>
    <mx:Canvas width="470" height="338">
    <mx:Image x="10" y="10" width="140" height="103">
    <mx:source>file:///C|/ColdFusion8/wwwroot/IMSAI/Web-App/Site_Images/IMSAI
    Final Movie.swf</mx:source>
    </mx:Image>
    <mx:Text x="10" y="121" text="Description:" width="75"
    height="25" fontWeight="bold" color="#ff0000"/>
    <mx:Text x="158" y="10" text="Client:" width="52"
    height="28" fontWeight="bold" color="#ff0000"/>
    <mx:Text x="196" y="10" text="IMSAI Microcomputers
    &amp; Fischer-Freitas Company" width="252" height="39"/>
    <mx:Text x="159" y="46" text="Industry:"
    fontWeight="bold" color="#ff0000"/>
    <mx:Text x="216" y="46" text="Computer &amp;
    Microcontroller Manufacturing." width="232" height="35"/>
    <mx:Text x="83" y="121" text="IMSAI.net is the front-end
    web application for IMSAI Computer " width="355"/>
    <mx:Text x="10" y="136" text="manufacturing, customer
    support, and order processing. Driven by a Microsoft database
    back-end, this application includes rich flash forms, site search
    capabilities, and flash content. Currently under phase II of a
    three phase development plan, the e-commerce logic and processing
    capabilities are under development. Once finished, this application
    will be able to process orders provide customers with instant order
    confirmation numbers, shipment dates, and payment processing."
    width="428"/>
    <mx:Text x="10" y="244" text="Technologies:"
    fontWeight="bold" color="#ff0000"/>
    <mx:Image x="100" y="244" width="50" height="50">
    <mx:source>file:///C|/ColdFusion8/wwwroot/Sapphire
    Development/content/cf8icon.jpg</mx:source>
    </mx:Image>
    <mx:Image x="244" y="244" width="50" height="50">
    <mx:source>file:///C|/ColdFusion8/wwwroot/Sapphire
    Development/content/flashlogo.jpg</mx:source>
    </mx:Image>
    <mx:Text x="53" y="290" text="Coldfusion 8 Enterprise"
    height="30"/>
    <mx:Text x="230" y="290" text="Adobe Flash 8"/>
    </mx:Canvas>
    What I want to do is either be able to create a popup file
    for each button and photo, or find a way to pass a name like a
    button ID that corresponds to a XML data structure and then
    provides the appropriate data for the photo. I have tried altering
    the first page of code with the "public" declaration to allow for a
    second popup file for each button and image, but the IDE won't
    allow me to do such because it creates errors stating I can only
    have one public declaration of the kind and function above per
    application. Help resolving this would be greatly appreciated.
    Thank you.

    I have an idea of what I want to do. I am just having
    difficulty articulating how to go about such. I know I want to find
    a way so that if a user clicks on button 1, button 1 will send some
    kind of variable. For example, a user clicks Btn1 under a picture.
    Btn1 sends some kind of variable or binding to a data structure
    which returns the picture's description, price, etc. and calls the
    popup to display that data in a form like manner. Then the user
    click Btn2 which does the same thing. The only purpose of the popup
    is to display the data.
    Do I create a data structure with a related name to say a
    button name so when the btn is clicked, the a variable title btn1
    will prepend itself to the data structure like
    {btn1.imagename}
    {btn1.price}
    {btn1.description}.
    I want each btn to call a different set of data about each
    picture because right now, the code I have is allowing me multiple
    buttons, but is just displays the popup. Is there a way to create a
    separate popup window for each button? Thats seems as though it
    would be easier. Thank you for your help.

  • Need help with Blog, Wiki and Gallery

    Hi Team,
    Need help with Blog, Wiki and Gallery startup. I have newly started visiting forums and quite interested to contribute towards these areas also.
    Please help.
    Thanks,
    Santosh Singh
    Santosh Singh

    Hello Santhosh,
    Blog is for Microsoft employees only. However, you can contribute towards WIKI and GALLERY using the below links.
    http://social.technet.microsoft.com/wiki/
    http://gallery.technet.microsoft.com/

Maybe you are looking for

  • Trouble with session variables

    Hello, I am a user of cf for a number of years, but only lately as of last week have I had the opportunity to work with CF 8.... wow the changes are quite intimidating. But none the less press on is my thought, so now my trouble. Thing I did was to s

  • Iphone 6 charging problem

    help! I get a new iphone6 and it can be charged by using a charging adapter. However,it can not be charged when connected to my computer usb hub. Indeed,it shows that the device is in charge but the amount of power does not increase.(I use the same u

  • Fixing the homepage of the store

    Where the heck is the window for new songs based on what I've downloaded? I dont give a fableep about staff favorites or what's exclusively on Itunes, I'm more interested in having a panel that shows me the songs I! MEMEMEME! as the customer would be

  • Problems with "font-weight"

    Hello, I am changing the "font-weight" in Dreamweaver CS3 using the Arial font by: .style1 {           color: #bcbcbc;           font-size: 16px;           font-weight: 100;           font-family: Arial; The font weight is changing in Dreamweaver but

  • Is it a big problem?

    os: windows 2000 oracle: oracle9.0.0.1 db connection: oracle provider for ole db i develop an app using vb6.o and ado 2.6. when i get recordset using the table alias. for example, the sql will be "select a.empno,b.empname,a.remarks from emp_info a,em