URGENT -- loading SWF file locally from second time not  remotely

Hi,
       I have Air application which has theming and localization those are loading remotly every time. Now i want to changes such a way that,
theme.swf should load remotely first launch and second time onwords it should use locale swf.
To acheive this
  I  download the swf to locale native path and using that path i can load the theme.
Now,
          Using File,URLLoder and FILE streem, am reading the remote swf file data and locally creating new file and writing in that.
So now
  When ever am trying to load locale one some errors are throwing like the following things repeatedly
VerifyError: Error #1014: Class mx.core::FlexSprite could not be found.
at flash.display::MovieClip/nextFrame()
at mx.core::FlexModuleFactory/deferredNextFrame()[E:\dev\4.x\frameworks\projects\framework\s rc\mx\core\FlexModuleFactory.as:631]
at mx.core::FlexModuleFactory/update()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\ FlexModuleFactory.as:401]
at mx.core::FlexModuleFactory/moduleCompleteHandler()[E:\dev\4.x\frameworks\projects\framewo rk\src\mx\core\FlexModuleFactory.as:718]
VerifyError: Error #1014: Class mx.core::SpriteAsset could not be found.
at flash.display::MovieClip/nextFrame()
at mx.core::FlexModuleFactory/deferredNextFrame()[E:\dev\4.x\frameworks\projects\framework\s rc\mx\core\FlexModuleFactory.as:631]
at mx.core::FlexModuleFactory/update()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\ FlexModuleFactory.as:401]
at mx.core::FlexModuleFactory/moduleCompleteHandler()[E:\dev\4.x\frameworks\projects\framewo rk\src\mx\core\FlexModuleFactory.as:718]
doubts:
IS THERE ANY DIFFERENCE BETWEEN actual file(remote) and created file(written)
Please help me in this
Thanks
J Kishore

Verify that the file is written correctly.
If it is not written to the application-directory it will be sandboxed and
fail.

