AS3 stop() doesn't work when saved to a USB drive

Demonstarting basic AS3 to my Flash class tonight I discovered a strange anomoly. I created a scene with multiple frames and added a stop(); action on the first frame. Simple! But when i save the fla file to a USB drive and test the movie or even publish it to an exe, the stop command no longer functions. Save the fla to the hard drive and test/publish, it works fine. I tried this on multiple computers using CS4 with different USB drives and even different fla files created from scratch. The problem is consistent. gotoAndStop( ) also ceases functioning when the fla file is saved to the USB drive and then tested/published. Any ideas as to the difference? (BTW, I also tried to do it with AS2 and the stop() command functions correctly on both the USB and hard drive). Anybody else encounter this strange behavior?

I confirm what dmennenoh says cause I also work on a network drive and never had problems compiling SWFs. However I tried to an external USB drive and in fact it seems that any AS3 code is simply not included in the file therefore it cannot work!
Doesn't seem to be a security issue but some kind of bug from Adobe...
Correction:
Sorry, tested to USB drive with an "already faulty" file. It works fine either external USB drive or pen drive!
Can it be OS related?! I'm using Flash CS4 on Vista.
(note: The file I tested has external classes, imports some xml and images but has no play and stop actions)

Similar Messages

  • "stop" inside AS 2 Frame doesn't work when loaded inside AS 3 swf

    Hi
    Please help!!!!!!
    I have a flash code where i am loading an AS 2 SWF inside AS 3. The thing is if i put the AS 2 SWF on same domain its working fine but if i put AS 2 SWF on different domain it loads the SWF properly but the "stop()" written inside the AS 2 frame doesnt work... and it keeps on playing all the frames continuously...
    Here is the loading code..
    var context:LoaderContext = new LoaderContext();
    if(Security.sandboxType == Security.REMOTE)
    { context.securityDomain = SecurityDomain.currentDomain };
    var objLoader:Loader = new Loader();
    var mRequest:URLRequest = new URLRequest("SomeURL.swf");
    objLoader.contentLoaderInfo.addEventListener(Event .COMPLETE, onSWFLoadComplete);
    objLoader.load(mRequest, context);
    function onSWFLoadComplete(e:Event):void
    var oLoaderInfo:LoaderInfo = LoaderInfo(e.target);
    var mcChild = oLoaderInfo.content;
    mcChild.addEventListener(MouseEvent.ROLL_OVER, onMouseOverLoader);
    mcChild.addEventListener(MouseEvent.CLICK, onMouseClickLoader);
    addChild(mcChild);
    Have tried
    System.security.allowDomain ("*");
    Thanks for the help

    Hi,
    Actualy the "stop();" will only work when you don't use external as3 file, instead shift all your file code into frame code and remove the class name.
    this is the only way i found out while developing the application.
    What i think is there must be some class which we have to include to use the "stop" in the main scene fram.

  • My speaker doesn't work when I try to listen to music or open up a quick time file, however they seem to work perfectly when I listen to a voice memo (p.s. the volume slider disappears in a song page and even in the multi tasking bar)

    my speaker doesn't work when I try to listen to music or open up a quick time file, however they seem to work perfectly when I listen to a voice memo (p.s. the volume slider disappears in a song page and even in the multi tasking bar)

    Thanks for your solution, it wasn't quite what solved the problem but i remembered that i had a bit of salt water on my phone recently and spraying the charging port with an anti-oxide spray solved my problem, do you mind if i ask, how is the charging port related with the volume or/and speakers?

  • BitmapData draw method doesn't work when the project is published as the .swf file of the web applic

    Hi,
            I am totally confused by this strange error. When I tried using the draw method of BitmapData to draw a movieclip symbol of my project, it seems to work fine locally. However, as I uploaded the published .swf file to my web server and launched it as the plugin of my web application, it failed. The source codes as follows,
    function printscreenClicked():void
         //ExternalInterface.call calls a javascript function to print message1
        var bd:BitmapData = new BitmapData(stage.width,stage.height);
        //ExternalInterface.call calls a javascript function to print message2
      bd.draw(stage);
        //ExternalInterface.call calls a javascript function to print message3
    message3 didn't show at all. Instead, the browser console shows "Uncaught Error: Error calling method on NPObject.". My understanding of this error message is that the .swf is calling something crashing, and I believe that bd.draw(stage)is the crashng method call.
    Also, here is my html embed tag:
        <embed src="/tests/videoplayer.swf" id="flash" quality="high" height="510" width="990" scale="exactfit" name="squambido" align="middle" allowscriptaccess="always" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" style="margin: 0px auto;clear:both;position:relative;"/>
    Can someone help me?

    Thank you for your reply.
    I tried stageWidth and stageHeight, but it still doesn't work.
    The draw() methid is triggered when I clicked a screenshot button in my application as follows,
    ExternalInterface.addCallback("printscreenClicked", printscreenClicked);
    function printscreenClicked():void
         //ExternalInterface.call calls a javascript function to print message1
        var bd:BitmapData = new BitmapData(stage.width,stage.height);
        //ExternalInterface.call calls a javascript function to print message2
      bd.draw(stage);
        //ExternalInterface.call calls a javascript function to print message3
    Would you please give me an example of "waiting for Event.RESIZE is good, or just at least Event.ENTER_FRAME"?
    My real purpose in this application is to capture a snapshot of a streaming video. The video is contained in a movieclip object. I tried stage first since BirmapData.draw() doesn't work when drawing the movieclip on the web site. Do you have any suggestion for this situation? Also, is there any good method to find out what happened if the browser have "Uncaught Error: Error calling method on NPObject."?

  • I have different account ID's with my iphone and computer. I would like to standardise both to just the one. One of the ID's doesn't work, when I tried to list the second email with the preferred one a message telling me that this email is already in

    I have different account ID's with my iphone and computer.
    I would like to standardize both to just the one.
    One of the ID's doesn't work, when I tried to list this second email with the preferred one a message telling me that this email is already in use pops up.. yes it is, with me??
    Is there an easy to fix this please, Fabfitz

    If the email address you want to use is being used as the primary email address on a different ID you have to manage that ID and change it to a different primary email address.  This explains how: Change your Apple ID - Apple Support.
    If it is being used as an alternate or rescue address on a different ID, you manage the ID and either remove it or change it to a different email address.  This explains how: Manage your Apple ID primary, rescue, alternate, and notification email addresses - Apple Support.

  • I have Adobe Acrobat 9.5.4 installed on my computer and it doesn't work when PDFing

    I have Adobe Acrobat 9.5.4 installed on my computer and it doesn't work when PDFing my document using Microft Word 2010. I have tried using the tab add-in, but it doesn't respond either. The only way to convert my document is to save it as a .pdf from the save as drop down box. I need to be able to have the full functionability of creating a PDF document with the tabs and links working.
    Please help!

    From OFFICE 2010 you either have to have AA X or just print to the Adobe PDF printer. You give no information on your operating system or specifically what you mean by PDFing -- there are multiple ways to create a PDF from a WORD document and you have given no information. However, in this case your only choice is to print to the Adobe PDF printer. Otherwise, you need to upgrade Acrobat.

  • [Photoshop CC 2014] Click&hold-move-release doesn't work when adding adjustment layer from the layer panel

    When selecting a menu item I used to click the left mouse button and hold it down, move the pointer to the desired menu item and release the mouse button. Everything works fine in the mine menu, but there's a problem when adding new adjustment layer from the layer panel: when I release the button nothing happens, I have to press the button again. In previous PS version it worked fine. How can I fix this?

    I don't think that is user fixable, meaning you'll have to wait till adobe fixes it with an update.
    Photoshop cc 2014
    windows does not work
    mac does work
    Did you already post over here:
    [Photoshop CC 2014] Click&hold-move-release doesn't work when adding adjustment layer from the layer panel

  • TS1398 The internet on my Iphone 4 doesn't work when I use the Wifi

    The internet on my Iphone 4 doesn't work when I use the Wifi at home. My Mac works fine. On the Iphone it shows it's connected but it doesn't open any app. Anyone knows what to do? Thanks

    Ÿ. If you tap and hold the "Y" does it appear? If so, just slide your finger up to select.

  • It doesn't work when I press "transfer purchased items from ipod" and I don't know specidicly whitch item I need to transfer

    It doesn't work when I press "transfer purchased items from ipod" and I don't know specidicly whitch item I need to transfer.
    Whenever i press "transfer purchased items from ipod", itunes sync's for about 3 seconds, but I still can't install updates on the ipod without itues warning me about purchased items on the ipod, that aren't in the itunes library. I've tried folowing the steps in itunes help, but I can only find a step guide for when you know the specific item that needs transferring, and I donøt know that specific item.

    This Apple Tech Note explains the process:
    http://support.apple.com/kb/ht1848
    It will transfer all purchased items that the computer you are transferring to is authorised to play: you don't have to select the items.

  • I have recently upgraded to iPhone 5 from 4, call line identity doesn't work when call other iPhones.  It works when calling any other brand of cell phone.  Network carrier assures me problem is not on there side.  Any assistance will be appreciated.

    I have recently upgraded to iPhone 5 from 4, call line identity doesn't work when call other iPhones.  It works when calling any other brand of cell phone.  Network carrier assures me problem is not on there side.  Any assistance will be appreciated.

    I have recently upgraded to iPhone 5 from 4, call line identity doesn't work when call other iPhones.  It works when calling any other brand of cell phone.  Network carrier assures me problem is not on there side.  Any assistance will be appreciated.

  • Imessage doesn't work when i connect to my wifi only works on mobile date how do i fix this?

    Imessage doesn't work when i connect to my wifi only works on mobile date how do i fix this?

    1. Did you use Bootcamp Assistant?
    2. Did you build a USB with Windows 7 ISO and Bootcamp drivers?
    3. You should use a USB2.0 disk, not a USB3.0 disk (flash drive).
    4. What year is the Retina MBP?

  • My iPad takes hours to charge even when I turn it off I have bought like 6 chargers and my iPads been sent back twice and it still doesn't work when I'm charging it

    My iPad takes hours to charge even when I turn it off I have bought like 6 chargers and my iPads been sent back twice and it still doesn't work when I'm charging it what do I do ??

    I am also having the same problem.. Its too much annoying and its unfortunate nobody at apple support has anyclue of what is happening?
    ... This is happening almost most of the time keeping my phone down most of the times.

  • How do I delete items in my calendar when it doesn't work when I hover them over the trash can?

    How do I delete items in my calendar when it doesn't work when I hover them over the trash can?

    There are several ways
         - Selecting the event and hitting the "delete" key on your keyboard (as Wayne Contello said)
         - Selecting the event and opening the "edit" dropdown menubar item, and then selecting "delete"
         - Selecting the event and right clicking, then selecting "cut" (this option puts the event on your clipboard)

  • Collapse action doesn't work when several hierarchical columns in a report

    Hello everyone!
    I have an analysis which contains 6 hierarchical columns. And the problem is that for the 5th and 6th columns collapse doesn't work. I can easily expand the column, but I can't collapse it back. The first four columns are collapsing fine. Is there a bug which describes this?
    I'm using OBIEE 11.1.1.6.7. Tried to check this issue in Mozilla and IE - collapse didn't work in neither of them.

    It doesn't work here either. After checking the italicized bit below, I see that it doesn't work when called by an application either. It looks like a bug.
    Here's the fix I found here. Put it in the automator action "run Applescript"
    http://bbs.applescript.net/viewtopic.php?id=15292
    on run {input, parameters}
    --Pop Box
    display dialog "Automator hosed me with a bug, so I'm making you wait for 5 secs with delicious Applescript." giving up after 5
    return input
    end run
    The non-working solution :P
    One suggestion - split the workflow into two (or more) parts.
    1. Open Finder Items with Default Application
    2. Ask for Confirmation
    3. Run Workflow
    4. Wait for User Action
    5. Open Finder Items with Specific Application
    Save the first as an app, the second as a workflow.
    BG3, G4QS, G4ALPB   Mac OS X (10.4.3)  

  • OpenSuse Undo/Redo doesn't work when click on web links

    OpenSuse 12.2 Firefox 17 Undo/Redo doesn’t work when click on link . All web pages have some problem. Undo/Redo working for web page "Find" text box. All web pages

    Clear Cookies & Cache
    * https://support.mozilla.com/en-US/kb/Template:clearCookiesCache
    Clear the Network Cache
    * https://support.mozilla.com/en-US/kb/How%20to%20clear%20the%20cache#w_clear-the-cache
    Troubleshooting extensions and themes
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
    Check and tell if its working.

