loadMovieNum("movie.swf",1);

This is a discussion on "loadMovieNum("movie.swf",1);" within the Flash & Multimedia Forum section. This forum, and the thread "loadMovieNum("movie.swf",1); are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 17th, 2007, 17:50
New Member
Join Date: Jul 2007
Location: India
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
loadMovieNum("movie.swf",1);

How do I load a .swf movie in an existing .fla and place it defining _x and _y positions accurately? Can anyone please help me? I am very new to forums and very new to flash actionscript2.0. THANKS! Hope its not too confusing.

  #2 (permalink)  
Old Jul 17th, 2007, 18:02
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: loadMovieNum("movie.swf",1);

It's pretty easy, you can actually make an empy movie clip that will load in a .swf on release of a button.

Check this out:

Press f8 to create an empty movie clip. Don't put anything in it. Give it an instance name of shell.

On a button(whever it is) add this code.

Code: Select all
 
on (release)
{
shell.loadMovie ("test.swf", "/dog");
}
Rename your .swf as appropriate to whatever yours is called.

Cheers,

Scott
Last Blog Entry: Yay!? (Oct 8th, 2007)
  #3 (permalink)  
Old Jul 17th, 2007, 18:12
New Member
Join Date: Jul 2007
Location: India
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: loadMovieNum("movie.swf",1);

Sgaspar11 Hi! and thanks a ton! I'll try it and let you know whether I actually could implement it! Thanks for responding so fast! Really appreciate it. Whats the
"/dog"stuff???please. Thanks Scott...Very much!

Last edited by al2000123; Jul 17th, 2007 at 18:18.
  #4 (permalink)  
Old Jul 17th, 2007, 18:51
New Member
Join Date: Jul 2007
Location: India
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: loadMovieNum("movie.swf",1);

Hi Sgaspar11! Sorry - I really must be doing something wrong. I can load a .swf in a .swf movie on the click of a button but my problem is this:
my movie document size is 800 X 600 and I want to load another .swf in it whose size is 600 X 400 at precise _x and _y position is there any way I could do it? Thanks. Sorry for pestering you!
  #5 (permalink)  
Old Jul 17th, 2007, 19:16
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: loadMovieNum("movie.swf",1);

Add something like this on the button:

_root.shell._x = 300; //position wherever needed.
_root.shell._y = 300;

Keep in mind, if you presentation is 800x600 - 0, 0 is the top left corner.
Last Blog Entry: Yay!? (Oct 8th, 2007)
  #6 (permalink)  
Old Jul 17th, 2007, 19:44
New Member
Join Date: Jul 2007
Location: India
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: loadMovieNum("movie.swf",1);

Three Cheers for Sgaspar11!!!!! Hurray!!!!!!! PROBLEM SOLVED!!!
THANKS A MILLION!!! I did it as you advised. God Bless!!!!!!!

Closed Thread

Tags
flash8, loadmovie

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a "tag" system to find relevant "related" pages MrQuestions PHP Forum 3 Mar 20th, 2008 23:06
[SOLVED] Show "Image" Depends On User "Status"? Monie Classic ASP 6 Oct 16th, 2007 01:22
? IS "meta name="robots" content="?" necessary in pages ? Love2Java Starting Out 6 Aug 8th, 2007 13:48
window.opener.document["nameForm"].getElementById("someid").value; doesnt work drpompeii JavaScript Forum 0 Feb 17th, 2007 23:09
<option value="yes" class="x"> problem in Firefox mameha1977 Web Page Design 1 Jun 21st, 2006 11:20


All times are GMT. The time now is 01:41.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43