Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 01-30-2005, 06:50 AM   #1
Registered User
Join Date: Jan 2005
Posts: 1
Default loading swf in another level?

I was working on a purchased template and is rather newbie to flash actionscripts since I only used them for mostly animations.

Edit: forgot to mention it's flash mx actionscript..

Top level = main.swf
bottom level = pagexx.swf (xx = 1,2,3,etc)

Problem: When loading another swf from the main.swf into main.swf, it works fine. But now I have a problem of loading page2.swf from page1.swf which is now opened in main.swf. I've tried using loadmovienum but they overlap each other instead of page1.swf disappearing. Hope I explained the situation well enough. Here's the script from main.swf used to load page5.swf (where all the 5 = page5).

on(rollOver) {
if(_root.link<>5) {

on(rollOut) {
if(_root.link<>5) {


on(release) {
if(_root.link<>5 and _root.flag_animation=="true") {
_parent["item" + _root.link].gotoAndPlay("s2");

Last edited by warforge; 01-30-2005 at 04:30 PM. Reason: Clearer explaination?
warforge is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 11:38 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.