Can I load AS3 swf in AS2 file

I have downloaded a xmlphotoalbum (www.xmlphotoalbum.com) which is in AS3 and uses lots of external classes and functions,
I am trying to load it withing a AS2 movie but it's not running and it is not giving me any errors.
how can I make this run?
would you please download the xmlphotoalbum and try it?
I am not using an AS3 file to load the xmlphotoalbum because I don't know how to handel AS3 and load external swf files and play then and then unload them.
I have tried using the get ulr and addchild() fucntions. but since I am not experienced it AS3 it's bit confusing for me and also I dont know how to control the playback of the loaded swf files.
I am doing all this for a CD presentation, not a a web site.

Hi there
You are probably wanting help with Flash.
Although this forum says "FlashHelp", what it is for is an output type from a product called RoboHelp.
Click here to visit the Flash community
Cheers... Rick
Begin learning RoboHelp HTML 7 within the day - $24.95!
Click here for Adobe Certified Captivate and RoboHelp HTML Training
Click here for the SorcerStone Blog
Click here for RoboHelp and Captivate eBooks

Similar Messages

  • When can support the AS3 swf files in the Director?

    AS3 has existed for a very long time, but Director 11 con't
    support it.
    So, I want know that when can support the AS3 swf files in
    the Director?
    Thanks.

    Director 11 supports AS3, but to my knowledge you cannot use
    components in your flash file.
    Z.

  • IPhoto: After I've changed the file name/format in Finder iPhoto can't load/relink to the referenced file.

    After I've changed the file name/format in Finder iPhoto can't load/relink to the referenced file anymore. For some reasons I don't like to reimport the file.

    Hmm the advice has been not to use referenced libraries - you ignored and did it anyway and you find the advise not helpful
    Furthermore the advice is that if you choose to use a referenced library that you assure that the path never changes - you also choose to ignore that advice and do it anyway - and you blame the peopson trying to help you
    once again - you have one choice - change the file names back and put the files back in the exact same place - and again you are totally ignoring the advice and instead name calling and attacking the person giving you advice
    Maybe life would be easier if you followed advice rather than ignoring it and then complaining that things no longer work
    change the name back and you will be fine until the next problem you hit that is caused by choosing a referenced library
    Have a nice day
    LN

  • Loading as3 swf files into as2

    im having a problem..i,e. i need to load an external swf which is in as3...and need it to be played in my as2 swf layout. with a time slider ,play, pause ,next, previous for that swf movie clip. pls give ur mail id i can sent my original files....................pls help me
    pls give ur mail id i can sent my original files.................[email protected] pls help me am doing my final year college ..........download tis jpg image and convert to rar r zip file.....project

    You'r not able to load as3 files into as2 files.

  • Load AS3 in to AS2.........?

    Dear all,
    I have a main.fla, its fully developed by AS2, and i have a another small animation file animi.fla, its fully developed by AS3,
    i tried to load the AS3 swf in to the main AS 2 file, But its not working ....
    If anybosy have any solution pleasr share with me...
    Thanks in advance
    Rajasekaran

    From the Flash documentation:
    "SWF files written in ActionScript 1.0 or 2.0 cannot load SWF files written in ActionScript 3.0. This means that SWF files authored in Flash 8 or Flex Builder 1.5 or earlier versions cannot load ActionScript 3.0 SWF files.
    The only exception to this rule is that an ActionScript 2.0 SWF file can replace itself with an ActionScript 3.0 SWF file, as long as the ActionScript 2.0 SWF file hasn't previously loaded anything into any of its levels. An ActionScript 2.0 SWF file can do this through a call to loadMovieNum(), passing a value of 0 to the level parameter."

  • Cap4 Aggregator stopped loading AS3 swf's

    Anyone have any idea why the Aggregator will no longer load any swf's created with AS3? AS2 files still work, but 3's just show the loader over & over.
    TIA!

    Hi there,
    There was an issue with Captivate 4 aggregated SWFs on the latest flash player. We have identified it and the issue is fixed. Please follow the steps mentioned in the link below
    Click here to open the link
    Thanks,
    Ashwin Bharghav B
    Adobe Captivate Team

  • Can I load a swf into my Flex app that loads other swf's?

    The code below loads an AS2 swf into my Flex mobile for IOS app and it works.  If that AS2 swf has like a circle in it that runs across the stage, it loads and displays properly when run in FlashBuilder.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     xmlns:mx="library://ns.adobe.com/flex/mx"
                                     initialize="init()">
              <fx:Script>
                        <![CDATA[
                                  import mx.core.UIComponent;
                                  private var request:URLRequest = new URLRequest("http://PATH_TO_AS2_SWF");
                                  private var loader:Loader = new Loader();
                                  private var myComponent:UIComponent = new UIComponent; 
                                  private function init():void{
                                            myComponent.percentHeight = 100;
                                            myComponent.percentWidth = 100;
                                            loader.load(request);
                                            myComponent.addChild(loader);
                                            player.addElement(myComponent);
                        ]]>
              </fx:Script>
              <s:Group id="player"
                                   height="100%" width="100%"/>
    </s:Application>
    But if that AS2 swf loads other swf's, they don't load or display.  My FlashBuilder debugger reports no errors or security sand box violations.   I'm using the most elemental code in my AS2 swf so as to not cause problems.  This is it in its entirety:
    this.onLoad = function(){
              _root.loadMovie("http://[PATH_TO_REMOTE_SWF]");
    The paths to the remote content are fine because swf's load and display fine from AS2 swf when run on it's own - not embedded in Flex app.  They also load and run fine if I cut out the AS2 swf and access directly from my Flex code.  So I know there isn't a path issue.  More likely not accessing the right layer in the AS2 swf from Flex or something.  Or maybe security sandbox violation but I don't see anything reported in the FlashBuilder debug console.  When run console just reports:
    [SWF] SwfMobile.swf - 2,639,761 bytes after decompression
    [SWF] assets/swf/AS2.swf - 1,470 bytes after decompression
    Is there something inherently wrong with loading swf's that load other things?  Even if I have the AS2 swf load jpgs they don't load so the format of the target content at the end of the chain doesn't seem to be the issue.  Just the act of embedding a swf that loads other things seems to be the problem.

    Ah, yes. Using an AVM1 SWF could prove difficult...
    I'm going on about 3 hours of sleep at the moment, but let me toss out a few thoughts I have and hopefully something will stick...
    Ok, so my first thought what to try and cast the loaded content as a MovieClip and call methods on that, but the fact they are AVM1 throws that out the window.
    That leaves LocalConnection, as you mentioned. But this would require you to have code on the receiving end to handle the connection... no good either.
    But what if you created a "bridge" in AS2 that holds all the code for the receiving end of LocalConnection (or has the control logic itself, perhaps even eliminating the need for LocalConnection all together!). I think maybe this is what you were trying to do already by loading a SWF into a SWF? Well instead of loading your bridge at runtime, what if you statically linked it into your project as a class?
    *a few moments later*
    Well it looks like you can in fact link in a a symbol created for AVM1, but it will only come in as a SpriteAsset, and will not include any custom code (which makes sense, since they use entirely different class constructs).
    To do the test, I created a symbol exported for actionscript (AS2/Flash8), then linked it in with a CSS style embed. I then instantiated the class and called describeType on it.
    So in summery, it looks like calling custom code on the bridge is out (I did not test this extensively, that was just my first impression with this simple test). However, if you may be able to perform the actions you need by attempting to cast the loaded content into something AVM2 can recognize. Apparently it does this automatically when linked in statically, so maybe there is something there worth looking into... mainly, can you do what you need using only the base class and no custom code?
    Keep me posted!

  • AS3 menu to AS2 file back to AS3 menu?????

    *Also I should note, that the actions on the As3 file is coded on the frame. The actions in the AS2 file is coded on the corresponding button.

    I believe AS3 was not supported until Flash Player 9, so you would need at least that to open an AS3 file, though it is possible you would need an even newer player version if the file was created using a more recent version of Flash.

  • Can i load transaction data thro flat files without loading masters?

    Hi all,
    is it possible to load history data using flat files in sales cube without having loaded any masters?
    thanks

    Hi
    You can load the transaction data without loading the master data. You have to check the option in update rules (update also if no master data exists).
    In reporting you will not be able to see the attribute and text data. Its always adivceable to load master data first and run apply hierarchy/attribute change and load the transaction data.
    AHP: Nice to see you after a long time
    REGards
    Rak

  • Nest AS3 swf into AS2 swf

    I purchased a flash template written in AS2, i have all files needed to customize this site, .fla, psd's you name it. I also purchased a photo gallery that is written in AS3 (did not know it was AS3 when purchased) . My question: is there any way to embed/nest the AS3 photo gallery, which i the swf file for, into my AS2 website?

    Per AS3 documentation:
    A single SWF file cannot combine ActionScript 1.0 or 2.0 code with ActionScript 3.0 code.
    SWF files written in ActionScript 1.0 or 2.0 cannot load SWF files written in ActionScript 3.0. This means that SWF files authored in Flash 8 or Flex Builder 1.5 or earlier versions cannot load ActionScript 3.0 SWF files.
    The only exception to this rule is that an ActionScript 2.0 SWF file can replace itself with an ActionScript 3.0 SWF file, as long as the ActionScript 2.0 SWF file hasn't previously loaded anything into any of its levels.

  • How can I insert a swf interactive quiz file in a muse website page?

    I have a number of swf quizzes published with Wondershare Quiz Creator and I need to place them on my Muse-created website. If I use the "Place" command from the file menu, I can place the swf file on my webpage. However, when I go to the page, the quiz stops loading at 90%. How can I put this file on my website so that students can take the quiz(zes)?
    I can send a copy of  the swf file if that is necessary to show me how to place it on my website. Thanks in advance for any help, as I've already spent hours trying to find a solution to this problem.

    I have a number of swf quizzes published with Wondershare Quiz Creator and I need to place them on my Muse-created website. If I use the "Place" command from the file menu, I can place the swf file on my webpage. However, when I go to the page, the quiz stops loading at 90%. How can I put this file on my website so that students can take the quiz(zes)?
    I can send a copy of  the swf file if that is necessary to show me how to place it on my website. Thanks in advance for any help, as I've already spent hours trying to find a solution to this problem.

  • How can i load a swf AND connect to a network location?

    I'm working on a fairly large framework application that
    consists of a large number of seperate files (swfs, stylesheets,
    xml etc etc) all being loaded in and then connecting to a remote
    server.
    My problem is that when i compile all my library swfs with
    -use-network=false all is well - until i try a
    NetConnection.connect() call, when i get told i can't connect to an
    internet url from a local-with-filesystem swf.
    Ok, so i created a .cfg file and placed it in the
    FlashPlayerTrust directory, indicating that i'm giving permission
    for everything in my 'deploy' directory to be trusted - which
    should allow it to do anything it like (load files AND connect to
    the network). But after doing that i no longer get any sandbox but
    my NetStatusEvent is never fired! I receive neither a success or
    failure message from the NetConnection... it just sits there and
    nothing happens...
    Can anyone point me in the right direction, there seems to be
    precious little information about situations like this, just a lot
    of people asking similar questions...
    Thanks
    T

    like i said in the original post the framework is a series of
    libraries, they're loaded at runtime depending on what's required.
    if i have the netconnection in a single swf it'll work in the
    standalone player or in IE or FF.... it'll work if i launch it
    locally and connect to a remote server, or when i put it on the
    server and access it through a browser.
    it's when it goes into one of the libraries that it fails -
    so a base swf loads a configuration file which tells it which
    libraries it'll need, one of those libraries contains the
    netconnection code - and the NetStatusEvent of the NetConnection is
    never fired - so i neither succeed nor fail in my connection
    attempt
    T

  • Loading additional swf in .AS file

    i want to load another movie onto my flash stage through an
    .as file but I’m not sure on how to do that. right now I have
    one movie loaded on to the stage in a movieClip called container. I
    would like to load a second swf on to another movieClip called
    container2, right below the contents of container1. the path for
    the container2 movieClip would be (“info/help.swf”);
    what should I do. i tried adding another class but i create a
    duplication error.

    Hello,
    SQL*Loader is used to load data into the database.
    May be I'm wrong but, I don't think you can "output" result query with it.
    Anyway you can find a link here about Oracle Utilities, there's a chapter on
    SQL*Loader:
    [http://download.oracle.com/docs/cd/B19306_01/server.102/b14215.pdf]
    Else to export in various format a result query I use generally SQL Developer.
    It's free and you can export even in Excell files (.XLS) your results.
    Hope it can help,
    Best Regards,
    Jean-Valentin
    Edited by: Lubiez Jean-Valentin on Nov 22, 2009 4:54 PM

  • Load external swf in Flash file...

    I am a beginner using flash. I only ask that those answering this question assume that I have no knowledge of flash (because I probably don't) and answer accordingly. I do have a grasp of ActionScript 3 so I can follow much of that. That said...the question:
    I have recently learned how to load an external swf inside another swf. What I'm trying to figure out is how to position the swf file precisely where I want it (I am making a flash GUI). How do I do this?

    Assign the desired x and y location properties for the Loader...
    var ldr:Loader = new Loader();
    ldr.x = 100;
    ldr.y = 100;
    addChild(ldr);
    ldr.load(new URLRequest("your.swf"));

  • Can't embed a 'SWF panorama viewer' file

    How I can embed in a flash builder application, a SWF panorama viewer, generated by Autopano Giga?
    When embed using SWFObject, nothing is displayed when compiled in SWF file..
    [Sorry for my bad english...]

    Thanks, I really appreciate the information. The only problem is that I have to keep it as a power point presentation.   I convert from ppt to a video, so I need to keep it as power point.
    I found these steps on the internet and followed them exactly, and went through the steps 3 times, to make sure I wasn't leaving anything out, and it just didn't work. I have a tech guy who's supposed to call me today regarding this issue, and hopefully he'll be able to go through it with me step by step to try and work it out.
    Ultimately, these are going to be training videos that are going to be set up on a website, so they ultimately have to be saved as videos. 
    I'm keep trying to figure it out though.
    Thanks.
    Ariane

Maybe you are looking for

  • Transfer songs from a ipod mini that was created from another account

    I bought a used ipod mini that came loaded with over 400 songs which I would like to add to my itunes MAC account. The ipod mini is in Windows format and I understand that at sometime in the future I will have to restore the ipod mini in order to con

  • Is it possible to publish one site to mac site and another site to a school

    I have an "About me" page which I wish students to have access to - but I don't want them to have access to the rest of my site - can I publish either just the "about me" page to a different school server or can I create a new site with just an about

  • Web Query issues

    Hi All, I have created a web query and assigned it to a role. I have moved the role, web templete and the query from dev to QA was able run the query fine without issues. The problem I am having is when I make changes to the query and transport it to

  • Invoice for material and service

    Hi! I am trying to set up the flow that would include the NORM and DIEN material together. As DIEN is not delivery relevant, it does not copy to my billing. Is it possible somehow that i have one invoice with those 2 materials? Thanks... cheers Bea

  • Unexpected "Microsoft.SharePoint.SPListDataValidationException: List data validation failed."

    Steps to replicate (I suspect it can be replicated with any list, not just a survey): 1. Create a survey 2. Go to Survey Settings / Validation Settings, enter a formula and a user message. 3. Respond to a survey.  3.1. If a formula validation succeed