PDA

View Full Version : load url from flash? iframe? scrollpane?


stormydoll
03-01-2003, 06:27 AM
How are plain text/html/url pages loaded from flash? Say, if I were to make a button... how do i target a url to show up in an iframe? (ex: http://www.yewknee.com) Can you do it with a flash scrollpane as well? (I want to use flash scrolling)

I've made an iframe, tried a bunch of different target combinations with getURL in flash, put them together...but none seem to work. Are there other steps?

This is probably a really dumb question, but please help! And maybe with a tiny bit of detail, please and thank you. I'd appreciate it very much!:)

Billy T
03-01-2003, 06:31 AM
to target a regular frame you just use

getURL("whatever.html","frameName");

I presume an iframe would be the same...have you tried that?

stormydoll
03-14-2003, 03:09 AM
hi billy,

thank you, my buttons and iframes are now working perfectly fine,

BUT i've ran into another problem:

-I have two iframes and one button menu (outside of the iframes)

-iframe #1 loads html pages with getURL (this is what is working fine)

-I WANT external .SWFs to load in the other iframe (#2) AT THE SAME TIME as the html pages, from one button.


My two iframes have differnt names and I am targeting them accordingly, but only the html iframe seems to be responding.

I'm assuming my script on the button is just wrong... I have something like:


on(release){
loadMovie("movie.swf", "frame_two");
getURL("http://www.webpage.com", "frame_one");
}


What would be the proper script for this??
Is there an easier way? Is this even possible???

Please somebody help me out! Thanks!

Billy T
03-14-2003, 08:32 AM
I love it when people only bother to say thanks when they run into another problem...

use a getURL for the swf too