RE: [flexcoders] Presenting images with links to new Browser location
Image does dispatch a click event. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of brucewhealton Sent: Monday, February 16, 2009 11:33 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Presenting images with links to new Browser location Hello all, I was looking at the navigateToURL method and wanted to see about using an image as a clickable link to a website. The image component does not have an onClick property, so it isn't possible to make an image into an active link to a website. Is there a way to accomplish this? Maybe by putting an image inside a button? Thanks, Bruce
RE: [flexcoders] Presenting images with links to new Browser location
You can put the image in a button, or place a Sprite over or under it as the hit detection area Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of brucewhealton Sent: Monday, February 16, 2009 8:33 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Presenting images with links to new Browser location Hello all, I was looking at the navigateToURL method and wanted to see about using an image as a clickable link to a website. The image component does not have an onClick property, so it isn't possible to make an image into an active link to a website. Is there a way to accomplish this? Maybe by putting an image inside a button? Thanks, Bruce
[flexcoders] Presenting images with links to new Browser location
Hello all, I was looking at the navigateToURL method and wanted to see about using an image as a clickable link to a website. The image component does not have an onClick property, so it isn't possible to make an image into an active link to a website. Is there a way to accomplish this? Maybe by putting an image inside a button? Thanks, Bruce