The OpenURLs object does not seem to be supported in the .swf export option. I am needing to open a web page when the user clicks my sponsors "more games" button or my logo.
Is there a workaround?
Jason
Printable View
The OpenURLs object does not seem to be supported in the .swf export option. I am needing to open a web page when the user clicks my sponsors "more games" button or my logo.
Is there a workaround?
Jason
I should have experimented a little more before I posted the question in the forums.
I found a simple workaround. I inserted the Flash Player Object in the frame, created a click event for the buttons ("More Games" and my logo) in the frame and then selected -- Open URL "TARGET URL" in new window -- on the event editor for the click event of the buttons in question. I substituted the url I wanted to navigate to in place of TARGET URL between the quotes.
This allows me to open a browser to a web page.
This explanation should be simple enough to explain how to use the workaround but if anyone wants me to upload an example let me know and I will be happy to.
Jason
YOu mean that instead of setting target option like blank or self you set the url?
I set the target to the url (web page) I wanted the web browser to open to.
Jason
Still if you use _blank in target it would also work but _self is not accepted and target windows are blocked by my Firefox browser as popup windows where _target command from links works perfectly.
I did not use _blank, _self or _target. I used "http://www.bluefiregames.com" and it works for me in Firefox (mine is also set to block popup windows).
Perhaps I should have targeted "http://www.bluefiregames.com_blank" instead of leaving _blank off.
Jason
Sorry I didn't understand properly, Are you saying that, by putting the URL in the target field, firefox won't block it??
I don't get it, too. It doesn't help against being blocked by FF. What's it's advantage?
For the button clicked action I used the following action:
open url "http://www.asahnekec.com" in a new window
You can download a very simple example I created at:
http://www.asahnekec.com/Open_URL_Example.mfa
I use Firefox and it is not blocking me being able to navigate to the target url from the application. Maybe you have your Firefox set on a different setting then me.
Jason
Is there any way to upload that example as an attachment to this thread?
Jason