Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 13th, 2004, 06:46 PM
RobCat RobCat is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: England
Posts: 4 RobCat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
using a button to load an external movie

Hiya,

I've been reading through the articles and have seen something similar,.,. but I still can't quite grasp how this is supposed to work so.. .

I have a main.swf into which I am loading my menu.swf with createEmptyMovie.

**createEmptyMovieClip("menu_holder", 3);
menu_holder._x = 0;
menu_holder._y = 0;
menu_holder.loadMovie("menu.swf");**

I have a button in menu.swf that I want to use to display page1.swf in layer 2 of main.swf so that the menu shows when page 1 is loaded.

I'd really appreciate any help here, basically I'm new to flash mx and its a bit of a mystery.

Thanks

Cat ^.^

Reply With Quote
  #2  
Old February 14th, 2004, 06:38 PM
Tann San Tann San is offline
Gotta get to the next screen..
Click here for more information.
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,584 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 7835 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 5 h 42 m 29 sec
Reputation Power: 534
Facebook MySpace
Hi, if your menu.swf is ordered so that all the buttons are in the top level of that particular movie then this should do it:
Code:
   
on(release)
   {
       _parent._parent.loadMovie("page1.swf", 2);
   }
__________________
-Tann

-Vote for your favorite ActionScript editor here.

Reply With Quote
  #3  
Old February 16th, 2004, 07:28 AM
RobCat RobCat is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: England
Posts: 4 RobCat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
meow

ay! thanks mate - it turns out this is the code to solve my problems:

_root.content_holder.loadMovie("blank.swf");
I was just missing the _root
heh.. live and learn.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > using a button to load an external movie


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway