00:00
00:00
Newgrounds Background Image Theme

Someone gifted MetalSlayer69 supporter status!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Load Movie c'mon. its for me, BEAST

2,785 Views | 14 Replies
New Topic Respond to this Topic

OK, there are loads of you who can answer this one, i am using flash 4, but have the option of 5 if this is not possible...

OK...

I have remade my website all in flash and called the .swf file "interface", this is what i want. When a button is clicked, i need to load one of my movies/games into the interface of the website. This is all fine exept when i do this it replaces the interface and i cant get back to it..lol pretty pointless.

i used this scripting:

on mouse event (release)
load Movie ("http://www.echo27.com/Flash/Hostage Situation 2 preview.swf","_level1")
go to and play HS2
end

How can i make it so it loads into a specific area of the interface, like into a movie clip??? so it looks like its in a box in the middle of my interface.

lets say we have a movie clip called "player" and i want it to load in here, is that possible???

if not how else could i go about doing this, is there a way i can make a pop up window and specify (inside of Flash) the size, nonscleable, and no option crap around it???

i would much appreciate any help ppl,

cheers

-BEAST

ps: there are prob millions of spelling mistakes, sorry!

Load Movie c'mon. its for me, BEAST

Response to Load Movie c'mon. its for me, BEAST 2001-03-07 18:18:01


My answer is: I don't know how

I know what you mean though. Maybe if you make it load into layer 0 and make a spot with nothing for the movie, but i don't know how you'd specify its size or position.

Response to Load Movie c'mon. its for me, BEAST 2001-03-08 07:11:47


At 3/7/01 06:18 PM, thisisnotmike wrote: My answer is: I don't know how

I know what you mean though. Maybe if you make it load into layer 0 and make a spot with nothing for the movie, but i don't know how you'd specify its size or position.

Oh MY GOD, thisisnotmike doesnt know the answer to a question :O

thats gotta be a first, blimey, never seen that before, you usually know everything! :)

cya

-BEAST
(just to clear things up, that WASNT carcatsic either, though it hay have sounded it!)

Response to Load Movie c'mon. its for me, BEAST 2001-03-08 13:25:05


Hehe. If you'd make it in a bottom layer and resize the movie so it's the same size as the menu, and make the movie viewed in the top section and leave it blank there, then that might work.

Or you could make a frameless popup window with no margin and set the position of it to the spot where you want it at, then just make it so when it's over the window closes. That'd probably be hard to do, and wouldn't work on some screen sizes.

Response to Load Movie c'mon. its for me, BEAST 2001-03-08 14:35:11


At 3/8/01 01:25 PM, thisisnotmike wrote: Hehe. If you'd make it in a bottom layer and resize the movie so it's the same size as the menu, and make the movie viewed in the top section and leave it blank there, then that might work.

I dont understand...

i neva wen tu skool,

-BEAST

Response to Load Movie c'mon. its for me, BEAST 2001-03-14 13:46:45


Don't know if you still need help with all this, but here goes..

You can load your new movie/game into a movieclip on the original. In the Load Movie parameters box, change the location from level to target. I think then all you have to do is give the instance name of the movieclip to be replaced.

And so you know, I haven't actually tried this myself. I happen to have a $60 Flash book that lies around on my floor, and it seems to have answers to everything.


BBS Signature

Response to Load Movie c'mon. its for me, BEAST 2001-03-14 17:52:42


At 3/14/01 01:46 PM, chase wrote: Don't know if you still need help with all this, but here goes..

You can load your new movie/game into a movieclip on the original. In the Load Movie parameters box, change the location from level to target. I think then all you have to do is give the instance name of the movieclip to be replaced.

And so you know, I haven't actually tried this myself. I happen to have a $60 Flash book that lies around on my floor, and it seems to have answers to everything.

Suprisingly, i still need help with this, i am getting really pissed off now :(

That was exactly what i tried mate, but it didnt seem to work, that why i am trying something else now, Do you know how to do this???...

i want to make a javascript pop-up window, from inside flash, but i am not sure what script i need to put between the tags in the get URL action.
i want it so that it is a specific size, and so its non-resizable, and no bars or option crap is anywhere either, like on UF3000.com.

cheers if ya can help,

-BEAST

Response to Load Movie c'mon. its for me, BEAST 2001-03-14 18:49:52


Try this site, it looks pretty helpful with what you need.

Of course, you'd have to make some minor alterations to the given code, such as scrollbars=no and the width and height.


BBS Signature

Response to Load Movie c'mon. its for me, BEAST 2001-03-18 18:10:07


mmmm...i thought it automatically loaded it over the top of the old swf :)
well thats what it did last time i used loadmovie...

