At 07:14 PM 4/11/2009, you wrote:
There is no HREF equivalent. You will need to use navigateToUrl()
and URLRequest.
a great example can be seen here
<http://blog.flexexamples.com/2007/08/29/launching-new-browser-windows-from-flex/>http://blog.flexexamples.com/2007/08/29/launching-new-browser-windows-from-flex/
Ok, I've tried the example above, and I get this error when I save the file:
"Access of possibly undefined property click through a reference with
static type mx.controls:LinkButton."
Let's say that I'm setting up my link button like this:
<mx:LinkButton id="myLinkButton" label="My URL" click="myURL.com"/>
Shouldn't I then be able to write a piece of code like this:
private function changeMyLinkButton ():void {
myLinkButton.label ="Your URL"
myLinkButton.click = "yourURL.com";
}
But when I do that, I get the error as soon as I save the file. Got
no idea what I'm doing wrong.
Thanks for any help you can provide,
Laurence MacNeill
Mableton, Georgia, USA
END IRS TYRANNY NOW:
http://www.fairtax.org/
SHUT DOWN THE FEDERAL RESERVE SYSTEM:
http://www.freedomtofascism.com/
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the
subject line
For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------