Maybe you are looking for

  • Unfair blocking of my Skype Account

    Yesterday morning I received a fair usage policy violation warning from Skype. Firstly there is no explanation of why was there a policy violation.  My usage of skype has been the same across the last 3 years.  I have an unlimited subscription for ca

  • Creation of technical system and business system

    Hi Guys, Im just a beginner in SAP XI..I would like to know what will be the setup in my SLD . My data will be coming from MS SQL and will transfer it to SAP R/3. Is it true that I need to setup the Technical system , one for my Sender (data coming f

  • Quicktime 10.1 Won't Play

    I'm having an issue with Quicktime Version 10.1 whenever i load a video of anykind MOV. AVI. WMV. whatever it load up just fine, but when i press play it plays then it stops, so i press play again and it stops again the cycle continues i can't seem t

  • Adobe Forms On Portal

    Hi Experts, My requirement is i need to create the interactive adobe form and this adobe form is finally accessed through portal and there are some approval process involved in this scenario. Now my doubt is do i need to create the adobe form through

  • Hidden Acrobat comments exposed through Apple Mail Maver-ick

    Acrobat Pro on Maverick has botched up the capability for me to hide areas of an edited Acrobat document. I created many PDF documents and over the last 5 years.  I will create a rectangle of solid white in the comments tool and a cover selected area