Thanks for getting back to me on this ccarey. I read up on this and tried the code. Didn't seem to work work after switching and making IE my default browser. But with the limitation of only Microsoft and not Mac I'm going to have to look for another solution.
I believe it's not an HTML issue but a Flash Action Script issue that I need to explore. The process for this CD is to allow a viewer to scroll particular businesses in a specific geo location. The businesses for a particular category are loaded through an XML file containing the data.
Through a scrolling component, the viewer can look at all businesses. Each business will offer savings through a printable coupon. Next to the business is a button to print the coupon.
I've tried the popup which if I were doing this in PHP would be no problem. I found and edited an action script that would load an external Movie Clip.
Any thoughts would be appreciated.
Thanks
Main Topics
Browse All Topics





by: ccareyPosted on 2009-04-29 at 16:46:34ID: 24265778
Unfortunately if you are running this as a projector then you won't have Javascript available to you so that window.open will not function as expected. Javascript runs inside a browser only.
en-us/libr ary/ms5364 96(VS.85). aspx
t/air/ajax /articles/ air_dreamw eaver_for_ js_02.html
If you are not worried about mac compatibility, your easiest way through is to use an HTA wrapper. This is effectively an HTML file which will run as an application - borderless, fullscreen, whatever. Because it's a browser you also get the benefit of being able to launch popups and utilise javascript.
The basic setup involves creating your HTML, embedding the SWF as usual and then adding a HTA tag near the top inside the <head> tag. The file extension needs to be .hta
Here's a primer from Microsoft:
http://msdn.microsoft.com/
Alternately you may want to explore AIR for a bit of cross-platform compatibility action:
http://www.adobe.com/devne
The attached snippet is an HTA app stub - it's set to run fullscreen with no borders. Save the contents into a file called "test.hta" and you can double-click to run. Alter the code to embed your SWF inside the body and you're done.
Select allOpen in new window