Flash file breaks when moved to PC

I created several flash files on a Mac using Flash CS3 and then recently moved them to my PC. I tried to open them up on the PC and when I run the code, my .load no longer works. It doesn't make any sense because the AS should work the same no matter what. I also no longer have assess to my Mac, so I can't go back and change anything.
My codes goes a little like this:
testingXML = new XML ();
testingXML.onLoad = loadingAction;
testingXML.load ("http://www.google.com");
Thanks!

In my case, this exception was due to a defect in some timeout code I'd written. I didn't want to wait forever for the command to complete, so after an appropriate amount of time, the code would destroy the process. That invalidated the data streams however, causing the bad file number exception in the reader threads.
So you may look for ways in which the executed process might be getting destroyed.

Similar Messages

  • Multiple flash files change when a button click using javascript function

    hi.. am new in flsh...
    i want to multiple flash files change when a button click using a javascript

    <script>
    var count=0;
    function mafunct(newSrc){
        alert("hi");
    var path="a"+count+".swf"; 
    flash+='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" WIDTH="100%" HEIGHT="100%">';         
        flash+='<PARAM NAME=movie VALUE="'+path+'">';         
        flash+='<PARAM NAME="PLAY" VALUE="false">'; 
        flash+='<PARAM NAME="LOOP" VALUE="false">';
        flash+='<PARAM NAME="QUALITY" VALUE="high">';
        flash+='<PARAM NAME="SCALE" VALUE="SHOWALL">';
        flash+='<EMBED NAME="testmovie" SRC="Menu.swf" WIDTH="100%" HEIGHT="100%"PLAY="false" LOOP="false" QUALITY="high" SCALE="SHOWALL"swLiveConnect="true"PLUGINSPAGE="http://www.macromedia.com/go/flashplayer/">';
        flash+='</EMBED>';
        flash+='</OBJECT>';    
    count++;
    alert(path+"aa");
    </script>
    <button onclick="mafunct()">next</button>

  • Rename file automatically when moving

    How can I rename a file automatically when moving a file from one folder to another when there is a file with the same name in the other folder?

    you can't do it automatically. you need to rename it before you move it.

  • Simple ActionScript in Flash file breaks in Captivate

    This is sooooo frustrating! Can anyone help!? :p
    I've got a little flash file that has a text box in which I
    use a bit of ActionScript to put the current date into.
    When I preview the SWF in flash, or publish the SWF, etc. it
    works fine!
    Then I go to my Captivate project and import the SWF file
    with INSERT => ANIMATION.
    It looks like it's working, I place it where I want on the
    slide and I actually can see the date has been displayed (as per
    the preview on the captivate slide)
    But when I publish the Captivate file or preview the project,
    the date is nowhere to be seen! SO ANNOYING!.
    This is the code on my flash file behind the date display
    text box (added line numbers for convenience):
    1. quizcompletedate=new date();
    2. month = new Array("January", "February", "March", "April",
    "May", "June", "July", "August", "September", "October",
    "November", "December");
    3. quizcompletedate=(month[quizcompletedate.getMonth()]+"
    "+quizcompletedate.getDate()+", "+quizcompletedate.getFullYear());
    All works fine in flash, just not when it's inserted into a
    captivate slide.
    PLEASE HELP?!?!
    G.

    wow! OK, I actually didn't think that would make much of a
    difference! but I'm a step closer...
    now the textbox is appearing at least! Thanks Paul_D, but now
    a new problem...
    When I preview the captivate project now, the text box says:
    "undefined undefined, undefined undefined:undefined" - but
    remember, it is working in Flash, and it even works in Captivate
    when I'm in design view (while I'm working on the slides) it just
    doesn't wok in the final product.. any more suggestions???

  • Close FPGA VI Reference breaks when moving project...

    I created a cRIO project with an FPGA target, and assigned the output of Open FPGA Reference to an indicator.
    When I moved the project to a different computer, the wire to the indicator broke, so I selected "Bind to Typedef..." on the Open FPGA Reference node, replaced the indicator, reconnected all the local variables from old indicator to the new one, and deleted the old one. So far so good.
    But now, when I move the project to a different computer, the wire to the Close FPGA VI Reference breaks.
    If I delete and replace the broken wire whenever I open the project on the new computer, everything's fine. Am I stuck with that? It could be worse, I guess, but I'd like to fix this for real. Any suggestions?
    Thanks in advance.

    Hi Ron,
    I do not believe that there are any other workarounds for this behavior.  I've been attempting to fix this myself in another way, but it seems that due to the simplistic nature of the close reference vi, it is not possible to go about this in another way when distributing applications.  I will try to see if we can make a product suggestion for this in the future releases of the software.

  • Xcode proj files break when I move onto other machines?

    Help!
    When I move an archived project folder and all my project files to another machine...the project file (which I know is a folder) app.xcode seems to only show up as the folder with three internal files...and cannot be opened in xcode? i.e. as soon as that app.xcode file arrives on another machine it turns into a folder and xcode isn't happy with that...
    Could someone suggest what may be going wrong? presume it's something basic as xcode projects must be able to be moved off the original machine...
    Thanks for any input...
    Jules.

    Well, Xcode project files are indeed file bundles - that is, they're actually folders with files inside them, but the Finder knows that they're a bundled type and presents them as a single "file". If it's not doing that, and is just showing you a folder with files inside, then that indicates that the Finder doesn't know about that file type.
    This is either because you don't have the correct version of Xcode, or because the Finder is confused. Either way, I suggest you download the latest release of Xcode (2.3) from http://connect.apple.com/ and perform a clean install of the tools.

  • Anyone using 4.0 Beta 5 on MAC and noticing Adobe Flash creating boxes when moving away from site where flash is used?

    Just upgraded to FF 4.0 beta 5 - noticing that when I visit a new page that uses Flash, I navigate away or to other sites and the box that Flash used is blanked out and super-imposes itself over the page. That means when I move from the flash page, the only thing I can do it close the browser and reopen.
    Yes, I am using 10.1 (or whatever the latest flash is for my MAC - that also has all its updates). Reverted back to FF 4.0 beta 4 and NO PROBLEM using the older beta version. HELP.

    That sounds like a known problem on OS X. From the known issues section of the [http://www.mozilla.com/en-US/firefox/4.0b5/releasenotes/ Firefox 4 Beta 5 Release Notes]
    "Plugin content can be rendered incorrectly leaving blank white squares over web content. Scrolling or switching tabs will often fix the problem, although sometimes you must close the tab which contains that plugin content (see [https://bugzilla.mozilla.org/show_bug.cgi?id=592453 bug 592453])"
    This should be fixed in the next beta.

  • RH9 crash and files deleted when moving/deleting content in Project Manager pod

    Hello,
    I've had an ongoing issue, across RH 8 and 9, with trying to manage my content using the Project Manager pod. The issue has occurred w/ two basic processes: creating new folder structures in PM and then moving files from one folder to another; deleting files from the project entirely.
    The outcome is that RH crashes w/ a generic "RoboHelp has encountered a problem" error message, and one or more topics are deleted from the project entirely. If the topic is in the TOC, the placeholder is still there, but it's not connected to any topic.
    Has anyone else encountered this issue? Is this a known bug and/or is there a suggested fix?
    Thanks in advance,
    -Jerod

    Please see the thread at
    http://forums.adobe.com/thread/866298?tstart=0
    It looks like it could be the same issue.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Project files location when moving from one PC to another

    Hi - I hope this isn't t
    oo silly a question but I have started a project at one location and I am now going to our overseas office for a month and will need to
    work on the project on another PC while I am there. I am a little confused as to where I look to put all the files I need on
    to a USB stick so I can load them over in the US office. Where do the video files,titles and any stills get stored for a project?
    Thanks for any help
    Andrew

    Steve,
    Thanks for the mention of the Project Archiver. As I normally set up Projects on externals, in anticipation of migrating them between my computers, I had just not thought to mention that. The OP will benefit from that tip!
    One thing for the OP to remember is that many systems will not boot properly, if a thumbdrive is attached first. Many USB devices get in the way, if plugged in and turned on, prior to boot up. My Epson printer MUST be turned OFF, or my laptop will not boot. Many have had the same thing happen with most thumbdrives too.
    Appreciated,
    Hunt

  • Files lost when moving from HD to external HD

    I understand that this is a bug (http://www.macintouch.com/leopard/movebug.html) that effects Leopard but it has happened to me using tiger.
    I have run Data Rescue2 and it has recovered many files but none of the 200 or so that I lost.
    Does anyone have an idea what I could do next?
    I'm a complete layman, all the above was suggested to me by someone more knowledgeable. So please, if you do have a answer, explain it simply.
    Thank you very much in advance.

    I have run Data Rescue2 and it has recovered many files but none of the 200 or so that I lost.
    Then the space those files took up on the HD were written over. DR2 is very good, especially if you used the Thorough Scan, if it can't find them then we're talking really big bucks & resources to recover them... if at all.
    What happens is that once those files are no longer in the Trash, the OS gets to use those Sectors to write New or temp files to, and just booting up off the same drive can overwrite the Freed Space.

  • Flash file is hiding when i select pop menu

    Hi ,
    I have create "quick links menu" on the top of the page and
    below that there is flash file. When i roll over on quicklinks the
    menu is displayed but below flash file is hidden.
    Can any one help why this is happening. Please check this URL
    http://www.gradienttech.org/celframeoffice)
    for better understanding what problem i am facing.
    regards
    Abhishek

    i don't know how is that menu made but I belive that is not
    good for the embed or object code ...
    after the menu is down, if you quick rightClick on the flash
    you'll see there is no flash
    PS: the link is
    http://www.gradienttech.org/celframeoffice/

  • Flash File placed in template not loading

    I've created a simple flash banner to use on a website I'm
    developing. This website is built off of a template, in which I
    placed the flash file.
    When I preview the template, it works wonderfully. Trouble
    is, when I apply the template to all my pages, and then preview one
    of those pages, the flash file is not loading.
    Anyone have an idea what I'm doing wrong? Go to the web
    address below to see the files:
    www.vanhornconstruction.com/temp

    Make the link to the SWF a root relative one in the Template
    page.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Zimmerman74" <[email protected]> wrote in
    message
    news:flljbb$efv$[email protected]..
    > I've created a simple flash banner to use on a website
    I'm developing.
    > This
    > website is built off of a template, in which I placed
    the flash file.
    >
    > When I preview the template, it works wonderfully.
    Trouble is, when I
    > apply
    > the template to all my pages, and then preview one of
    those pages, the
    > flash
    > file is not loading.
    >
    > Anyone have an idea what I'm doing wrong? Go to the web
    address below to
    > see
    > the files:
    >
    > www.vanhornconstruction.com/temp
    >

  • Placing an image on top of a flash file

    Is there a way to keep a image on top of a flash file? When I
    place it on top then publish the flash file jumps in front of the
    pic when it plays.
    What I am trying to do is place a border around the window. I
    can't just shrink the flash file down because this great program
    causes errors with the flash content.

    There is no way to keep an image on top of a Flash file.
    Having said that, we do a couple things to get around that:
    1: add the border to the flash file-- when we're creating
    swfs for Breeze in Captivate or Flash itself, we add the highlight
    or border there
    2: Add the border to a file that rests behind the flash file
    and make the flash file fit
    It sounds as if you've tried the second, but with no success.
    I 've never had a problem resizing swfs that I've imported into ppt
    through Breeze Presenter. I sthat the issue you're having?

  • Flash file 'disappears'

    Flash file 'disappears'' when you hover your cursor over it.
    Anyone any ideas?
    url:
    http://www.greenpublishing.com.au

    I am on a mac in Firefox. What browser are you using?
    Its obviously a Firefox problem then.
    Are there any fixes?

  • Why does the Yosemite Finder become unresponsive when moving a file within my USB Flash stick?

    Why does the Yosemite Finder become unresponsive when moving a file within my USB Flash stick? I have to Relaunch the Finder to get it working again.
    Background / other symptoms:
    The Flash drive in question has been formatted HFS.
    I get no error messages, including on the Console, and no sound indicators.
    I can copy files, using the Finder, from a hard-drive to the usb flash drive with no problem.
    Finder copying on this stick works just fine on my other Mac.
    I can move files within another (FAT32-formatted) USB flash drive.
    The quirky USB HFS Flash drive works fine on my other Mac.
    Outside of the Finder, I can use mv just fine to move the files on the HFS flash drive.
    If the HFS-formatted Flash drive were faulty, I would at least expect some sort of error in the Console app, but perhaps not from the Finder.

    Why does the Yosemite Finder become unresponsive when moving a file within my USB Flash stick? I have to Relaunch the Finder to get it working again.
    Background / other symptoms:
    The Flash drive in question has been formatted HFS.
    I get no error messages, including on the Console, and no sound indicators.
    I can copy files, using the Finder, from a hard-drive to the usb flash drive with no problem.
    Finder copying on this stick works just fine on my other Mac.
    I can move files within another (FAT32-formatted) USB flash drive.
    The quirky USB HFS Flash drive works fine on my other Mac.
    Outside of the Finder, I can use mv just fine to move the files on the HFS flash drive.
    If the HFS-formatted Flash drive were faulty, I would at least expect some sort of error in the Console app, but perhaps not from the Finder.

Maybe you are looking for