Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 02-20-2007, 09:50 AM   #1
surface8
Registered User
 
Join Date: Feb 2007
Posts: 1
Default add external swf (from slide.com) in main flash

I'm new to actionscript and would like to do something very basic. I'd like to include a slide.com swf in my main swf. I'm using loadMovieNum to add the external swf, but I'm having problems passing the flashvar to the main swf internally. I've read that loadVariableNum is internal to the main swf, while flashvar is external. I've tried this and it doesn't work.

below is a typical source slide.com swf url
src="http://widget-95.slide.com/widgets/slideticker.swf"
flashvars="cy=un&il=1&channel=8528021&site=widget-95.slide.com"

My attempt.
loadMovieNum("http://widget-bf.slide.com/widgets/slideticker.swf",0);
loadVariablesNum("cy=un&il=1&channel=8365247&site= widget-bf.slide.com",0);

any help would be appreciated...
surface8 is offline   Reply With Quote
Old 02-20-2007, 10:49 AM   #2
inhan
it's all about patience
 
inhan's Avatar
 
Join Date: Jun 2005
Location: istanbul
Posts: 6,696
Default

To load from other domains you need cross-domain policy set to share files with your domain or all domains, in the other party.
__________________
Ali Inhan
Turkish graphic and web designer
an Apple fan
www.aliinhan.com
inhan is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
External swf to code to frame label???? MYYZTIK ActionScript 2.0 7 02-10-2007 10:11 PM
external swf and input text boxes mhbb32 ActionScript 2.0 11 02-04-2007 06:21 PM
how to load movies in one main flash popup movie as per button click from navigation designmagic ActionScript 1.0 (and below) 0 12-20-2004 12:39 PM
loading external flash movies cjone ActionScript 2.0 2 12-09-2003 05:34 AM
controlling an external swf loaded in a main swf from within this main swf? Jello ActionScript 1.0 (and below) 7 05-04-2003 11:49 PM


All times are GMT. The time now is 01:00 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.