Flash Gallery | Flash Templates | Flash Menu | Flash Design | Flash Audio & Video

flash page flip

Actionscript 3.0 video tutorials

+ Reply to Thread
Page 4 of 4
FirstFirst ... 2 3 4
Results 31 to 34 of 34

Thread: Loading external swf with no use of AS files

  1. #31
    Junior Member Settled In jojo08 is on a distinguished road
    Join Date
    Dec 2008
    Posts
    1
    Rep Power
    0

    Re: Loading external swf with no use of AS files

    amazing Flash templates
    Quote Originally Posted by Flep View Post
    Hi Susanne,
    if you download the sample files of this thread, you'll see the code of main.fla .
    You could create one array ( like my_buttons in the sample ) for each main button and populate the array with sub buttons.


    Hey Flep, hey Susanne
    I have the same problem. Susanne did you manage to solve your problem?
    I also have 2 main buttons with each 2 sub buttons which each load a swf. with the first buttons it works fine, but with the 2nd button it works only half way. i canīt jump between the sub buttons once i used the first two sub buttons!
    i think i canīt get the code right for the second array?
    any idea???

  2. #32
    Junior Member Settled In shinobisan is on a distinguished road
    Join Date
    Oct 2009
    Posts
    3
    Rep Power
    0

    Re: Loading external swf with no use of AS files

    Hello, how can I swap depths so that my menu is always visible and loaded content does not cover it. I have tried adding a function to the timeline like this:

    Code:
    function swap():void
            {
                swapChildren(holder_mc,menu_mc);
                swapChildren(holder_mc,timeline_mc);
            }
    I get no output error, but still it does not work.
    Buttons are contained inside menu_mc by the way.
    I would really appreciate any help with this problem.
    Thanks in advance.

  3. #33
    Junior Member Settled In shinobisan is on a distinguished road
    Join Date
    Oct 2009
    Posts
    3
    Rep Power
    0

    Re: Loading external swf with no use of AS files

    Ok, I figured it out, I dunno if it's the best way to do it but at least it works.

    I added this:

    Code:
    swapChildren(holder_mc,menu_mc);
    swapChildren(holder_mc,timeline_mc);
    after this:

    Code:
    addChild(holder_mc);
    Right after the variables are initiated.

    I had first incorporated the 2 swapChildren lines inside the onImageLoaded function, but only worked the first time, whenever I clicked on another button everything got swapped back. I wonder if anyone could point out the proper way to do this for me. I'm still a noob at AS3. Thanks!

  4. #34
    Junior Member Settled In shinobisan is on a distinguished road
    Join Date
    Oct 2009
    Posts
    3
    Rep Power
    0

    Re: Loading external swf with no use of AS files

    How can I create rollover animations for buttons?
    I tried using event.target with no luck.
    I can get a trace in my function but cant get the animation to work.
    Please help!!

+ Reply to Thread
Page 4 of 4
FirstFirst ... 2 3 4

Similar Threads

  1. preLoader with external files!!!
    By losbenos in forum advanced Actionscript 3.0
    Replies: 10
    Last Post: 01-11-09, 09:21
  2. load External swf files with AS3
    By tuanDuy in forum advanced Actionscript 3.0
    Replies: 2
    Last Post: 12-03-09, 01:08
  3. Loading mulitple external .swf files
    By mrentschler in forum Actionscript 3.0 newbies
    Replies: 1
    Last Post: 09-10-08, 22:24
  4. load External swf files with AS3
    By tuanDuy in forum HELP free utilities
    Replies: 0
    Last Post: 27-05-08, 10:44
  5. Loading external XML files with Flash CS3
    By Flep in forum Tutorials
    Replies: 14
    Last Post: 19-11-07, 15:23

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Optimization by vBSEO