Problems sending variables from parent to child SWFs

  • xhyroh
  • Newbie
  • Newbie
  • xhyroh
  • Posts: 12
  • Loc: United States

Post 3+ Months Ago

I was wondering if anyone knew a solution to this:

I have a swf (child.swf) that holds different images. That child is then placed in other 'shell' swfs (parent.swf). When loaded from clip.loadMovie("child.swf"); the LoadVars() function in the child.swf fails to load. When I load child.swf alone it works perfectly fine.

In short what I'm looking for is a way to load the variables in parent.swf and then send them to child.swf. I've tried many methods but cannot find one that will work. Please help. :3
  • xhyroh
  • Newbie
  • Newbie
  • xhyroh
  • Posts: 12
  • Loc: United States

Post 3+ Months Ago

/bump for luck and off to bed

Hope to see a reply when I return. O.o
  • classified
  • Expert
  • Expert
  • User avatar
  • Posts: 540
  • Loc: Bahrain

Post 3+ Months Ago

_lockroot = true ;
  • xhyroh
  • Newbie
  • Newbie
  • xhyroh
  • Posts: 12
  • Loc: United States

Post 3+ Months Ago

That's lovely...

Mind telling me how to use it?
  • classified
  • Expert
  • Expert
  • User avatar
  • Posts: 540
  • Loc: Bahrain

Post 3+ Months Ago

usually when you load external swf's * as far as i remember u gotta lock the root so it does'nt confuse with the paths otherwise give it a full path

e.g

_root.holder.X

u can always refer to the online livedocs by macromedia its really good ..
http://livedocs.macromedia.com/flash/mx ... 01522.html
  • xhyroh
  • Newbie
  • Newbie
  • xhyroh
  • Posts: 12
  • Loc: United States

Post 3+ Months Ago

Awesome. I got it working. Thanks alot man.
  • classified
  • Expert
  • Expert
  • User avatar
  • Posts: 540
  • Loc: Bahrain

Post 3+ Months Ago

xhyroh wrote:
Awesome. I got it working. Thanks alot man.

glad i can help ...
  • LiVe ViSiOn ~
  • Graduate
  • Graduate
  • User avatar
  • Posts: 105
  • Loc: Pakistan

Post 3+ Months Ago

Quote:
usually when you load external swf's * as far as i remember u gotta lock the root so it does'nt confuse with the paths otherwise give it a full path

e.g

_root.holder.X

u can always refer to the online livedocs by macromedia its really good ..
http://livedocs.macromedia.com/flash/mx ... wwhimpl/co mmon/html/wwhelp.htm?context=Flash_MX_2004&file=00001522.html

this dude is really genious
  • LiVe ViSiOn ~
  • Graduate
  • Graduate
  • User avatar
  • Posts: 105
  • Loc: Pakistan

Post 3+ Months Ago

i cant understand how do he manage ..... impressed ;)
  • LiVe ViSiOn ~
  • Graduate
  • Graduate
  • User avatar
  • Posts: 105
  • Loc: Pakistan

Post 3+ Months Ago

classified wrote:
xhyroh wrote wrote:
Awesome. I got it working. Thanks alot man.

glad i can help ...

yes u can ... through ur guideline me also did help some guyz
  • LiVe ViSiOn ~
  • Graduate
  • Graduate
  • User avatar
  • Posts: 105
  • Loc: Pakistan

Post 3+ Months Ago

datz y GLAD 2 ... i can help 2 :D
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

ohh man, are you trying to get like 20 posts/day?
if you do, at least try not to spam, other people may look on these topics and will see your posts and will probably wonder what are your post got to do with the questions. Honestly now, this section is not for sharing opinions about other people posts .... if you want such thing then i sugest you to use other sections of this forum or another forum.
  • classified
  • Expert
  • Expert
  • User avatar
  • Posts: 540
  • Loc: Bahrain

Post 3+ Months Ago

IceCold wrote:
ohh man, are you trying to get like 20 posts/day?
if you do, at least try not to spam, other people may look on these topics and will see your posts and will probably wonder what are your post got to do with the questions. Honestly now, this section is not for sharing opinions about other people posts .... if you want such thing then i sugest you to use other sections of this forum or another forum.


i agree ..
keep it short , simple & spam less ...
  • LiVe ViSiOn ~
  • Graduate
  • Graduate
  • User avatar
  • Posts: 105
  • Loc: Pakistan

Post 3+ Months Ago

sorry sir, my mistake , i ll never do it again

Post Information

  • Total Posts in this topic: 14 posts
  • Users browsing this forum: No registered users and 9 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.