try putting the action script in a movieclip

Response to Load Movie c'mon. its for me, BEAST 2001-03-20 19:14:37


If you still need help with this, heres what you could do : in your getUrl, specify the target to _blank. Call a goofy url like say, dipshit.html. In dipshit.html, have an <Body onLoad() event which will call a Js function that open another page (the good one) using parameters to set the window like you want it (in this case, without toolbars and scrollbar). There's probably a shorter way to do it, but I can't think of it right now. If you need help with the Js, maybe I can provide some answers.

Response to Load Movie c'mon. its for me, BEAST 2001-03-20 19:15:47


If you still need help with this, heres what you could do : in your getUrl, specify the target to _blank. Call a goofy url like say, dipshit.html. In dipshit.html, have an Body onLoad() event which will call a Js function that open another page (the good one) using parameters to set the window like you want it (in this case, without toolbars and scrollbar). There's probably a shorter way to do it, but I can't think of it right now. If you need help with the Js, maybe I can provide some answers.

Response to Load Movie c'mon. its for me, BEAST 2001-03-21 06:41:01


At 3/20/01 07:15 PM, EricMelvin wrote: If you still need help with this, heres what you could do : in your getUrl, specify the target to _blank. Call a goofy url like say, dipshit.html. In dipshit.html, have an Body onLoad() event which will call a Js function that open another page (the good one) using parameters to set the window like you want it (in this case, without toolbars and scrollbar). There's probably a shorter way to do it, but I can't think of it right now. If you need help with the Js, maybe I can provide some answers.

hmmm, im not too sure how to do that, i am not very experienced at this type of thing,

i found this at flashkit,

Get URL ("javascript:newWindow('www.echo27.com/pages/HS2','newWin','height=400,widt h=600,toolbar=0,menubar=0,location=0,scrollbars=1,resizable=1')", vars=POST)

that didnt seem to work at all, maybe its the bit at the end, that vars=POST, what the hell does that men?

Response to Load Movie c'mon. its for me, BEAST 2001-03-21 16:51:48


At 3/21/01 06:41 AM, BEAST wrote:
At 3/20/01 07:15 PM, EricMelvin wrote: If you still need help with this, heres what you could do : in your getUrl, specify the target to _blank. Call a goofy url like say, dipshit.html. In dipshit.html, have an Body onLoad() event which will call a Js function that open another page (the good one) using parameters to set the window like you want it (in this case, without toolbars and scrollbar). There's probably a shorter way to do it, but I can't think of it right now. If you need help with the Js, maybe I can provide some answers.
hmmm, im not too sure how to do that, i am not very experienced at this type of thing,

i found this at flashkit,

Get URL ("javascript:newWindow('www.echo27.com/pages/HS2','newWin','height=400,widt h=600,toolbar=0,menubar=0,location=0,scrollbars=1,resizable=1')", vars=POST)

that didnt seem to work at all, maybe its the bit at the end, that vars=POST, what the hell does that men?

1/. The variables are usually used for communicating via HTTP (ie to a form or with a database), so ignore those for now.

2/. In order for the javascript in that GetURL to work, you need some javascript functions pre-defined in your html earlier on in the html (usually between the <head> tags).

3/. To load a movie (in Flash 4, you'll have to adapt this for 5), you'd use (on the main.swf file):

On Release:
Load Movie ("movie.swf", 1)
End On.

Providing you have access to a button (ie you can still see it) you'd then have to set a "back" button on the main.swf with the actions:

OnRelease:
Unload Movie(1)
End on.

Hope that helps. Sounds like it's a lot less complicated than you originally thought.....

Response to Load Movie c'mon. its for me, BEAST 2001-03-21 19:23:29



1/. The variables are usually used for communicating via HTTP (ie to a form or with a database), so ignore those for now.

2/. In order for the javascript in that GetURL to work, you need some javascript functions pre-defined in your html earlier on in the html (usually between the <head> tags).

3/. To load a movie (in Flash 4, you'll have to adapt this for 5), you'd use (on the main.swf file):

On Release:
Load Movie ("movie.swf", 1)
End On.

Providing you have access to a button (ie you can still see it) you'd then have to set a "back" button on the main.swf with the actions:

OnRelease:
Unload Movie(1)
End on.

Hope that helps. Sounds like it's a lot less complicated than you originally thought.....

Cheers man, ive kinda sorted it now, i didnt use the load movie in the end, just the pop up window, and its all good :)

-BEAST, you certainly know your stuff young man, you interrested in teaming up at all?

Response to Load Movie c'mon. its for me, BEAST 2001-03-22 09:56:49


There was certainly much facts here and i got tired and stopped reading...