AS2 loaded to AS3 mobile project

Hello, I have a problem witch I hope someone could shed some light on.
I have about 100 AS2 swfs that were created long time ago... each is a simple 1 screen animation with few buttons.
I need to build an AS3 android application using those swfs. So I opened  an air android project and imported the swfs with simple loaders.
When I run the application in flash cs6 it works fine and the AS2 swfs are fully functional, but when I deploy the app to a tablet the AS2 swfs do not work correctly... the buttons are not clickable and the animation is running in loops ignoring the stop() function and every other code in the swf.
I figured that the code stored in those swfs cannot be read by the tablet and there for it's not working...
I am realy trying to avoid rebuilding those swfs in AS3 because it will take me about a month!
Is there any way to solve this problem?
Or does anybody know a specific reasone for the problem so I can try to find a solution?
Any help would be appreciated!

i don't there's any work-around.  the air player does not include avm1.

Similar Messages

  • Combining AS2 animation in AS3 CP4 project

    I realize this is a no-no, and the message told me so in CP4, but I was able to get an AS2 built flash animation to work and publish in an AS3 CP project. The message, if I remember right, was 'you may experience unexpected results' or something to that effect. My question is: if I can get them to work as animated intros to the modules running as standalones, why can't  I get them to work in an Aggreagtor file? What happens when aggreagted is that the flash intros simple bog down. They start out playing correctly the first time, but as you navigate the TOC the animated intro starts playing slower and slower. It's as if the previous version are still playing the in the background and just run out of memory/cache or something.
    What I'm wondering is, could the problem be that the animations just simply aren't stopping? If so, is it possible to insert a command to stop?
    Anyone have any ideas?
    JT

    I was able to get them to play 'satisfactorily' in CP 4 in single .swf- Not aggreagated. The larger problem was in Aggreagator. I had huge issues with aggregator, and adobe told me to upgrade to CP5 to solve that problem. Not sure that probelm is solved because now I have even more problems with the existing files-captions, graphics not displaying correctly. So for the time being, this AS2 AS3 issue is on the sidelines.
    If I ever get to that oint again, I'll see If I can send a link.
    Thanks!
    JT

  • FlashVar to as2 loaded into as3

    I am afraid I already know the answer to my question but I am
    hoping otherwise. Previously an AS2 movie loaded into an AS2 movie
    could get flashvar values through _level0 or _root. My problem is
    having an AS2 movie loaded into an AS3 movie and still letting the
    loaded AS2 have access to the flashvars. I can successfully get the
    flashvars into the AS3 movie so that isn't an issue. I searched
    around and couldn't find any posts that helped and if this has
    already been covered I would appreciate a point in the right
    direction.

    First off thank you for your replies, links and help.
    So my fears were correct, there is no easy solution. I was
    hoping that I could use loader variables to load flashvars to the
    loaded clip or something where I could still have the as2 continue
    to use _level0. The reason for keeping _level0 is the classic "I
    don't want to rewrite everything."
    Thanks again.

  • Running an AS3 mobile project on Android 4.1

    I am using Flash Builder 4.6 on Mac OSX and I am trying to run a mobile actionscript project on Android 4.1 on an A1CS Fusion 5 premium+ tablet. Flash builder run configurations does not find connected device. Tablet is in debug mode with mass storage turned off and says it is USB connected. The Mac Finder sees the tablet when it is in  storage mode, so USB connection is good. How do we fix this?

    I've had similar problems with PC and had to install drivers for the relevant devices. Not sure what the Mac equivalent is, but looking at the Android SDK docs is a good place to start as they have helped me to resolve connection to several devices in addition to allowing me to install a number of Google provided drivers.
    G

  • Load as2 swf in as3 swf

    Hi All,
    I am new to this forum.
    Can anyone tell me how to load as2 swf in as3?
    If this is possible,can anyone give me some sample example?
    Thanks
    Harshal

    You can talk to loaded AVM1 (AS1/2) SWF using LocalConnection. I used Grant Skinner's SWFBridge class in the past and worked very well:
    http://gskinner.com/blog/archives/2007/07/swfbridge_easie.html
    Kenneth Kawamoto
    http://www.materiaprima.co.uk/

  • Load AS2 swf into AS3 swf problem

    I have a flash with AS3 and inside this swf i load in a AS2 swf.
    to load swf works just fine, but the problem is when i load this i want to go to
    a specific part of it, for example i want to go to frame 3 in the loaded swf.
    i must control this from the AS3 swf, does someone know if this is possible?
    thanks in advance

    so can i do like this then to go to frame 3 in my loaded swf?
    MovieClip(ldr.content).gotoAndStop(3); ?
    sorry for being such an airhead
    thanks for helping me out =)
    Date: Sun, 7 Jun 2009 10:25:09 -0600
    From: [email protected]
    To: [email protected]
    Subject: load AS2 swf into AS3 swf problem
    no.
    if, in your loaded swf, you have a function f1() on the loaded swf's main timeline and you load that swf using a loader (say ldr), use:
    MovieClip(ldr.content).f1();   // to call f1() in the loaded swf
    >

  • Load AS2 SWF in AS3 SWF with FlashVars

    I am able to load SWF which is created using AS2 in to AS3
    SWF but I am not able to pass Flashvars to it..
    Does any one has any idea, how can I do that??
    Thanks

    You can talk to loaded AVM1 (AS1/2) SWF using LocalConnection. I used Grant Skinner's SWFBridge class in the past and worked very well:
    http://gskinner.com/blog/archives/2007/07/swfbridge_easie.html
    Kenneth Kawamoto
    http://www.materiaprima.co.uk/

  • Problem going to fullscreen after loading AS2 movie into AS3

    I've got a loader movie that is written in AS3, and
    fullscreen is enabled. I have a context-menu fullscreen trigger and
    a keypress fullscreen trigger built into the loader movie. When I
    load an AS3 movie or an AS1 movie through the loader movie, I can
    go to fullscreen without problems. When I load the AS2 movie, I
    cannot.
    Does anyone have an idea why this might be? I'm struggling.
    Thanks in advance.

    Thanks for your help, but as said ("But also using a
    separated second loader to load the second file is not working.")
    even when using a second loader (with a different name) the second
    file loaded will not work.
    I'm removing any EventListener from the first loader,
    unloading and then nulling it.
    But to me it seems, that the first content is not garbage
    collected and because of that, even when loaded with an other
    loader the first loaded swf-file interferes with the second.
    I came to this conclusion, because the first loaded swf-file
    is still working after trying to load the second file. And just
    more weird: the first loaded file is in the same state and also
    after closing the Flash-Player.
    You can see it for yourself: download the testcase. Start the
    testcase.swf. Load a contentfile. Skip a few pages. Quit the Flash
    Player. Start the testcase.swf again and load the same contentfile.
    You will see it's at the same position like before quiting the
    Player.
    And I can't help, but that seems like a bug to me...

  • AS2 loading AS3

    Hi,
    If I target player 9 and use AS2 code I can load an AS3 swf,
    I presume that I cannot do anything with this, like poll for its
    frames etc. I won't go into the details of why I'm doing this but
    can anyone confirm that AS2 swfs cannot use an AS3 swf in any way?
    Thanks
    Neil

    that is correct - AS2 cannot use AS3

  • Main movie in AS2 and MC AS3

    Dear all,
    I have a main movie is coding AS2 which contains a movieClip called MC_header.
    And I have an external movie is coding with AS3.
    My question is :
    Can i loadmovie the external movieclip in the main movie????
    if yes, how?
    thanks
    MELAS

    Nope. If the original movie is AS3 you can load in an AS2 clip and it will run as an AVM1 (ActionScript Virtual Machine 1, which understands AS1 and 2) Movie. But the AVM1 has no idea about AVM2 (which understands AS3) so you can't go the other way.
    Even when you do load an AS2 into and AS3 file the communication between the main file and the loaded AVM1 movie is quite limited and you won't be able to control it the way you would if they were both of the same flavor -- if that is important to your project.

  • How to control swf file loaded in flash builder project?

    Condition :
    1. I have a swf file presentation.
    2. A flex mobile project using flash builder 4.6 with its default SDK.
    What i want :
    1. Include those swf file into my flex mobile project and interact with those swf like i run it on flash player for PC. Shown here >>
    http://prntscr.com/1pmio
    What i've tried :
    1. Call swf file using swfloader and it work(on my pc). Here is my code >>
    http://prntscr.com/1pmjdl
    Problem :
    1. I cant interacted with swf file presentation. If i click on screen, it get error code >> "Error #2025: The supplied DisplayObject must be a child of the caller" and another error. Here is error warning >>
    http://prntscr.com/1pmkcr
    I dont want to upload the swf file into a web and load it remotely because i want the swf file available offline. Im newbie in flex, please tell me clearly. i have downloaded Flex in a week video training but gets nothing. searching for another problem which may same, but i didnt get any answer.
    Please Help.
    Message was edited by: blackquipment for image fix

    Some loaded SWFs may not be compatible with Flex.  Try making a simpler SWF (like one that just draws a circle where you click) and see if it can be loaded and interacted with.
    -Alex

  • Convert AS2 swf to AS3 swf

    I have a swf (written in AS3) that loads other swfs into it.
    There are no issues when loading other AS3 swfs but there is a
    problem loading AS2 swfs. I get the following error:
    TypeError: Error #1034: Type Coercion failed: cannot convert
    flash.display::AVM1Movie@35d3a51 to flash.display.MovieClip.
    Is there any way to convert the AS2 swf into a AS3 swf so it
    will be compatible with my loader? I cannot go back and change the
    AS2 swfs because I do not have the fla files. Or is there any way
    to incorporate AS3 code that will load AS2 swfs properly? It seems
    hard to believe that Adobe would neglect this backwards
    compatibility issue. Thanks

    Hello Andrei1,
    Thanks for looking at my simple AS3 code. The AS2 swfs that
    I've been working (and having difficulties) with are components
    that I've purchased from places like www.flashden.com. Some are
    image transitions (such as "Dynamic Image Draw found at
    http://www.flashden.net/item/dynamic-image-draw/7532)
    while another is used to create a looped banner rotator animation
    (IMG_loop, a free d/l from www.afcomponents.net). I have another
    that uses an .xml file to configure a slideshow animation.
    You mention "needing to do more" if AS2 scripts inside its
    swf are to be run by the parent AS3 fla; what would these lines of
    code be?
    In researching my problem further I've since realized that
    most of these issues deal both with the version of AS used, as well
    as the version of the Flash player the fla is set up to animate
    for. In particular, the "Dynamic Image Draw" component requires
    that Flash Player 8 or 9 be used with AS2.
    Given that many of my purchased components are like this,
    I've since changed my main fla movie from AS3 back to AS2 and have
    learned that the scripting needed to call individual multiple swfs
    into it at various points in the timeline is MUCH simpler!!!!! One
    single, easily interpreted, line of code vs. 5 lines using
    variables and much more arcane (to me) function calls.
    I started my file with AS3 figuring that I'd be better off
    learning the new version of the language; much stress and
    forehead-rubbing later, I've seen just how much easier and
    understandable AS2 is to learn.
    I recognize that there are likely very strong arguments for
    the more structured coding approach used by AS3, but for someone
    like me who wants to generate customized Flash presentations with
    little fuss, I'm not qualified to make them.
    Perhaps this is a no brainer for those many flash gurus out
    there, but for me this tiny bit of wisdom has been hard fought for!
    That being said, is there an easy way to convert a swf file
    created using AS2 to something that AS3 can work/interact with?
    I've come across a free d/l product called actionscript bridge, but
    haven't been able to understand how to get it to work.

  • Open PDF with Flex Mobile Project

    I want to be able to read PDFs inside a Flex Mobile Project (I'm working with Flash Builder 4.6 and Android and iPad).
    I've tried successfully stagewebview to load a pdf from a web server with this:
    webView = new StageWebView();  webView.loadURL("http://<url>/Paper.pdf");  webView.viewPort = new Rectangle(0, 100,this.stage.stageWidth, this.stage.stageHeight); webView.stage = this.stage;
    But what I really want it's something more visual. I mean, where you can create a flip book, go to page X, or similar. Something like this: http://devaldi.com/zine/NZ_Tourism_2007.php?ro=flash,html
    I've already tried FlexPaper, but Zine doesn't work on Flex Mobile Project.
    Do you know if there is something to do this? or how can I do this?
    Is there any native-extension or something?
    Thanks in advance

    Thanks Keith, I'll have a look at that. In addition to opening a PDF, I want to be able to encode an anchor id in to the open command to jump a specific anchor; I'd concluded that on iOS, until Adobe add decent url-scheme support, that was a no go - so I've been staring down the barrel of converting the .pdf to HTML and tidying up the inevitable issues manually. Here's hoping Print2Flash will help avoid that!

  • Building iOS mobile project succeed in Fast Packaging method not in Standard method

    Hi All,
    I am using FlashBuild 4.6 Standard edition to build iOS mobile project for iPAD. When I tried using Fast packaging method, I have no problem to create ipa file, and run it on devices, however, when I tried using Standard packaging method, I always run into the following exceptions:
    "Launching iOS" has encountered a problem.
    Error occurred while packaging the application:
    Exception in thread "main" java.lang.NullPointerException
        at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6944)
        at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:5909)
        at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4628)
        at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3514)
        at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2215)
        at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:526)
        at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:336)
        at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler.java:472)
        at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:82)
    Compilation failed while executing : ADT
    Any help will be truly appreciated.
    Kind Regards,

    My mobile app is supposed to load SWF assets from an external server.
    Is there any chance at a work around?  Could something like the ByteArray class be used to convert the SWFs to BitMap (given than static images would be acceptable)? In my case, I may only need to import external SWF that are static (not animated).
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/utils/ByteArray.h tml
    If ByteArray is implemented to immediately convert imported SWFs within the source FlashBuilder project, then when the app is packaged into native iOS, will it retain that functionality to convert the SWF to bitmap data?

  • InfoWindowOptions question for Google maps mobile project

    I am trying to create mobile project to display database driven locations on map.
    I am getting data through remote call to ColdFusion, perfectly displaying markers on my map. Now, i want to be able to click on Marker and display custom info in InfoWindowOptions from my DB, for example image which has been connected to that location.
    This is the function which loop through ArrayCollection create markers and sets an event listener for them:
    for (var i:int=0; i<locationsCollection.length; i++)
                           var m:Marker = new Marker(new LatLng(locationsCollection[i].latitude, locationsCollection[i].longitude),
                              new MarkerOptions({tooltip:'test',hasShadow:true}));
                           m.addEventListener(MapMouseEvent.CLICK, function(e:Event):void {
                               var request:URLRequest = new URLRequest("http://www.imchi.info/testimages/"+locationsCollection[i].picture);
                               var imageLoader:Loader = new Loader();
                               imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, function(event:Event):void {
                                   var width:Number = 200;
                                   var height:Number = 200;
                                   var options2:InfoWindowOptions = new InfoWindowOptions({
                                       customContent: imageLoader});
                                   m.openInfoWindow(options2);    
                               imageLoader.load(request);
                          map.addOverlay(m);
    The problem is that when it comes to locationsCollection[i].picture it fails, and only if i set instead of it name of file for example:
    var request:URLRequest = new URLRequest("http://www.imchi.info/testimages/test.jpg"); it is working.
    What i am doing wrong?

    I'm not entirely sure if there is a default time frame that should be built into the application, but it does seem like a bug to me.
    Palm has logged this in its software issue tracking system. We endeavor to continuously improve our software quality and thank you for bringing this to our attention. We are grateful to the community and will evaluate options based on customer feedback and software best practices.

Maybe you are looking for

  • I am unable to publish using Dreamweaver CS6 if I select a folder

    I can publish Ok to main directory, but if it select /public-html it  does not work. Tried witnhout the slash too. It's a Centos 6.4 x 64 running Apache.  Set up web sites with webmin/virtualmin and chanmged permissio0ns to 777 in case that was the p

  • How to remove the item content from my alert Template (alerttemplates.xml) .

    I have enabled alerts to be send from my enterprise wiki & announcement list. Currently the alert email, will display the item content inside the email (the wiki page content or the announcement list content), which i do not want to have. So is there

  • Invoice Carryforward Error

    I am an SAP Superuser and new to this website. At year end, Accounts Payable Invoices were carried forward to the following fiscal year in error. Now the financial postings do not agree to the budget postings at year end or the new fiscal year. Typic

  • Calling a javascript function from another javascript

    Hi, How can I call a java script functon implemented in java script file JS1, from another java script file say JS2. In fact I can copy the same method and can go ahead but it will add to the code redundancy. Any help will be highly appreciated. TIA.

  • Phone froze and now stays on white htc screen.

    My phone froze earlier and i couldnt turn it off or do anything so i pulled the battery and now when i power it up it goes straight to the white htc screen and stays there, it wont do anything else, what can i do?