A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Actionscript 2.0 and Link problems

  1. #1
    Junior Member
    Join Date
    Jan 2012
    Posts
    1

    Angry Actionscript 2.0 and Link problems

    Good Afternoon,

    I am having an ActionScript 2.0 problem (or at least I think I am). I built a web site that is all Flash (Flash MX 6.0) that has one html page and links to a whole bunch of .swf files.

    Here is a link to the site:

    http://www.webwizkid.com/breaker boy...omepage 2.html

    It worked fine on my own PC, but now that I have uploaded it to my server, every link I click on goes to a Black Screen for several seconds before loading the next swf file. (This is especially true when clicking on the main links)

    Can someone tell me what I am doing wrong? I am do to present this in a week or so and I have tried EVERYTHING!

    I even built a Preloader, but the Preloader makes it go slower....


    I would appreciate any help you can give me at this point. Although I have to admit I am not ready to deal with Actionscript 3.0 and Flash CS5 yet.

    Hope to hear from someone soon!

    Sincerely,
    Arted68

  2. #2
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    are you sure the links are correct?
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

  3. #3
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    Hi,

    your first button has this as the code

    Actionscript Code:
    on (press, release)
    {
        loadMovieNum("history. inner.swf", 0);
    }

    i'm sure it should be

    Actionscript Code:
    on (press, release)
    {
        loadMovieNum("history/inner.swf", 0);
    }

    or

    Actionscript Code:
    on (press, release)
    {
        loadMovieNum("myfoldername/history.inner.swf", 0);
    }
    the other buttons have this sort of thing too

    but maybe you need to remove the spaces on your swf names and put the folder name they are located in before the swf name

    example "folder/my.swf" they need the folder name as they are embedded in the outer html page

    also perhaps use loadMovie() instead of loadMovieNum()

    toodles
    Last edited by fruitbeard; 01-22-2012 at 10:56 AM.

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