Welcome to TalkGraphics.com
Results 1 to 10 of 28

Threaded View

  1. #1
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,959

    Default Using the Flash command "_level" in XXPro.

    I haven't seen this documented but someone was asking whether you could get one swf movie to call another. I wasn't sure but I thought I'd give it a try. I was pretty certain you could get one html page containing flash to call another but could you get XXPro to load further swf files in different LEVELS as per the ActionScript command :

    Code:
    on (release) {
     loadMovieNum("coast.swf",2);
    }
    Whereby the swf in layer0 loads the swf "coast.swf" into layer 2 WHILST layer0 remains visible.

    In fact you can get it to work very well using XXPro and the Web Address dialogue.

    As an example of how to replicate the actionScript above in the Web Address use the url as coast.swf and the Target Frame of _level2.

    There are some important things to note:

    1: The loading of swf's into different levels will not work in the Flash Browser Preview. It has to be uploaded to a web server directory.

    2: Whilst editing pages you can upload a new swf file that you've altered in some manner. When you test it, nothing's changed!

    This is because the swf is always being loaded from the local cache. Refreshing the swf file won't have any effect as you're only updating the level zero swf, the swf's on higher levels still continue to be loaded from your computers cache. The only way to completely refresh loading all swf files is to go into Internet Options / Delete Temp Internet Files.


    Anyway here's an example. It might look like one XXPro swf file but is in fact eight seperate & distinct XXPro swf files. CLICK HERE


    It's quite simple & could have been done in a single XXPro swf file but even at this level of simplicity to do it in one linear fashion would soon start to tax the brain. Each swf only has a single frame.

    I also attach the various swf's. Not exiting in themselves but hopefully in assisting you in what's going on.
    Attached Files Attached Files
    Last edited by Egg Bramhill; 16 December 2006 at 11:34 PM.
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
    IP

 

 

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
  •