Your right! That's it, had enough, Friday afternoon I'm going home!
Best Regards, Iain --- In [email protected], "Geoffrey Williams" <[EMAIL PROTECTED]> wrote: > Perhaps you were missing the single quotes around the variable?: > > function set aler (aler:String):Void { > if (aler) { > __aler = aler; > getURL ("javascript:myFrame.myTest ('" + aler + "');"); > } > } > } > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of digital_eyezed > Sent: Friday, August 05, 2005 11:57 AM > To: [email protected] > Subject: [flexcoders] My Head is in a bin, getUrl with javascript. > > Hi, > > I'm working with an IFrame in html and I am passing info from an > mxml custom component to an IFrame which contains a javascript > function called 'myTest', when I use getUrl with static text in my > mxml to call the javascript function in the IFrame it works, this is > the function in the mxml page: > > function set aler(aler:String):Void { > if (aler) { > __aler = aler; > getURL("javascript:myFrame.myTest > ('hrjhgjhfhkgfhgfh')"); > } > } > > This works fine, but I really want to send the value of 'aler', how > do I do this, I have tried everything from quotes to concatenation. > > Thanks in advance. > > Iain > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com > Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hpj9f4j/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123265986/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org ">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy</a>.</font> --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

