Is this of use? (From Flash docs)
asfunction protocol
asfunction:function:Function, parameter:String
A special protocol for URLs in HTML text fields that allows an HREF link to
call an ActionScript function. In HTML text fields, you can create links using
the HTML A tag. The HREF attribute of
someone said that flash newbies was not longer available...is that true?
regards
Gustavo Duenas
On Mar 21, 2007, at 4:29 PM, Merrill, Jason wrote:
to read the xml. just loadVars()
the code in xml :
link a href=1.swf?id=nada//link
actionscript: ???
and how could I have this processed in
22, 2007 8:30 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] html vars and flash vars
someone said that flash newbies was not longer available...is
that true?
regards
Gustavo Duenas
On Mar 21, 2007, at 4:29 PM, Merrill, Jason wrote:
to read the xml. just loadVars
sounds good, how could I do it?
Regards
Gustavo
On Mar 20, 2007, at 2:32 PM, Pedro Taranto wrote:
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
show your xml file with the link and the code you are using to load
--Pedro Taranto
Gustavo Duenas escreveu:
sounds good, how could I do it?
Regards
Gustavo
On Mar 20, 2007, at 2:32 PM, Pedro Taranto wrote:
you wanto to load a swf from a xml and pass a parameter by the url in
the xml ??
to read the xml. just loadVars()
the code in xml :
link a href=1.swf?id=nada//link
actionscript: ???
and how could I have this processed in the flash?
Regards
Gustavo
On Mar 21, 2007, at 11:15 AM, Pedro Taranto wrote:
show your xml file with the link and the code you are using to load
to read the xml. just loadVars()
the code in xml :
link a href=1.swf?id=nada//link
actionscript: ???
and how could I have this processed in the flash?
Don't use LoadVars to load the XML - there is a whole class in
Actionscript to handle XML. Look in the help docs for XML. There's also
a
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
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
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
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
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
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
13 matches
Mail list logo