PDA

View Full Version : load a swf with getURL



subquark
May 16th, 2003, 01:52 PM
I did a quick search to find how to load a swf into an already playing swf with a getURL action. Is this possible? Like loading a jpg but I want to load a swf. Does that make sense?

Say I have an empty mc in my swf and want to call a swf from an absolute address, like

getURL ("http://www.subquark.com/projects/demoA.swf", myEmptyMC);

I have not tried it yet 'cause I'm at work (no flash here) but I was talking to someone . . . about creating a logo once and then just calling it from one location (site by subQuark). That way I only need to update it in one place for html sites (as I do now) or for all flash sites (which I do per site now).

Anyway, thanks in advance!

eyezberg
May 16th, 2003, 05:14 PM
just use loadMovie on the logo..!?
you can't getURL into a target. i think..

subquark
May 16th, 2003, 08:54 PM
hey, I thought you French did not like the French-Canadians! Thanks for the advice. I was just wondering if you could do a swf like a jpg with a getURL. But now I see that there is no method to target the movie clip. Thank you for your insight!

eyezberg
May 17th, 2003, 03:22 AM
1. How could I know you're french-canadian, it says Boston/Miami in your profile. I'd never have (maybe) helped you, had I knwon! lol
2.I never heard French don't like F-C..?! why should they?
3. I'm German, so not concerned anyway, :)

subquark
May 17th, 2003, 09:58 AM
:!: yeah, over here anyway the french don't like us, but then I don't think they like anyone, you're right, I thought my profile said I was an angry french canadian

my dad's side of the family were muller's but they changed the name to miller, my stepdad is dutch and his name is VandenBerg (your name is Berg?)

I like german beer (Spaten Optimator is the best!!!) and german chef knives (Henckle). Ooh, that's not a good combo!

SPITZE!

Voetsjoeba
May 17th, 2003, 02:12 PM
Simply use this I guess :)

yourmovieclip.loadMovie("http://www.subquark.com/projects/demoA.swf");

subquark
May 17th, 2003, 02:20 PM
thanks, that looks like an interesting way to do this

i'll check it out :)