Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Flash (all versions)
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 9th, 2006, 04:44 PM
Registered User
 
Join Date: Dec 2006
Location: Grayson, GA, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to serpicolugnut Send a message via Yahoo to serpicolugnut
Default Javascript call within Flash file

Hello -
I'm trying to execute a javascript command inside the getURL command inside of Flash.
The javascript command looks like this in the HTML:

Code:
<a href="javascript://" onclick="swapLayers('layer'); return false">Layer</a>
When I try to convert this to the getURL property like this:
Code:
getURL("javascript:onclick=swapLayers('layer'); return false");
...
I get a Syntax error. Does anybody have an idea on how to properly format the this js inside the getURL command?

Thanks

Reply With Quote
  #2 (permalink)  
Old December 15th, 2006, 05:25 PM
Registered User
 
Join Date: Dec 2006
Location: , , USA.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

See http://p2p.wrox.com/topic.asp?TOPIC_ID=53416

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Controlling Flash w/Javascript GreatRewards ASP.NET 2.0 Basics 5 May 21st, 2008 06:39 PM
javascript control over flash catchrohith Classic ASP Basics 0 November 8th, 2006 05:54 AM
JavaScript & Flash lmod Javascript 2 September 6th, 2005 10:18 AM
Prb with js function call inside flash using XSL schander10 XSLT 3 September 14th, 2004 07:33 AM
calling javascript from flash Adam H-W Flash (all versions) 2 March 17th, 2004 11:26 AM



All times are GMT -4. The time now is 05:59 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.