you wanto to load a swf from a xml and pass a parameter by the url in
the xml ??
why dont you put these variables in the same node and when you load it
you pass to your swf?
--Pedro Taranto
Gustavo Duenas escreveu:
ok, how can i do it using swf?
link in xml file:
1.swf?id=something
action script....
this is what I don't know, how can I send it.
Regards
Gustavo Duenas
On Mar 20, 2007, at 1:15 PM, Pedro Taranto wrote:
you have to pass the variables to the swf, if you are passing by html
you have to use some script language to pass it swf
--Pedro Taranto
Gustavo Duenas escreveu:
ok Pedro, let me see if I can get it:
on the xml link.
1.swf?id=something or should be the html where this one is embedded
like 1.html?id=something
var id = _root.id;
if ( id==something){
tellTarget(_root.mc){
do something;}
}
is the right thing?
or
myText.txt = _root.id;
if (_root.id==something){
tellTarget(_root.mc){
do something;}
tell me if the first is right, or the second or both are wrong, I
have a few ideas on mind and I'd like to resolve this matter before
going forward.
Regards
Gustavo Duenas
on the action script.
On Mar 20, 2007, at 12:36 PM, Pedro Taranto wrote:
it is loaded on the _root
you use like this ==> yourTxt.text = _root.userId
--Pedro Taranto
Gustavo Duenas escreveu:
Hi, I have a curiosity...or an itch about something (I'm full of
it). The thing is that I'm loading a xml page into my flash and
I'd like to know
how can I handle the links, I know I can trigger external events
(in a browser window), but there is a way that this particular xml
link, can trigger an
event inside the flash , like using the regular buttons. I've
tried in the past with html variables:
mypage.html?userId=something but not good results, maybe I was
wrong in the written.....
but how can I make the flash read it?
I'd appreciate your help.
Regards.
Gustavo Duenas
P.s: how the flash vars works and how ca I use it.
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com