Loop then stop Flash CS3 vs Flash CS5

I recently upgraded from Flash CS3 to CS5. I'm creating a banner in Flash CS5 using ActionScript 2.0. I want it to loop 3 times then stop. I'm using the same code as I did in CS3. When I view it using Flash Player, its fine but my client is saying it loops continuously when they view it. Has the code changed since CS3? Here is the code I'm currently using:
ON FIRST FRAME I ENTERED:
var count;
if(!count){
     count = 0;
 THEN ON THE LAST FRAME I ENTERED:  
count += 1;
if(count == 3){
stop();
I'm Action Script challenged, so please be specific. Thank you in advance for your help.

Hello kglad,
Thanks for confirming that the script was fine. Seems like there was something wrong with the swf file, not the script. Thanks for ruling out the script as the problem source.
Judy

Similar Messages

  • Flash cs3, cs4 and cs5 always not responding in windows7

    I have installed adobe flash cs3, cs4 and cs5 in windows 7, but it is always not responding when I run them. While they are running normally when running on my WindowsXP. I had to reinstall them several times, the result remains the same. Is there any problem in my windows 7 ? can someone help me? thanx.

    Problem is not in your windows 7 OS, since i was working CS4 and now i m working with CS5 in windows 7 only. And i feel more comfort with this new OS. May be you hardware configuration might not be support to new technology like windows 7 and Flash CS5. Beca it is need high hardward configuration

  • Vista: Flash CS3 literally flashes then blanks out toolboxes

    Something very annoying occurs in Flash CS3, and sometimes
    other Adobe products like Photoshop CS3. When pressing down the
    mouse button for a while (i.e. when dragging something), Flash
    suddenly flashes once and blanks out all toolboxes. Hovering over
    the toolboxes makes the items reappear. Minimizing then maximizing
    Flash also works, which makes me wonder if Vista's display drivers
    are the cause. It happens randomly in Photoshop, but in Flash I can
    actually trigger this by holding down the mouse button for a few
    seconds, so
    here's
    a video.
    Very very annoying, having to minimize/maximize your
    application every five minutes. Any ideas?

    I haven't been clicking things fast. It happens when I try to save. It's not random. I've spent a decent amount of time on google and haven't found a solution. There are a lot of results about freezing and crashing, but I haven't found any on freezing due to saving.
    I know it should be fine, but that's what's weird about it. It shouldn't be freezing like this and it's at a point where it's not something I can ignore.

  • Can Flash CS3 open Flash 7.0 or 8.0 template?

    One of our departments is looking to purchase a Flash
    template which instructs you to have Flash 7.0 or 8.0 to edit. Just
    wondering if it will be editable in Flash CS3.
    Thanks

    blondy wrote:
    > One of our departments is looking to purchase a Flash
    template which instructs you to have Flash 7.0 or 8.0 to edit. Just
    wondering if it will be editable in Flash CS3.
    >
    > Thanks
    Yes, no problem.
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Flash CS3 for Flash Player 8

    I have another question now that I have this new information.
    When you open flash, in the list "Create a New File," it gives you
    the option to open a flash file that has ActionScript 2.0. If I
    just created that type of file from the very beginning, would that
    work in Flash Player 8?

    You have to also set your publish settings for that version
    of Flash Player.

  • Has Actionscript 3 changed since Flash CS3?

    maybe it is a strange question?
    I find that sometimes opening a Flash CS3 or Flash CS4 file in Flash CS5 causes the scripts to either fail or I get some strange results.
    I do not have specific examples to mention as it does happen on occasions.
    At the moment, I am doing a project for a University.
    They only run Flash CS3 Flash Player 9, which already leads to issues.
    I use Flash CS5 currently.
    The first time I sent in a draft example, they could not open the file and also they could not play the SWF file, as they only run Flash Player 9. They will not update the Flash Player to 10 as it will affect other ongoing projects in the University.
    I only purchase Master Suites, so I had to reinstall Flash CS4  from the CS4 Master Suite and also Flash CS3 from the Web Premium Suite.
    The Flash CS5 file had to be saved out as Flash CS4. I then had to open the Flash CS4 file and save it for Flash CS3.
    I found on occasions that opening the file in Flash CS3 cause some placement issues of Text and soemtimes, but not always some Actionscript 3 code would cause some errors.
    Has Flash CS5.5 rectified this and added the option to save to Flash CS3 perhaps, this would solve alot of issues.
    Has Actionscript 3 changed since Flash CS3?

    Actionscript 3 has changed since CS3, though what existed in CS3 has not changed.  Newer versions have newer features, so new code was created to support those features.

  • Error publishing Air in Flash CS3

    Hi All
    On the Adobe Air Flash CS3 wiki page
    http://labs.adobe.com/wiki/index.php/AIR:Flash_CS3_Professional_Update:Getting_Started_wit h_AIR_for_Flash_CS3_Professional)
    I found a simlpe tutorial "Creating an Adobe AIR application
    in Flash"
    I thought well this can't be hard can it?
    However when I use the Publish Air File button in the 'AIR -
    Applications and Installer Settings' window I will get the
    following error:
    "namespace is invalid in the application descriptor file"
    Now I have tried to look into the XML file but I cannot see
    any problems.
    I also tried to use the descriptor-template.xml which came
    with the Air - SDK
    However also that will not work.
    Has anyone got an idea why I get this error?

    Hi FragFood!
    I received the same error "Namespace is invalid in the
    application descriptor file" repeatedly on many computers
    (XP/Vista) and here is how i repeatedly worked around it.
    I made a step-by-step sheet explaining exactly how to install
    Flash CS3 (9.0) with the Latest Flash Player (v9.0.124), and with
    Adobe AIR (1.0) as of today (3/May/2008).
    If you have already installed Flash CS3
    Uninstall Flash CS3
    Goto all the "Program Data" folders, RENAME/DELETE the "en"
    folder
    Goto "Program Files" folder, RENAME/DELETE the "en" folder
    Now to get the latest version of Flash CS3 installed!
    Please follow these steps exactly; each one is extremely
    important.
    Installing Adobe Flash CS3
    #1. Install Flash CS3
    #2. Open Flash, Close it
    Installing Adobe AIR Runtime
    #3. Download & Install "AdobeAIRInstaller.exe"
    --->
    Adobe AIR Download Center
    Installing Adobe Flash Player Update for Flash CS3 Professional
    (9.0.2) -- 12/12/2007
    #4. Download & Install "flash9-en_US_9_0_2_Update.exe"
    --->
    English/Windows,
    English/Macintosh,
    Other
    Languages
    Installing Adobe AIR Update for Flash CS3 Professional --
    2/25/2008
    #5. Download & Install "flash9-en_US_9_0_3_Update.exe"
    --->
    English/Windows,
    English/Macintosh,
    Other
    Languages
    Installing Adobe AIR update beta 3 for Flash CS3 Professional
    – Updated 12/14/07
    #6. Download & Install
    "flashcs3_air_extension_p3_en_121407.exe"
    --->
    Multi-lingual/Windows,
    Multi-lingual/Macintosh,
    Other
    Languages
    #7. Open Flash, Close it
    Installing Adobe AIR Update for Flash CS3 Professional --
    2/25/2008
    #8. Install "flash9-en_US_9_0_3_Update.exe" again
    ---> see #5
    #9. Open Flash, Close it
    Installing Adobe Flash Player Update for Flash CS3 Professional
    -- 04/17/2008
    #10. Browse to "C:\Program Files\Adobe\Adobe Flash CS3",
    DELETE the "Players" folder
    #11. Download "flash_player_update6_flash9.zip"
    --->
    Multi-lingual/Windows/Macintosh
    #12. Copy the "Players" folder from
    "flash_player_update6_flash9.zip"
    #13. Paste into "C:\Program Files\Adobe\Adobe Flash CS3"
    To test your Flash Player installation... (Optional)
    Open Flash
    Create New > Flash File (AS 3)
    File > Publish Settings
    Checkmark "Windows Projector .exe", OK
    File > Save, Save it someplace with any name
    File > Publish
    Now browse to the folder you saved the FLA File
    Look at your EXE File
    You should see a "Red colored square" icon instead of the
    usual "Blue colored circle" one
    To test your AIR installation... (Optional)
    Open Flash
    Create New > Flash File (AIR)
    Click OK on the message that appears
    File > Save, Save it someplace with any name
    Commands > "AIR - Create AIR file"
    Then on the dialog that appears asking you for a Digital
    Certificate:
    Press Create...
    Type some info, and a password, and save it into the same
    folder you saved the FLA File
    Now type the same password again, Press OK
    If you see an error "Unable to contact timestamping server",
    press "Continue without timestamping"
    You should see a message "AIR File has been created" !!!
    Enjoy Flash CS3 with the Latest Flash Player (v9.0.124), and
    with Adobe AIR (1.0) !!
    Faithfully,
    Robin.

  • Reinstall Flash CS3 for Mac OSX

    Recently had to replace the hard drive on my Mac Book Pro. Data transfer to the new hard drive went well EXCEPT for my attempts to reinstall Flash CS3 and Flash Player (I'm forgetting the name of the latest and greatest version of the media player--forgive my temporary ignorance). I followed all of the procedures outlined in the ReadMe file. Have tried it several times to no avail. I keep getting an error message at the end of the reinstall process and the program will not open. All of the application files appear to be on my hard rive. Something is missing or needs to be repaired. I just don't know where to start to find out what needs to be repaired or replaced or updated. I suspect that because there have been numerous updates to Flash player, something related is interfering with the reinstall process. Any advice help would be appreciated.
    Cheers.

    Mike, thank you very much for your help. Luckily I have found the 
    right Flash version: 10.1.102.64
    Am 05.02.2014 um 20:55 schrieb Mike M:
    Re: flash player for MAC OSX 10.5.8
    created by Mike M in Installing Flash Player - View the full 
    discussion
    Flash Player 10.3.183.90
    >
    That's a zip file containing BOTH Windows and Mac versions.
    You'll find a debug folder and a 10.3.183.90 folder. It's in the 
    latter. It'll be a DMG named 10_3_183_90.dmg.
    >
    Is your Mac Intel or PowerPC?
    Please note that the Adobe Forums do not accept email attachments. 
    If you want to embed a screen image in your message please visit the 
    thread in the forum to embed the image at http://forums.adobe.com/message/6089591#6089591
    Replies to this message go to everyone subscribed to this thread, 
    not directly to the person who posted the message. To post a reply, 
    either reply to this email or visit the message page: [http://forums.adobe.com/message/6089591#6089591
    To unsubscribe from this thread, please visit the message page at [http://forums.adobe.com/message/6089591#6089591
    ]. In the Actions box on the right, click the Stop Email 
    Notifications link.
    Start a new discussion in Installing Flash Player at Adobe Community
    For more information about maintaining your forum email 
    notifications please go to http://forums.adobe.com/thread/416458?tstart=0

  • AS3 - 1) Countdown Timer to the designated Date for Live-Broadcast-Event yet to take place; 2) Detect End of Live Stream on FLVPlayback with FLVPlayback.isLive = true - ActionScript 3 - flash cs3 cs4

    Hi folks,
    Ronny's here again on forums, having particularly 2 (two) questions/problems to resolve:
    1) Countdown Timer to the designated Date for Live-Broadcast-Event yet to take place
    2) Detect End of Live Stream on FLVPlayback with FLVPlayback.isLive = true
    attached is the .zip file (as3_Countdown Timer_ver 1.0.1_by Ronny Depp.zip) with all flash source files containing:
    a) The FLash Source (file: timer_module.fla) - (FLA flash source file - Flash CS3 Professional, Flash Player 9, actionscript 3.0)
    b) com.othenticmedia.utils.dateAndTimeManagement package including 2 .as actionscript 3.0 Class files.
           i) com.othenticmedia.utils.dateAndTimeManagement.DateAndTimeManager Class in the said package. (file: DateAndTimeManager.as)
           ii) com.othenticmedia.utils.dateAndTimeManagement.CountdownTimer Class in the package. (file: CountdownTimer.as)
    c) The compiled SWF file version of this Application's blueprint. (file: timer_module.swf).
    What i need to confirm is: ........................................................ see the next post of mine. (for Problems  need to be Resolved)

    Problems to Resolve:
    Problem#1) - Countdown Timer to the designated Date for Live-Broadcast-Event yet to take place.
    Problem#2) - Detect End of Live Stream on FLVPlayback with FLVPlayback.isLive = true;
    Problem#1 Description:
    I need to pinpoint the Logical TimeSync Exception, i am still unable to figure out. That is I'm using a webservice in my Application to Synchronize the Time with the actual ET (eastern time) with accomodation of auto-adjustment for EDT GMT-4 (eastern daylight time) & EST GMT-5 (eastern standard time), times. I am using the zipcode: "10012" to pass it to the Web Service in urlRequest object, to retrieve the Current ET eastern time according to EDT & EST time settings for Manhattan/Brooklyn areas or others within  New York, NY 10012.
    Currently the Web Service is returning accurate date/time based on local EDT GMT-4 daylight time.
    Is there some defined set of dates for EDT & EST times for New York region that I can check for to ensure the correct Dates/Times for Eastern Time in New York area ??? I am using NY zipcodes because i am sure to get correct ET values.
    The Major Problem Part: is I need to correct the time by 2 seconds or approx. 2 secs, some millisecs.
    When I retrieve the Time Value from WebService, it lags behind for 2 seconds as compared to DateObj i create using computer's local time, on my Windows XP Service Pack 2 with Automatic Updates turned-on. And I'm sure about my Windows will be having latest updates for Time Management already installed. I also added the 2 secs. to the TimeSync(ed) Date to make correction to this Date obj.
    I call my custom fucntion addSeconds(dateObj:Date, secs:int) to add 2 seconds to the Date by Converting Seconds to Milliseconds.
    Please comb through the as code in files attached and Help Me Out !!!
    Problem#2 Description:
    Secondly I need to Detect the End of Stream state while using FLVPlayback component, an rtmp:// live Stream from FLASH MEDIA SERVER.
    I need to Play a YuMe Post-Roll Ad when Steam Finishes/Ends.
    Live Broadcast Stream Event starts every night on Wednesdays & Saturdays exactly  at 10:59 PM EDT GMT-4.
    Live Events only Streams/Broadcasts the stream for 50secs. exactly. When [playback stopped] it plays a PostRoll Ad and after the CountdownTimer again comes back to life. The Next upcoming Event is calculated & the Countdown begins until Next Event's time/date is reached.
    Here is the  code on the frame 1 on the MainTimeline: (rest of the params like source, volume, skinAutoHide are Set using Property Inspector for FLVPlayback instance on Stage)
    //myStream instance of FLVPlayback is on the Stage
    myStream.isLive = true;// Frame 1 Actions in the FLA
    myStream.addEventListener(VideoEvent.COMPLETE, onEndOfStream);
    myStream.addEventListener(VideoEvent.STATE_CHANGE, onState);
    myStream.addEventListener(String(VideoError.NO_CONNECTION), onStreamError);
    myStream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
    /*if(myStream.stopped){
         trace("tracy: "+myStream.state);
    } else if(myStream.state == VideoState.STOPPED){
         trace("tracy: "+myStream.state);
    function onStreamError(event:VideoError) {
         trace(event.code + "\n\t" + event);
    function onState(event:VideoEvent) {
         trace(event.state + "\n\t" + event.toString());
    function onEndOfStream(event:VideoEvent) {
         trace(event.state + "\n\t" + event.toString());
    function netStatusHandler(event:NetStatusEvent):void {
         switch (event.info.code) {
              case "NetConnection.Connect.Success":
                   //connectStream();
                   break;
              case "NetStream.Play.StreamNotFound":
                   trace("Stream not found: "/* + myStream.source*/);
                   break;

  • Flash CS3 ActionScript and "Test Movie" on Mac

    I recently switched over to a PowerMac and Flash CS3 from
    Flash 8 on a PC.
    I've been on a PC forever but wanted to migrate over to the
    Mac as XP and Vista and the headaches we all know about.
    So, within Flash you can "Test Movie" and a little test
    window pops up displaying your swf.
    It has always been the case on the PC, and my friends with
    Flash 8 on the Mac tell me it's the same for them, that you can be
    writing in the Actions panel and then hit "Control/Apple - Enter"
    and the ActionScript actions you just typed will be reflected in
    the "Test Movie" pop up. In other words it the "Test Movie" window
    acts as a constantly updated reflection of the latest edit to your
    Flash piece, regardless of whether you've "Saved" the .fla document
    itself.
    This is part of the normal work flow to me. Write some
    actions, edit them, when they are right, I save. But in the
    meantime, as I'm writing I can keep hitting "Control/Apple - Enter"
    to watch the changes of my edits and I'll see them.
    Well, on my new Mac with Flash CS3, the "Test Movie" window
    never updates to the latest edit. Whether with hot-keys or with the
    cursor/menu selection, the window will not reflect the latest edit,
    UNLESS, I close it first. If I close it, and then hit the
    hot-keys/menu for "Test Movie" then it will load my latest edit
    (regardless of whether the .fla is saved). So it seems that closing
    the pop up "Test Movie" window prior to is the only way to ensure
    getting the current edit/actions to preview.
    If you write a lot of actions script, then I'm sure you can
    agree that adding that "close the window" step into your work flow
    is really really a headache. And, if I can't find a way around
    that, sadly, I'll have to migrate back to the PC, ugh, and Flash
    CS3 on it, which still acts as it always has, with "control-enter"
    faithfully launching the current edit.
    Any ideas? Have you experienced this.

    You have to switch the focus back to the application and then
    to the test window. Evidently between Flash MX04 (the one I have to
    test) and CS3, they made it so that just clicking in the AS editor
    window doesn't return the focus to the application. In that case
    the Testing Environment intercepts the apple-enter and just
    re-tests the already compiled version.
    If you click the application window, then click the
    actionscript window, it will recompile the swf. However I
    personally don't find apple-w to close the window so
    onerous.

  • Problem in displaying Arabic text in flash cs3/cs4

    Hi All, I'm creating one website. I have to display dynamic xmlize arabic text in flash. I have done it using flash cs3/AS3. But problem is that when text displays in flash it is not rendering as expected. Some gaps comes in the characters. But when I open my xml in browser, arabic text displays correct.
    Is there any way to do it in flash cs3 or Flash cs4 using player 9? It would be really great if anyone can give me solution on this. Thanks
    Chandrakant

    You have to do it yourself -  I don't have a ready solution. Just look into documentation how StyleSheets are used and see what properties work best for you:
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/StyleSheet.html
    Also, with embedded fonts you need to play with TextFormat settings and AntiAliasType
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/AntiAliasType.html
    In addition, on my machine even if I don't emebed fonts - Arabic works in Arial, TImes and others.

  • How do I update Java for Adobe Flash CS3?

    Hi,
    When I ran Secunia Software Inspector today it told me that
    the version of Java I have installed on my computer is out of date.
    It tells me that it is finding 3 out-of-date files:
    Once here:
    C:\Program Files\Java\jre1.6.0_04\bin\java.exe
    Twice here:
    C:\Windows\System32\java.exe
    and three times here:
    C:\Program Files\Adobe\Adobe Flash CS3\JVM\bin\java.exe
    I updated Java via the Sun website and consequently the first
    and second warnings disappeared when I reran the Software
    Inspector.
    The software inspector however is still finding an
    out-of-date Java version here:
    C:\Program Files\Adobe\Adobe Flash CS3\JVM\bin\java.exe
    Question is: How do I update Java for Adobe Flash CS3?
    Is it adequate to copy the updated file "java.exe" from
    "C:\Program Files\Java\jre1.6.0_04\bin\" to "C:\Program
    Files\Adobe\Adobe Flash CS3\JVM\bin\" or do I need to do anything
    else?
    Any help will be much appreciated.

    Hi
    I have the same problem of you, and the same dont find a
    solution. Me it's Kaspersky Anti Virus (AV) which find this
    problem.
    So (and I dont know if this solution is perfect), but I open
    Flash CS3 with the Java update choiced and apparently Flash
    fonctionnely well and Kaspersky dont find this
    prob now. But I dont never use Java in Flash (or without that
    I know that..), and same, I dont know at what Java is used in Flash
    I think that "JRE v 1.6.0_04" and more recent Java version is
    not good, because it's not quite the same Java application that in
    Flash CS3, In Flash CS3 it's "J2RE" and
    not "JRE".
    The history of all Java versions (and this) is here (
    http://java.sun.com/products/archive/)
    (but in all this versions... seriousely it's a true shambles !)
    If you want the last version for J2RE in this archives it's v
    1.4.2.18 but the last version is J2RE 1.4.2.19 but dont again in
    this archives
    (search on Java site, maybe first page ? I dont remember
    where I to find it...). But the problem... it's that this last
    version (19) is always detected bad by my AV...
    So I decide to use just the next version (v 1.5) and last
    version in this series (in archives site) which is the "JDK/JRE -
    5.0 v 5.0.16" but again named "Java 2 Platform
    Standard Edition (J2SE) 5.0 Update 16" in this dowload next
    archives page
    http://java.sun.com/products/archive/j2se/5.0_16/index.html),
    so well again named "Java 2" in this page (that which dont
    the case for the equivalent same download page for Java 6...)
    (Choice "JRE 5.0 Update 16" in this page)
    For instal "JRE 5.0 Update 16":
    1) Supp all files and folders in "JVM" (Java Virtual Machine)
    folder in Flash CS3 (but dont supp this folder, empty now) and save
    this contents in archive in you have
    affraid.
    2) dl "JRE 5.0 Update 16", directly in this page if you want:
    (https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/View ProductDetail-Start?ProductRef=jre-1.5.0_16-oth-JPR@CDS-CDS_Dev
    eloper)
    3) In install, choice "personal instal" (or +/- the same
    terms) and choice the "JVM" folder of you Flash CS3
    and AV dont detect this version same a bad file

  • Import Swf file corrupts in Flash CS3

    Hi,
    I have recorded my desktop activity in "My Screen Recorder
    Pro" and export the movie as swf file. While playing it on Flash
    player 9, I found NO problem at all but when I import it into Flash
    CS3 (or Flash 8) to embed with my project the file get corrupted
    and I could see black solids squares in between. How do I get clean
    swf file which is just fine when playing in Flash player?
    Raju Sachania

    Probably because you used _root within your scrollbar code.
    If that's the
    case you can fix by setting lockroot to true, within your
    scroll bar swf.
    Just place a this._lockroot = true; as the first line in
    frame 1's code.
    That being said, it's better to simply avoid using _root.
    Dave -
    www.offroadfire.com
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Problems With List Component Flash Cs3

    Hello Friends,
    I am working in Flash Cs3.
    I am having a List component in my application.
    I added 10 items into my list component. Now out of those 10 items, i want to disable particular list items like Item 4, Item 8, Item 9. How to do this using flash cs3 or flash 8.0.
    Item1   --  Enabled state
    Item2   --  Enabled state
    Item3   --  Enabled state
    Item4   --  Disabled state
    Item5   --  Enabled state
    Item6   --  Enabled state
    Item7   --  Enabled state
    Item8   --  Disabled state
    Item9   --  Disabled state
    Item10 --  Enabled state
    Any suggestions/ideas would be really appreciated.
    Regards,
    Rajesh

    Hello Friends,
    I got a partial solution for this. Now i can able to disable a particular list item using flash cs3. I achived this. But it was happening only after clicking the item values....
    But i need in a diff way like, as soon as you run the flash file it has to disable. how is this possible in flash cs3.
    this is the code :
        import fl.controls.List;
        import fl.controls.listClasses.CellRenderer;
        import fl.controls.listClasses.ListData;
        import fl.events.ListEvent;
        import flash.display.Sprite;
        import flash.events.Event;
        import flash.text.TextField;
            var sampleItem1:Object = { label:"John Alpha" };
            var sampleItem2:Object = { label:"Mary Bravo" };
            var sampleItem3:Object = { label:"Trevor Gamma" };
            var sampleItem4:Object = { label:"Susan Delta" };       
            var myList:List;
            var tf:TextField;
      ListDataExample()
             function ListDataExample() {
                createList();
                tf = new TextField();
                tf.x = 10;
                tf.y = 125;
                addChild(tf);
             function createList():void {
                myList = new List();
                myList.move(10,10);
                myList.addItem(sampleItem1);
                myList.addItem(sampleItem2);
                myList.addItem(sampleItem3);
                myList.addItem(sampleItem4);
                myList.rowCount = 4;
                myList.addEventListener(ListEvent.ITEM_CLICK,listItemSelected);
                addChild(myList);
             function listItemSelected(e:ListEvent):void {
                var cr:CellRenderer = myList.itemToCellRenderer(e.item) as CellRenderer;
                var listData:ListData = cr.listData;
       if(cr.listData.row == 2) {
        cr.enabled  = false
                tf.text = "Row selected: " + listData.row;
    waiting for your replies.
    Regards,
    Rajesh

  • Project created in Flash CS3 & Flash CS5 crashes both Safari & Firefox

    I have a user with a brand new image including Snow Leopard 10.6.6 and the Adobe CS5.  When creating a project in Flash CS5 and then trying to view it in Safari & Firefox the plug-in crashes which then brings down the browser with it.  I went and installed Flash CS3 (as this is what he is used to using) and the problem still persists.
    Any ideas?

    anyone?

Maybe you are looking for

  • No longer safe to remove iPod after updating (synching)

    I'm using iTunes 7 on XP Pro. AMD Athlon 64. 4G 60-gig iPod (color). "Enable Disk Use" is NOT checked, but my iPod now shows up as a Removable Disk in XP. And after synching, iTunes says "iPod update is complete" but no longer tells me it's safe to r

  • ShowModalDialogue displays status bar when not told to

    Hi I am using the below code to display message box to the user var sOptions="dialogHeight:150px; dialogLeft:200px; dialogWidth:500px; help:no; scroll:no; status:no;"; var intRet = theApplication().ShowModalDialog("MsgBox_orig.htm", arr, sOptions); E

  • Event programming (continuous run)

    I'm developing an application that runs continuously, and has three buttons, corresponding to three different actions. I have used an event structure, and defined different cases, to be executed when the button values change. The problem is that whil

  • Output javascript in struts perform()

    I would like to output javascript in struts perform() like in servlet.           But I failed to get the message, could you any one give me some ideas?           ==========================================================           public class LoginA

  • Getting a used iPhone with AT&T

    I am planning on getting a used 2G iPhone. I currently have an account with AT&T, and I have a SIM card with them. I don't have any of the required data plans, and I heard that you couldn't just slip in your SIM card, so my question is if I put my SI