I've been researching and looking for tutorials and forums about my problem. I can't link certain buttons to go to a specific url. I've known that this should be done in Flash Builder but everytime I try to put the codes, errors always come in. I tried putting the url itself to the click event (showed in the picture) and also tried the code navigateToURL( new URLRequest("http://www.adobe.com"), "_blank"); either way, nothing answered my problem. Please help me.I would appreciate it so much.
Actually you can assign those type of actions from within Flash Catalyst without the need to open Flash Builder. I have attached a simple demo to illustrate this. The blue header was transformed into a custom component, then a "Go To URL" interaction was attached.
The first method that you tried will never work, the click method needs to call a function. The second method might work, but I suspect there maybe security sandbox issues. For example:
allowScriptAccess="always"in the containing document.
"_parent"if your SWF file is contained by an HTML page that has set the
"none", or to
"sameDomain"when the domains of the HTML file and the SWF file do not match.
Hope this helps.
FYI: If you have opened and edited the Flash Catalyst project in Flash Builder, you will be unable to reopen it in Flash Catalyst.