Control Main swf through external swf..

ok, this is a tough one for me.....
ive figured out timeline transitions, and timeline based preloaders......so now i have a problem.....
i have my MAIN swf file that i load all my pages in externally ( external swf files )....
when i click a button ( for example ) my "about us" button - the transition begins....
i have a keyframe with the following code on frame 40 ( inside a movie clip named "pages" in my main SWF where all the buttons/transitions are ):
var Xpos:Number=0;
var Ypos:Number=0;
var swf:MovieClip;
var bgloader:Loader = new Loader();
var bgURL
if(page==1){
bgURL=new URLRequest("pages/home.swf");
if(page==2){
bgURL=new URLRequest("pages/about.swf");
if(page==3){
bgURL=new URLRequest("pages/updates.swf");
if(page==4){
bgURL=new URLRequest("pages/contact.swf");
bgloader.load(bgURL);
bgloader.x=Xpos;
bgloader.y=Ypos;
bg.addChild(bgloader);
stop();
now as you can see, at the end it stops...and this is because my external swf files have timeline preloaders in them.....
now on frame 41 of my main swf, i created a label called "start" which i need to target from my external pages....
on all my external swfs i have this code on frame 2( and this is where i am having the problem ):
if(framesLoaded==80){
      MovieClip(parent).gotoAndPlay("start");
else if(framesLoaded<80){
     gotoAndPlay(1);
now, where i have MovieClip(parent).gotoAndPlay("start"); - i am trying to target my MAIN swf files timeline ( which is inside a movie clip on the main timeline called "pages").
however, it doesnt work....i cannot get my external swf to communicate correctly for some reason.....
how do i code my external swf files to know that once frame 80 has loaded on them, that it needs to direct my MAIN swf file to gotoAndPlay("start"); ??
im hoping someone can help here....

You may not need all of what you're trying to accomplish if you are just waiting for the swf to load before you command the main timeline to move along.  If you assign a listener to the loader you can determine when the file is loaded and ready to run without having the file figure that out itself and tell you about it.  Just add an INIT listener to your loader...
bgloader.contentLoaderInfo.addEventListener(Event.INIT,  eventHandler);
That line of code will have your main timeline waiting to call that eventHandler function until the loader content (your swf) indicates that it is loaded and ready for action.
So all you might need is (meaning no code is needed in your loaded swf's)...
stop();
var Xpos:Number=0;
var Ypos:Number=0;
var swf:MovieClip;
var bgloader:Loader = new Loader();
var bgURL;
if(page==1){
bgURL=new URLRequest("pages/home.swf");
if(page==2){
bgURL=new URLRequest("pages/about.swf");
if(page==3){
bgURL=new URLRequest("pages/updates.swf");
if(page==4){
bgURL=new URLRequest("pages/contact.swf");
bgloader.contentLoaderInfo.addEventListener(Event.INIT,  initHandler);
bgloader.load(bgURL);
bgloader.x=Xpos;
bgloader.y=Ypos;
bg.addChild(bgloader);
function initHandler(event:Event):void {
    gotoAndPlay(41);
Taking one step back to what you tried just so the intentions of that solution aren't wasted... the missing link in your attempt was neglecting to add a listener for the load completion that would have called the loaderCompleteHandler function...
bgloader.contentLoaderInfo.addEventListener(Event.COMPLETE,  loaderCompleteHandler);

Similar Messages

  • External SWF controlling main timeline

    Hi all --
    I have a main SWF file that I am loading a smaller, external
    SWF file into (with loadMovie, if you care to know). Within that
    smaller file, I have a button -- ideally, this button should
    trigger an action within the main SWF file.
    My problem is that I cannot get the external SWF file to
    control an action within the main SWF. I'm guessing there must be a
    way to do this, but I'm having some trouble here.
    Thanks in advance... please advise!

    Well.... there may be a reason if it is set up correctly and
    still doesn't work....
    Is this external SWF hosted on another server?
    If so, you might be running into crossdomain policy problems.
    I've had the issue that remotely-hosted SWFs will not OBEY commands
    from the root timeline while they are remote, but work just fine
    when they are copied onto the same server as the main SWF.
    Do a search on crossdomain policy XML in Flash help. It may
    help you get around this problem.

  • How to control timeline sound of external SWF

    Hi All,
    Basic Intro:
    I am new in Action Script and trying to create a video tutorial framwork. In this I have lots of animated SWF files in all the files I have multiple scenes as those are 5min. to 10 min. each and all the files have the relevent background and nurration voice place directly on the TIMELINE frame by frame to match lip syncing animated chreactors.
    My file structure :
    Login.swf with login box is embedded into the Index.html
    After logged in it will load another SWF which is Control panel.swf
    3. Controlpanel.swf has the controls to control the loaded external swf files i.e.: Chapter menu, Play, pause, replay, volume-bar, next and previous buttons.
    By Default Controlpanel.swf will open chapter1.swf as soon as user logged in so no one need to open 1st file.
    Here user can navigate to other chapter swf file through Chapter menu or Next and Previous buttons.
    All files are loading and playing properly, here I am trying to control the animation and Sound both at a same time with Pause, Play and Replay through relevant buttons.
    Problem:
    By pressing “Pause button” animation stops but not the sound. Sound remains playing, and if I replay the swf by “Replay button” than animation restarts but sound also restarts that overlaps already playing audio.
    Question: So could anybody help me finding out how to:
    1. Pause the sound with animation by the same click of Pause button, and
    2. Stop the sound with animation by the same click of Stop button, and
    3. On replay it should stop playing the previously running audio and restart it with the animation like fresh loaded file, it should not sound overlapping.
    Constraints:
    Here I am using the sound file on the same time line of each individual swf file which I cannot add into any single movie clip because all the chapter swf file are having multiple scenes in it.
    For my problem I have already done a lot of browsing online in various forums and didn't find the solution. So here I am sharing the complete information regarding the project and wishing to get some good solution out here but if I missed any helpful information please ask me anytime and please help me to quickly find out the solution.
    Thanks a lot to all of you in advance to help me.

    create one global sound variable
    you can write when you are pressing pause button
    globalsoundvariable.setVolume(0)
    to play
    globalsoundvariable.setVolume(100)

  • GotoAndPlay specific frame in external swf from main swf

    I have a main swf that loads 2 external swfs.
    I click on button to see content of external swf #1 and see stuff. I do something that causes external swf to show other stuff (i.e. not at beginning state)
    In the main swf I click on button to see content of external swf #2. External swf #1 content is made invisible and I see content of external swf stuff.
    NOW, if I click on button to take me back to see external swf #1, I see it's content in current state. I want to force it to start over again at frame #1 which will reset content.
    However, no matter what I try, I can't seem to control which frame to go to in external swf using gotoAndplay.
    Here is code in frame #1 of main swf to load external swfs:
    //load academic movie
    var swfLoader1:Loader = new Loader();
    container1.addChild(swfLoader1);
    var url1:URLRequest = new URLRequest("academic.swf");
    swfLoader1.load(url1);
    //load wisdom movie
    var swfLoader3:Loader = new Loader();
    container3.addChild(swfLoader3);
    var url3:URLRequest = new URLRequest("wisdom.swf");
    swfLoader3.load(url3);
    Here is code in frame 2 of main swf that checks button to see where to go in external swf:
    //academic button clicked
    function academicClick(event:MouseEvent){
       container3.alpha = 0;
       container3.visible = false;
       container1.visible = true;
       container1.gotoAndPlay(1); //this is where I am trying to force it to start at frame 1
       container1.alpha = 1;
    I don't want to reload the external movie to force it to start over.
    Any help would be much appreciated.

    You can easily control this by making the external swf to load with your movieclip, The below is the code snippet that clear on accessing the specific frame on external swf.
    //Loading clips content
    var ldr:Loader;
    var mcExt:MovieClip;
    //Loading
    loadswf("external.swf");
    function loadswf(tmp:String):void{
        unloadSwf();
        ldr= new Loader();
        ldr.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressListener);
        ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, swfLoaded);
        ldr.load(new URLRequest(tmp));
        function progressListener (e:ProgressEvent):void{
            ploader.visible=true;
        function swfLoaded(e:Event):void {
            mcExt = e.target.content as MovieClip;
            ldr.contentLoaderInfo.removeEventListener(Event.COMPLETE, swfLoaded);
            mcExt.addEventListener(Event.ENTER_FRAME,onEnterfn);
            ploader.visible=false;
            addChild(mcExt);
    //UnLoading
    function unloadSwf():void{
        if (ldr!=null){
            ldr.unloadAndStop();
            removeChild(mcExt);
            mcExt=null;
    //Intervals (The part you work on the specific frame within the external swf
    function onEnterfn(e:Event):void{
        var num:int=mcExt.currentFrame;
        if (num==1) mcExt.play();
        if (num==9) {
                mcExt.skipmc.addEventListener(MouseEvent.CLICK,skipfn);
                function skipfn(e:MouseEvent):void{
                    mcExt.stop();
                    mcExt.removeEventListener(Event.ENTER_FRAME,onEnterfn);
                    gotoAndStop("help");
        if (num==mcExt.totalFrames){
            mcExt.removeEventListener(Event.ENTER_FRAME,onEnterfn);
            gotoAndStop("help");
    hope it solve

  • Button from External SWF to Play Movie in Main SWF

    Hi Guys,
    Ok I'm working in Flash 8, Action Script 2;
    I'm building a website, in which the 'Gallery Page' has a link to an external swf file, which is a scrolling clip of thumbnails.
    What I want to do, is create each thumbnail into a button, which will then play a Movie Clip from a frame located in the Main swf file.
    (So basically, each thumbnail button is a small photo, will play that photo in a large scale as a movie)
    eg.
    thumbnail1_btn  needs to go to main swf and play movieclip1.mc, frame 1
    thumbnail2_btn nends to go to main swf and play movieclip1.mc, frame 2
    I'm unsure of the code for this? Or if I've built this up wrong?
    If someone could help me out, that would be great!

    If you haven't set _lockroot on the loaded SWF, than a simple _root call from the loaded SWF will talk to the main SWF.
    IE:
    on(release){
    _root.gotoAndPlay(1);
    If you did set the lockroot, then call the level directly, via:
    on(release){
    _level0.gotoAndPlay(1);
    Once on the root level, you can access a movie clip as normal.
    So:
    on(release){
    _level0.movieClip1.gotoAndPlay(1);
    will call the movie clip "movieClip1" which resides on the timeline of _level0 (which is main.swf in your instance), and tell it to jump to the first frame and start playing.

  • Control main timeline from loaded swf.

    Hi,
    I'm using a textfield for debug information.
    I'm loading an swf on the main timeline and I'm showing the status in the debug textfield.
    function swfLoaderCompleteHandler(event:Event)
         Debug.text +=  "Swf loaded.";
    That works.
    But,
    I'm loading a png file in the loaded swf. , I'm trying to show the status of the png file as I showed the status of the swf.
    function pngLoaderCompleteHandler(event:Event)
         MovieClip(parent).Debug.text += "Png loaded.";
    I can't control the main swf from inside the loaded swf. Even gotoAndStop or calling a function doesn't work.
    Do I need to add something when I load the swf, saying it's a MovieClip or something?
    Here's a fla too. http://flashfocus.nl/forum/attachment.php?attachmentid=9885&d=1282509233

    Thank you! you're brilliant!
    For people with the same problem:
    If you use CS5 and you have a TLF text on the stage, it doesnt work... I think it's a bug. But when I converted my TLF textfield to classic and everything works fine!

  • I need help with controlling two .swf's from third.

    Hi, thanks for reading!
    I need help with controlling two .swf's from third.
    I have a problem where I need to use a corporate designed
    .swf in a digital signage solution, but have been told by the legal
    department that it can not be modified in any way, I also can't
    have the source file yada yada. I pulled the .swfs from their
    website and I decompiled them to see what I was up against.
    The main swf that I need to control is HCIC.swf and the
    problem is it starts w/ a preloader, which after loading stops on a
    frame that requires user input (button press) on a play button,
    before the movie will proceed and play through.
    What I have done so far is to create a container swf,
    HCIC_container.swf that will act as Target for the HCIC.swf, and
    allow me to send actionscript to the file I'm not allowed to
    modify.
    I managed to get that done with the help of someone on
    another forum. It was my hope that the following script would just
    start HCIC.swf at a frame past the preloader and play button, and
    just play through.
    var container:MovieClip = createEmptyMovieClip("container",
    getNextHighestDepth());
    var mcLoader:MovieClipLoader = new MovieClipLoader();
    mcLoader.addListener(this);
    mcLoader.loadClip("MCIC.swf", container);
    function onLoadInit(mc:MovieClip) {
    mc.gotoAndPlay(14);
    But unfortunately it didn't solve my problem. Because there
    is a media-controller.swf, that is being loaded by HCIC.swf that
    has the controls including the play button to start HCIC.swf.
    Here's a link to a .zip file with all 3 .swf files, and all 3
    .fla files.
    http://www.axiscc.com/temp/HCIC.zip
    What I need to do is automatically start the HCIC.swf file
    bypassing the pre-loader and play button without editing it or the
    media-controller.swf in anyway. So all the scripting needs to be
    done in HCIC_container.swf.
    I know this is confusing, and its difficult to explain, but
    if you look at the files it should make sense.
    ActionScripting is far from my strong point, so I'm
    definitely over my head here.
    Thanks for your help.

    Got my solution on another forum.
    http://www.actionscript.org/forums/showthread.php3?t=146827

  • Control imported swf/movieclip

    I have one swf importing a number of other swf's to play in turn. I wish to control the imported.swf which is loaded into a movieclip (MainScreen) from the main.swf - in AS2 I used
         MainScreen.sfp=1;
         MainScreen.gotoAndStop("wait");
    which stopped play and sounds in the imported.swf or  MainScreen.gotoAndPlay("go"); which started the imported.swf
    In AS3, I have tried the same thing but get no response, though I can lick on a button in the imported.swf to make it play, I cannot control it via the main.swf - have also tried this.MainScreen.gotoAndStop("wait"); but no change. Am stuck as I do not wish to include buttons on each imported swf.
    Also: Can I copy the contents of one movie clip to another.  I have a series of movieclips mcp1, mcp2... inside another movieclip (mcp). I initially load several external.swf into this movieclip (mcp.mcp1 mcp.mcp2 ...etc) so as to see the progress of each swf loading (maybe 15 or 25 depending) then show one page at a time fulll screen. I have then in the past simply relaoded one imported.swf into the MainScreen movieclip which is quicker having preloaded each swf in a group, but this seams inefficient. Any comments or ideas appreciated.
    Thanks

    Thank you Ned... 12,500 responses odd, you have made more responses than I've had hot lunches.
    I appreciate you comment about removeChild and not unload, and that is what I tried to try.
    stop();
    function fwd_bF(event:Event):void {
          trace("fwd:");
          SoundMixer.stopAll();
    MainScreen.removeChild(ldr);      // MainScreen  is a movieclip
            pgno+=1;
           gotoAndStop("g_g");
          function rev_bF(event:Event):void {
       MainScreen.removeChild(ldr);
               SoundMixer.stopAll();
               trace("rev: "+pgno);
               pgno-=1;
               gotoAndStop("g_g");
    books_b.addEventListener(MouseEvent.CLICK, books_bF);
    home_b.addEventListener(MouseEvent.CLICK, home_bF);
    fwd_b.addEventListener(MouseEvent.CLICK, fwd_bF);
    rev_b.addEventListener(MouseEvent.CLICK, rev_bF);
    ldr.contentLoaderInfo.addEventListener(Event.INIT, dealWithIt);
    MainScreen.addChild(ldr);
    function dealWithIt(evt:Event):void {
          var MainScreen:MovieClip = MovieClip(evt.target.content);
          MainScreen.gotoAndPlay("go");
          play_b.addEventListener(MouseEvent.CLICK, play_bF);
          stop_b.addEventListener(MouseEvent.CLICK, stop_bF);  
          function play_bF(event:Event):void {
                trace("go...");
                MainScreen.gotoAndPlay("go");
          function stop_bF(event:Event):void {
                trace("stop...");
                MainScreen.sfp=1;
                MainScreen.gotoAndStop("wait");
    ldr.load(new URLRequest("swf/"+arm[pgno]+".swf"));  // arm[*] is array containing swf names.
                                                                                          // pgno  :Number keeps track page we’re at
    I have trouble getting the MainScreen to removeChild, it either removes the ability to reload or leaves multiple swf’s loaded into the mc. I’ve tried using MainScreen.removeChild(ldr) and MainScreen.removeChild(evt.target.content) inside the dealwithit function, but it does not like that either.
    I found a loader at Google that brings in multiple files (swf, jpg, mp3 etc) and puts swf’s to an array. Which all sounds applicable to what I require, but being new to AS3 etc it seems to be hidden in packages and cryptography, so I will need to see how I can put it in place. But I think I will still be faced with the same problem of then controlling the various swf’s.

  • Can I do a refresh inside the main swf container?

    I have a main swf container, who loads external swf .
    All my files are connected a php files who are connected  one database in one server.
    Sometimes when I load my project the external files they take a long time to load.

    No Ned all files ara small the most large file have 17 Kb. the problem is the first time that load's locally takes time to load.
    It seems that the first time that file is executed is not loaded

  • Need help embedding photo gallery swf into main swf...

    So I am attempting to create a website in flash and have the
    main swf created for that. However, I've also created a photo
    gallery in a separate swf which I want to embed into one of the
    scenes in the main swf. I tried importing directly to stage, but
    quickly realized that the timeline from the photo swf would not get
    carried over. Basically, I know that it has to be accomplished
    using AS, but don't know what that script would be. Any help would
    be appreciated!

    OK, well, that wasn't really a tutorial as much as it was
    just a huge section of code I couldn't make sense of. Anyways,
    instead of loading the gallery externally now I decided to just
    make it in the actual main swf. So, basically, in the section of
    the main swf reserved for the gallery I created an empty movie
    clip, went inside the clip, created layers for script, thumbs and
    photos. The photos themselves were in a movieclip of their own.
    Each photo has a small fade in accomplished by staggering the
    keyframes for each photo with a stop(); action on the last frame of
    each photo where it comes to full opacity. The thumbnails are back
    in the main movieclip where each button has code telling it to go
    to the beginning of each photos transition and play. It is supposed
    to play until it hits that stop action, but it won't play at all.
    Suggestions?

  • Hello please, somebody knows how to unload a movie clip recently loaded and back to the main SWF?

    Good night guys!
    I come humbly ask for your help ...
    I have an extensive animation .. A kind of map of Brazil with 33 stores in 4 states distributed .. Clicking on the desired state, it expands and appear their stores. Only the animation and the first store were enough to generate a SWF comporting 3 megabytes .. So I decided to use an external SWF to every single stores, otherwise would be too heavy ..
    My goal is: Every shop clicked, loads a new external SWF which occupies the entire screen .. So if I wanted to return to the main SWF with button, how should I proceed?
    I have found an article that shows communication between two SWF, however, some steps did not work and I want it to button.
    Please, if you know, needs to be in ActionScript 3.
    Can somebody help me?
    Thanks, I hope to answer

    Olá Felipe, tudo bem com você?
    In order to unload content loaded into a Loader object you can use either the unload() method or the unloadAndStop() method. The difference between them is that unloadAndStop() will unload the loaded SWF and try to stop executing any code that it was running including animations, sound and event listeners.
    If you wanto to call the unload() or unloadAndStop() methods from the loaded SWF you can use its loaderInfo.loader property to reference the Loader object that loaded it.
    It could be someting like this:
    this.closeButton.addEventListener(MouseEvent.CLICK, this.handleClose);
    protected function handleClose(event:MoueEvent):void {
         this.loaderInfo.loader.unloadAndStop();
    You can pass a Boolean parameter to unloadAndStop() to indicate if Flash's garbage collector should be run ont the unloaded SWF in order to free up memory. Considering the size of your SWFs, this could be a good option. The downside is that there is a performance penalty and in my professional experience, CPU is still a resource that is more scarce than memory, so use with care.
    Hope this helps.
    Abraço,
    Rui

  • Optimal size or when to start thinking about breaking main.swf

    Hi!
    currently I am about 1/4 way through requirements and my
    main.swf file is already 433 KB, plus one module which is 128 kb ,
    is there suggestions that I can get about whats the maximum
    size I should target for main file ? and when should I start
    worrying?

    Yes, this is a problem. My biggest module is 700Kb and I
    don't understand the reasons why it grows so quickly.
    And as soon as you started to worry about the size of SWF
    you'd probably start looking at the of the client. This is another
    sad picture - every popup could get a 5mb and thanks to garbage
    collector it will not be released soon. I can see how iexplorer.exe
    eats 300mb.
    I just don't understand it.
    Regards,
    Dmitri.

  • Load SWF file in main SWF with parameters

    Hello everybody,
    I recently got a new flash Application which is a Photo Gallery.
    This App is made of multiple folders (source files), a FLA file, a SWF with its javascript SWFObject and an Html page which instantiate this App with some parameters (size, config file path, ...).
    It needs an XML file to find all the Photos it displays, to do it I need to configure my application in the HTML Page and give it the "xml_path" :
    var so = new SWFObject("index.swf", "gallery", "249", "249", "10", "#111111");
    so.addVariable("xml_path","load/config.xml"); // this line is adding the path to the xml file make sure that it's name is xml_path
    so.addParam("allowfullscreen","true"); 
    so.write("flashcontent");
    By the way, I have a second application, the WebSite, which have to display the Gallery SWF in its "Gallery" page.
    Here is how I do it at the moment (in ActionScript3) :
    var swfRequest:URLRequest = new URLRequest("C:/......../Galerie/index.swf");
    var swfLoader:Loader = new Loader();
    //Charge le SWF Galerie dans le SWF Site
    swfLoader.load(swfRequest, context);
    container1.addChild(swfLoader);
    //Positionne le SWF
    swfLoader.x=10;
    swfLoader.y=120;
    It successfully loads the Gallery application but It shows an error telling me it doesn't find the XML configuration file... In the HTML file I simply had to write the "so.addVariable("xml_path","load/config.xml");" to tell where the XML file is...
    So, my question is : How can I integrate my SWF application giving it some parameters like above, in Action Script 3?
    Thank you ,
    Patrick

    No, nothing with HTML.
    I have 2 SWF applications. One is the Gallery, and the second is my Main Page.
    My Main Page must integrate the Gallery module in one of its page.
    The problem is when I try to integrate it, I think I must give de future loaded SWF some parameters like this :
    (My Main SWF loading in HTML)
    var so = new SWFObject("WebSite.swf", "flashcontent", "520", "700", "10", "#111111");
    so.addParam("allowfullscreen","true");
    so.addParam("allowScriptAccess","always");
    so.addParam("menu","false");
    so.addParam("wmode","opaque");
    so.addParam("bgcolor","#000000");
    so.setAttribute("id","flash");
    so.write("flashcontent");
    It was for the Main App. For my Gallery SWF I had to load it like this (in HTML) :
    var so = new SWFObject("Gallerie.swf", "gallery", "249", "249", "10", "#111111");
    so.addVariable("xml_path","Galerie/config.xml"); // this line is adding the path to the xml file make sure that it's name is xml_path
    so.addParam("allowfullscreen","true"); 
    so.write("flashcontent");
    So at the beginning I had 2 different projects with an HTML page for each.
    Now I wan't to directly integrate the Gallery SWF into the Main SWF. And as you have seen I must give it some parameters such as the "xml_path" and "allowfullscreen". This must be done in ActionScript 3 and I don't know how...
    I think I have to use FlashVars but I don't know how. As I said before, I have tried using the loaderinfo.parameters, but it is in read-only...
    Do you have an idea of how I can make it work ?

  • My iPod Touch will not play through external speakers when it is docked.  It only plays through it's internal speaker.  All the other functions on the iPod can be controlled by the external speakers (volume,track, etc).  How do I fix this?

    My iPod Touch will not play through external speakers when it is docked.  It only plays through it's internal speaker.  All the other functions on the iPod can be controlled by the external speakers (volume,track, etc).  How do I fix this?

    I would try in oreder:
    - Resetting the iPod:
    Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Restoring the iPod via iTunes.  First from backup and if problem persists, restore to factory defaults/new iPod.

  • Download SWFs to cell, run in main SWF

    Hey there people!
    We've got a tricky one for you guys, really hope you can help
    us out.
    We're developing a Flash Lite 2.1 application mainly for cell
    phones, and to start off we're testing on a Nokia N73.
    The application needs to be able to load SWFs which has been
    downloaded alternatively pushed to the phone and saved locally on
    the phone.
    There seems to be a number of challenges:
    1) How can we address a separate SWF locally from a main SWF
    on a cell phone?
    2) Any suggestions on how to distribute the separate SWFs to
    the phone? Push of some sort? Install SIS-file that places the
    separate SWFs in correct folder that main SWF can read from?
    3) Is it possible to write to an XML file locally on a cell
    phone?
    4) The application needs to list the separate SWF-files, how
    can this be done?
    As I mentioned, hope you guys can help us out!
    Thanks, Andreas

    ciao,
    1. you can use loadMovie function to load movies localy. but
    you should be using relative paths i.e. more_swfs/new.swf
    2. yes, you can make update SIS files with new/updated
    content, and install in same folder as the previous install. for
    more on update SIS, read the makesis help in the Nokia S60 SDK
    3. yes, but using a third-party .exe helper program. but i
    would suggest using shareobeject to save your data. SO can save
    native AS objects string/number/xml
    4. you can do it in two ways, 1) put a list.txt in your sis,
    and update sis files with updated list.txt 2) you can create a
    sequential loading loop, ie loadVariables("content_" add counter
    add ".txt") and check if the content_n.txt loads its data, if
    there's no data in last loaded text file, it means that file
    doesn't exist. so you should not loadmovie content_n.swf and break
    the loop
    note: this will show user an error message "unable to load
    data", and use can abort/exit the app at this point... so, i will
    recomend the 1st one ;)
    best regards,
    // chall3ng3r //

Maybe you are looking for

  • Can i use "Oracle Database 12c: Performance Management and Tuning " training for getting certification on "Oracle Database 11g: Performance Tuning 1Z0-054"

    i have taken "Oracle Database 12c: Performance Management and Tuning new" training from oracle university. Now i would like to get certified on "Oracle Database 11g: Performance Tuning 1Z0-054" exam. Is it possible ?

  • Font size of text too big on a mobile... why ?

    Hello, I use Muse CC 2014. I have the following problem: When I create a wide text area, and I write a few lines of text, when I look at the result on a mobile device (with Chrome for example, on Samsung Galaxy S4), in landscape mode all goes well, b

  • Stuck in recovery ... can't erase ... now what?

    Okay, I've tried it all! Now what? Is it worth taking to a Mac fixer or should I pitch it and buy new. My son has had his Nano 2nd generation for 3 years with no problems. BTW: I've updated to 7.7, I've set the ipod to disk mode, I've left it chargin

  • Iweb 1.1.2 problems

    Someone please help! I am using IWEB 1.1.2 and I dont know how to do the following... I am updating my website and I want to put in meta keywords, but I dont know how to do it. Anybody any ideas? Also, trying to use google analytics, have downloaded

  • SQL Report Error "RPT-0058" ?????

    Does anyone have old SQL Report manuals to help me research the following error from an SQL Report module? ***ERROR AT LINE 0: RPT-0058;CAN'T CREATE $2$DIA110:[WLS.CNB.TEMP]DAT$TE1000.RPF FOR OUTPUT 0 LINES READ FROM INPUT FILE 1 ERRORS ENCOUNTERED I