javascript popup in flash

This is a discussion on "javascript popup in flash" within the JavaScript Forum section. This forum, and the thread "javascript popup in flash are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Aug 25th, 2005, 09:26
Junior Member
Join Date: Jul 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
javascript popup in flash

hi there

i got to open a javascript popup with standard size in a website from flash. i.e. it should be able to click in flash, and open up a popup window displaying the content of the URL.

i tried the fscommand method from macromedia but it doesnt work. ( btw my published file is asp.net although i dun think that makes any difference from html in terms of javascript) i think the main thing is that my link in this case comes from html text in rxtfield. whereas javascript opens in buttons.. i wonder if theres a way of using html textfield to open up a javascript popup?


Code: Select all
_root.sampleMovie.Slist.htmlText  += " " + sampletitles[j]+ "
"

theres this line i input into flash.. but it doesnt work either even though there is no error.

Is there any way of doing this?

Any help is appreciated. Thanks
Reply With Quote

  #2 (permalink)  
Old Aug 25th, 2005, 12:06
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
you need to create a javascript function which opens a popup, and put it in your html, then call that function from within flash.
Reply With Quote
  #3 (permalink)  
Old Aug 26th, 2005, 00:47
Junior Member
Join Date: Jul 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
hi there

sorry but im quite new to javascript and how it intergrate into flash . I wonder if you can explain further about how to create a javascript function?

thanks
Reply With Quote
  #4 (permalink)  
Old Aug 27th, 2005, 10:18
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Re: javascript popup in flash

Simply have the URL (in Flash) set as:
Code: Select all
javascript:openWindow(" + sampleLinks[j] + ",openWindow,height=480,width=640,toolbar=no,scrollbar=no,resizable=no)
Reply With Quote
Reply

Tags
javascript, popup, flash

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript popup calender forumsiva JavaScript Forum 0 Jan 31st, 2008 11:11
Attach sound file to Javascript rollover popup supanova75 JavaScript Forum 1 Oct 4th, 2007 14:47
block popup using javascript gemguy JavaScript Forum 2 Apr 23rd, 2007 10:38
Javascript popup window with ASP madhuri.t Classic ASP 0 May 3rd, 2006 10:42
javascript popup with OSC spottedhaggis JavaScript Forum 0 Dec 9th, 2005 13:18


All times are GMT. The time now is 22:37.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43