A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: multiple swf upload without nevigation

  1. #1
    Junior Member
    Join Date
    Sep 2012
    Posts
    10

    Unhappy multiple swf upload without nevigation

    Hello frnds may any one tell me how i can upload multiple swf to my main flash file to play one by one without any button nevigation

  2. #2
    Senior Member
    Join Date
    Mar 2006
    Posts
    139
    assuming you're using timeline animation you can just use

    Code:
    loadMovie("path to movie", 0);
    at the end of each swf to load the next swf on to level0...

  3. #3
    Junior Member
    Join Date
    Sep 2012
    Posts
    10
    Dear frnd
    thanx for your valuable reply, but my prblm is still remaining.
    Actually i am working on a project. basically its a presentation file for exhibition. client wants to be it play once and where this end it will be play again automatically.

    Now this file have:

    1) logo animation,
    2)product animation and
    3) 25 videos ( my client wants these videos will be play one by one automatic , where last video ends then all the video play again in loop)


    Now I am done all the work on this project, but my main problem is how i can add these 25 videos (Size 324MB).

    So firstly i convert these all videos in flv file.

    Now I made a new file called demo.fla,
    step1 : on layer 1 : I add a FLVplayback component.
    step2: by selecting that I give him content path > 1.flv
    step3: publish that and give the title 1.sfw

    similarly i do this for all the other 24 videos, so now i have 25 swf file (video file)

    NOTE: all the SWF file Has only one frame

    SO according to you I can't give the action loadMovie("path to movie", 0); because if i give that command its jumps directly to 2nd video.

    so plz tell me how i van do this , plz reply me, its very urgent, because this project must be given to client on Saturday evening.

    Thanks & Regards

  4. #4
    Senior Member
    Join Date
    Mar 2006
    Posts
    139
    hey,

    it's a bit difficult to understand without seeing the project but would it not be easier to make one long flv?
    Alternatively you could try something like this

    Code:
    //Change the FLVPlayback component instance name to "myMovie"
    instanceName = myMovie;
    
    //Import .flv file, Change the file name
    instanceName.contentPath = "lmyFLV.flv";
    var listenerObject:Object = new Object();
    //Listens for event to complete, then does an action
        listenerObject.complete = function(eventObject:Object):Void {
        if (instanceName.contentPath == "myFLV.flv") {
    //Action when event is complete
            //do something;
        }
    };
    
    //The listener
    instanceName.addEventListener("complete", listenerObject);
    this performs an action once the flv has finished, so you could tell it to load the next swf...

  5. #5
    Junior Member
    Join Date
    Sep 2012
    Posts
    10
    thanks but no result

    m so confuse plz make a flash 8 file and add 2 or 3 flv/swf file so that they play in sequence one by one.

    if possible give me this, plzzzzzzzzzzzzzzzzzz

    m trying to send u my file but i dont know how i can give u file here bcz no attachment button here

  6. #6
    Designer, Programmer, Musician angelhdz's Avatar
    Join Date
    Mar 2010
    Posts
    971
    Register for free at mediafire.com , upload your file there, and post the link here.
    Already mastering AS3. It was so fun. Now into Javascript and PHP and all its libraries

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center