Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Desktop, Mobile and non-browser Environments > FlashLite / Portable Devices Development

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-28-2007, 06:51 AM   #1
k_sinha
Registered User
 
Join Date: Dec 2004
Posts: 14
Default How to run javascript properly from swf in PDA device

We are trying to call some javascript methods/ functions fron flash using getURL function, but when we are running the file in PDA device, the javascript function is not getting properly called and 'page cannot be found' page is opening in the same browser window. Can anyone please give the solution is this regard? This is bit urgent. Thanks.
k_sinha is offline   Reply With Quote
Old 02-28-2007, 07:39 AM   #2
lindee
Registered User
 
Join Date: Feb 2007
Posts: 17
Default

can we see your getURL code?
lindee is offline   Reply With Quote
Old 02-28-2007, 09:10 AM   #3
k_sinha
Registered User
 
Join Date: Dec 2004
Posts: 14
Default

Thanks for your response,

This is one example of getURL I am using,

var options = "width=800,height=600,toolbar=no,menubar=no,resiza ble=no,scrollbars=yes";
getURL("javascriptpenNewWindow('help/help.htm','"+options+"')");

This 'openNewWindow' function is written in the javascript file,

function openNewWindow(URLtoOpen,parameters) {
newWindow=window.open(URLtoOpen, "",parameters );
}
k_sinha is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Publishing SWF into Director with .htm at root problems frank grimes ActionScript 2.0 0 02-16-2007 04:08 PM
a "close" button on child swf bloombloom ActionScript 2.0 0 02-14-2007 02:26 AM
Run swf (not html) Ruben Flex 2 & 3 2 02-08-2007 03:14 PM
Javascript, swliveconnect, mac. CMS wont work properly on Mac Paul Ferrie Other Flash General Questions 0 05-12-2005 01:32 PM
Javascript: launch popup not working properly CodeAnt Simple Stuff (Newbies) 2 03-26-2003 09:57 PM


All times are GMT. The time now is 11:31 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.