Similar Messages

  • Loading swf files from an iPhone Air App

    Although the faq says its possible ( http://bit.ly/gyxmCo  )  I can't seem to load .swf files from my app.
    There's no .AS code in the .swf file I'm trying to load.
    PNG files load with no problems, swf's fail.
    A working example would be appreciated instead of suggestions, I've spent the entire day trying out suggestions
    regards,
    Martijn

    Because I can't see any library assets in an as2.0 file.
    I've discovered that the swf fails to load as soon as you make a symbol 'export for actionscript'
    probably because it will then create a class. So you can only load SWF's as simple pictures or animations, you cant use it as an asset library with multiple animations/images/sounds in it..
    As for you other questions:
    it doesnt matter if the file is local or on the web. same results
    I created the swf file from a fla in CS4,  and I'm compiling my air project that loads the swf  with FlashDevelop.

  • How can I make my external loaded .SWF file smoothly disappear after 15 seconds?

    Hi,
    How can I make my external loaded .SWF file smoothly disappear after 15 seconds? The following is the code to load an external .SWF file:
    var K:Loader=new Loader();
    addChild(K);
    K.load(new URLRequest("clock.swf"));
    K.x = 165;
    K.y = 247;
    K.contentLoaderInfo.addEventListener(Event.INIT, growLoader);
    function growLoader(evt:Event):void {
         K.width = 130;
         K.height = 130;
    I want to make clock.swf file disappear from the page after 15 seconds using some smooth disappear effect.
    Please help.
    Thanks.

    Something even better:
    http://www.greensock.com/
    Check out TimelineMax I LOVE it...
    The guy that made this (and gives it away for free!) is a saint.

  • Unable to load swf files in flash

    Hi,
    since creating all the animation in one flash file will
    produce a big file i tried to split and create small flash files
    and load these files in the main flash movie using the image and
    swf loader component.
    eg.
    main.swf, sub1.swf, sub2.swf.
    In the main swf , buttons are created to load sub1.swf and
    sub2.swf.
    The action script on button 1 is
    on (release) {
    //Movieclip GotoAndStop Behavior
    this.gotoAndStop("sub1");
    //End Behavior
    where sub1 is frame label. the image loader loads the
    sub1.swf file starting from this label. Everything works fine
    locally but the swf files are not loading when i test in my server
    or remotely.
    can anyone please help
    thanx in advance

    I am also having a problem with action scripts. I upload
    everything and still get the error message how can I solve this
    problem? It's killing me.

  • Ipad i have load swf file but swf  is not working proper(flex 4.6) but android is fine to work how

    ipad i have load swf file but swf  is not working proper(flex 4.6) but android is fine to work how

    On the MBP, in iTunes, switch to Song view and enable the iCloud Status column by pulling down View > View options and selecting the option for "iCloud Status." Close the small window. Look for any tracks that have a status of "waiting." If you see several of them disable iTunes Match while holding down the Option key. Quit iTunes, wait a few seconds, then open it again and turn iTM back on. Let it compelete the scan. Wait until all tracks that are "waiting" have a status of either "matched" or "uploaded."
    On the iPad, turn off iTunes Match then launch the Music app and let the contents clear out. Power cycle the iPad for good measure, then re-enable the service once all the tracks in iTunes have been processed.

  • How to detect the end of a loaded swf file

    Hello Guys
    This is my first time on this forum, come here with a great
    hope
    I have loaded a picture file (jpeg) and a video file (swf)
    into the main flash file using xml
    on frame 3, I load the picture and on frame 7, I load the
    video, there is a stop action on frame 6
    Now when the flash is executed the picture is displayed ( it
    says "Click here to view the video")
    when the user click the picture , the video is loaded and
    starts to play ---- so far everything is working fine
    now what I want to do is, once the video finishes playing (
    not stoped) I want to display the picture again
    can you tell me how to detect the end of an external loaded
    swf files,
    Please help me
    Thanking You
    Shriram

  • How to create an xml to load swf files in sequence?

    hello everyone
    I'm new in web design... I know how to animate in flash, using timeline, frames, layers, twins and so on... But I want to move forward so I want to create a xml to load swf files in sequence and in loop. Each swf file has 8 seconds.You can see the example here in www.cm-seixal.pt.
    I'm not a programmer but I understand how actionscript works... I hope you can help me
    Cheers!
    Ana

    you can use the urlloader class to load your xml file.  use the loader's complete event and the loader's data property to retrieve the data in your xml file.

  • Loading swf files for anonymous user login

    Hi,
    We are having swf file retrieving from oracle database in home page. I can able to view swf file for normal users, but anonymous user login, not able to see swf file in the page. Other image format like jpg/gif files anonymous user login images are loading properly. Pls. kindly advise, where issue occurs.
    kumar. G

    Hi Ram
    Thanks for your response. Let me know, how to connect to oracle database for anonymous user login. Based on that i will work around that approach for fixing this issue.
    By
    kumar. g

  • I have really slow internet, i bought OS X mountain lion & tried for days to download it. my internet cuts every time & the download restarts from the beginning is thr a way to download the software as a "zip" file or from a link not app store?

    I have really slow internet, i bought OS X mountain lion & tried for days to download it. my internet cuts every time & the download restarts from the beginning is thr a way to download the software as a "zip" file or from a link not app store?

    MacBook Pro
    https://discussions.apple.com/community/notebooks/macbook_pro 
    https://discussions.apple.com/community/mac_os/mac_os_x_v10.7_lion?view=discussi ons
    http://www.apple.com/support/macbookpro
     Take it somewhere that has better broadband. The best you can do sometimes is invest in new modem that works with your system instead of the rental etc in most cases.
    Do a Safe Boot.
    Make sure your firewall is set properly. Don't use 3rd party. AV software can get in the way.
    Make sure you are getting the service and a clean strong modem signal - slow is one thing but if it drops off and can't maintain a connection you have hardware issues, not software - and upgrade to a new OS doesn't tend to improve, it may even not work with older networking equipment once you do get it.
     I agree and think electronic only goes too far. And when you do get it: burn the package and manually set it aside first before running the intaller! make a flash memory installer, put it on DVDs too.

  • ADF application taking more time for first time and less from second time

    Hi Experts,
    We are using ADF 11.1.1.2.
    Our application contains 5 jsp pages, 10 - 12 taskflows, and 50 jsff pages.
    For the first time in the day if we use the application it is taking more than 60 sec on some actions.
    And from the next time onwords it is taking 5 to 6 sec.
    Same thing is happening daily.
    Can any one tell me why this application is taking more time for first time and less time from second time.
    Regards
    Gayaz

    Hi,
    If you don't restart you WLS every day, then you should read about Tuning Application Module Pools and Connection Pools
    http://docs.oracle.com/cd/E15523_01/web.1111/b31974/bcampool.htm#sm0301
    And pay attention to the parameter: Maximum Available Size, Minimum Available Size
    http://docs.oracle.com/cd/E15523_01/web.1111/b31974/bcampool.htm#sm0314
    And adjust them to suit your needs.

  • Loaded swf file alignment

    when i i design something in a file i have it aligned how i
    want it, however when i load the page into another, although the
    loader component is aligned, the content inside the loaded swf file
    is no longer where it should be. why is that? how can i fix this?
    i've just been

    Also, remember that if you load an external SWF into another
    movieClip, then the _root changes. The loaded SWF will no longer be
    considered _root, unless you specify in frame 1:
    this._lockroot = true;
    this would be the issue of your miss-alignment, if you are
    using ActionScript to align objects dynamically.
    If you are not using actionscript for alignment, then
    Mocaloca's suggestion should be the answer.

  • SWF file autostart from a USB

    Hi!
    I'm trying to make a swf file autostartable from a usb drive. I have tryed to make the swf into a exe file and make a autorun.inf and just juse a open=shape.exe comand tho i cant get it to work i have tryed some outer lines of code aswell but this line is the one i get when i googled it. Any one out there with a good idé what i could do to make it work?
    I have also tryed to get a .bat file to start and well that doesent work aswell-
    Message was edited by: abbagid

    http://www.samlogic.net/articles/autorun-usb-flash-drive.htm

  • Loaded SWF file CANNOT be made into button DIRECTLY?

    I'm experiencing a problem which may have no solution, but I
    would like to know why I cannot do what I want to do.
    PROBLEM:
    I am attempting to load in an external SWF file and once it
    is loaded, I wish to directly make the new Sprite/MovieClip into a
    button. However, the newly loaded Sprite/MovieClip seems to be
    resistant to be made into a button DIRECTLY. I would like to know
    why this is.
    WORKAROUNDS:
    Here are a couple of workarounds, but again I wish to know
    why I cannot do what I want to do.
    1) I place the new Sprite/MovieClip into an empty Sprite on
    stage and make the once empty sprite into a button.
    2) Construct the external SWF in such a way so i can refer to
    a MovieClip within the SWF file and make that MovieClip into a
    button.
    CODE EXAMPLE:
    I am loading a SWF file thru a Loader and then taking the
    loaded SWF file and adding it to an existing sprite on the stage. I
    then attempt to make a button out of the newly loaded swf file, but
    it fails to be clickable.
    The following is some quick code to illustrate my problem. I
    already have workarounds in place, so please let me know WHY the
    following code is impossible. thanks!
    ==============================================================================

    There should be no problem with what you are trying to do. If
    you want someone to look at what you've done, you have to be
    careful to show that and not possibly errant code because that is
    the substance of your post and what you requested be looked at--we
    cannot guess what you may have done wrong in setting things up or
    for code that you do not show.
    I tried your code before posting my response and it worked
    fine except for your error with the COMPLETE aspect. I did not
    utilize any objects for loading things into, so I suggest you look
    there.

  • How load swf file (flash 8) with adobe captivate 3 without enter the HTML?

    How load swf file (flash 8) with adobe captivate 3 without enter the HTML?

    Hi SaSQuaCh69247,
    Issue 1 :- Select the SWF file in library, right click, and
    select update.
    Issue 2 :- Actually it could be valid for Issue 1 also. It
    seems like SWF file you are trying to import, does some action
    like, importing another swf or connecting to server on the first
    frame itself. Captivate will try to play the first frame of SWF
    when you import them. Try creating a keyframe with the stop action
    as the first frame in your SWF, and see if you still have the
    issue.
    Issue 3 :- The approach I am mentioning over here is
    generally the last approach which I will take in such scenerios,
    but since you have already experimented a little, so try this.
    Go to C:\Documents and Settings\<user name>\Application
    Data\Adobe\Adobe Captivate
    Rename captivate_v20.dat as captivate_v20_org.dat.
    Restart Captivate Application.
    thanks

  • Music file transfered from PC does not appear in t...

    Some of my music files transfered from PC does not appear in the music player in the cellphone but they appear as rigntone..NOKIA N81
    How will i resolve it??
    Can someone help me?
    Please reply, it's urgent.

    Hi Irosenth
    Thanks for the answer. I am not sure I understand your question though.
    We have a collection of reader enabled pdfs that the user can open in a webbrowsercomponent in a .Net winform.
    We used to (Reader 9.4 and before) replace the Readers "save pdf" button with our own "save pdf" button that
    - saves the pdf
    - exports its data as xml
    - send a message to the .Net winform that the pdf has been saved.
    We implemented our own save button and its functions using a plug-in.
    Now I can't find our "save pdf" button in Reader X. That is my problem.
    So I try to create a new toolbar and place our "save pdf" on this new toolbar as you adviced me.
    I expect the toolbar to show up in the Tools pane in the webbrowser component in Reader X.
    But it doesn't. There is no Tools pane when I open the PDF in the webbrowser.
    (btw all the keyboard shortcuts we have created in the plugin (ie CTRL, ALT, L) works fine - so the plugin generally works).
    When I couldn't find my toolbar with its button in the webrowser, I tried to open one of the reader enabled pdfs in the Reader X as a standalone application.
    This was just as a test to see if it worked any different from the browser plugin. It is not part of our use case.
    But I noticed that in the standalone Reader X I do have a Tools pane, and my new toolbar but no "save pdf" button.
    This is how it looked with Reader 9.4 and before:
    OK the red text in the screenshot is quite difficult to read. It says (from above)
    "We have replaced the Readers save button with our own save button in the plugin.
    This is the (selvcreated save) button I miss in Reader X"
    "This is a Reader enabled PDF shown in a webbrowser component in a .Net Winform"
    "The users only have the Reader, not Acrobat"
    Best regards
    Jan
    Message was edited by: Dafolo_Jan

Maybe you are looking for

  • WRT610N RIP version and SNMP

    I just bought this router ... Never experience the overheating problem posted by other users, router is pretty cold, even after 3 days on In Italy the street price is quite expensive (180€ / 232$) but works great on 2.4G (5G suffer serious lack of co

  • SQL Developer 1.5.3 - Why is "Find and Replace" now a model dialog?

    In SQL Developer 1.5.3 the find and replace dialog is now a modal dialog. This prevent you from copying content from below it. Basically only option is to type instead of copy and paste Very frustrating!

  • Accordion Widget is moving my footer!

    I am using the Accordion Widget as one of my sidebars for various products. My issue is that when one of my larger accordion tabs opens, my footer and the bottom of my center column extend to the length of my accordion. HOW DO I STOP THIS?! It's driv

  • ABAP proxy in Block step in BPM

    Hi Experts, Can ABAP server proxy be used in the block step of BPM? Proxy cannot be generated using Abstract interfaces right? Thanks Suma S

  • IPod 3G dead

    Hi. My iPod 3G won't turn on. I've tried hooking it up to my computer via FireWire and to a power source via the power adapter, but it won't turn on or charge. I'm thinking it's the battery, but before I buy a new one, I just wanted to see if it soun