Forum Moderators: open

Message Too Old, No Replies

Flash2k4 Iframe Alternative?

Flash2k4 Iframe Alternative?

         

Binary

5:04 am on Apr 17, 2004 (gmt 0)

10+ Year Member



Hey guys, First of all i'd like to say nice forums :P
Secondly, I want to ask if anyone can help me with my problem.

I want to make a type of iframe on my flash website.
I want to beable to make it where if i click "Button A"
A scene, or swf opens in A frame on the page, but nothing else will change but that target frame o_o , lol..

Any help will be greatly appreciated =)

(b = where i want the file to open)
[binaryunleashed.com...]

Soth

3:29 pm on Apr 19, 2004 (gmt 0)

10+ Year Member



Hey binary :)

I am not sure if your site is full flash or a hybrid.

If its a full flash site you can create a movieclip the same size as the area you want to load a swf into and then tell flash to load the swf into the mc.

So if you make your movieclip and name it 'iframe', you would have something like this in the button's actionscript

on (release) {
iframe.loadMovie("whatever.swf");
}

This basically says:

Which Object(iframe).What action(loadmovie)("name of movie")

If it helps at all I can make a quick mock up of what I mean that I can send you.

Hope this helps :)

BTW all, am new here so nice to meet everyone :)

Binary

7:34 pm on Apr 19, 2004 (gmt 0)

10+ Year Member



Hey soth, Thank you for your help =)
But i still cant seem to get the hang of it T_T
Im running off Flash 2k4, If you wouldnt mind taking a look at my files, and perhaps tell me what im doing wrong, i'd greatly appreciate it :D

(i saved it in flashmx mode instead of 2k4, i hope this doesnt cause conflicts)

[binaryunleashed.com ]

(your method)

[binaryunleashed.com ]

(some one else's)
(i cant seem to get either to work :P)

Thanks again ^^

Soth

9:35 pm on Apr 19, 2004 (gmt 0)

10+ Year Member



Hey again binary :)

My fault :) I did not explain myself properly. When I said name your movieclip 'iframe', I meant its instance name, not the actual name of the movieclip hehe.

Here it is on the an actual web page.

[bodyimagedesigns.com...]

and here is the working zip

[bodyimagedesigns.com...]

Hope it helps :)

Soth

9:43 pm on Apr 19, 2004 (gmt 0)

10+ Year Member



Oh btw... your method works aswell. Again just the instance name was missing. Just incase your not sure what i am talking about, in the properties section at the bottom of the screen, under the drop menu, you will see a little input box with <instance name> in it. That is where you give it your instance name. So click on the movieclip and type 'emptymc' in there and away she goes :)