Search  
Search Options

GETURL IN NEW WINDOW (JAVACSRIPT) CAUSES [OBJECT] ERROR IN ORIGINAL SWF !

HomeForumsFlash DiscussionGetURL in new window (javacsript) causes [object] error in original swf !
Default-profile dwhitmore
5 posts

Hi All,

Hope someone can help -

When I use the following code in a swf (to open a fullscreen window with some html) – the page loads perfectly, but when i return to my original swf, it’s no longer in its original state – it’s just a blank page with the word [object] !

Here’s the code for the swf action:

on (release) { getURL(“javascript:window.open(‘http://www.computersinpersonnelhr.com/clientarea/images/productfaqs/ciphrpeople/CiphrPeopleQuestions.htm’,’fs’,’fullscreen=yes, toolbar=yes, location=no, scrollbars=yes’;);); }

Does anyone know why this is happening, and how I can resolve it?

Many thanks!

Dan

Posted about 1 month ago
28904 trepn
112 posts
Exclusive author Referred at least one person Sold between 100 and 1 000 dollars

I think you didn’t set your security settings for your swf. Go to this page and add your local file. I’ve tested your line of code here, and it works fine. You can also try using a webserver, here flash has no security problems.

Posted about 1 month ago
16270 dajovion
321 posts
Won a competition Exclusive author Item was featured Author was featured Referred at least one person Sold between 10 000 and 50 000 dollars

How come you don’t use:

getURL(“‘http://www.computersinpersonnelhr.com/clientarea/images/productfaqs/ciphrpeople/CiphrPeopleQuestions.htm”, “_blank”;);

Posted about 1 month ago