Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Pop-up link within a text box

Posted on 2003-12-04
8
Medium Priority
?
308 Views
Last Modified: 2010-04-03
i am useing flash mx 2004

i have this link within a text box that is html enabled:

<A HREF="http://www.google.com" target="_blank" statusbar=no>Google</A>

i am unable to get the statusbar to "hide" or any of these functions to work:

location=no,menubar=no,personalbar=no,resizable=no,left=0,top=0,locationbar=no,scrollbars=no,directories=no,statusbar=no,toolbar=no

how would i get these options to work? any ideas?

thx.

0
Comment
Question by:frosty5656
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
8 Comments
 
LVL 23

Accepted Solution

by:
Zeffer earned 228 total points
ID: 9881172
place a javascript function in your html
eg..

<script language="JavaScript">

function googleWindow ()
{
window.open("googleWindow.htm", "googleWindowWinName", "toolbar=no, location=no, directories=no, statusbar=no, menubar=no, scrollbars=no, resizable=no, top=0, left=0")
}
</script>


call it from flash

on(release){
getURL("javascript:googleWindow()");
}

Z
0
 
LVL 23

Expert Comment

by:Zeffer
ID: 9881179
that's the html page which contains your movie..:)

Z
0
 
LVL 23

Expert Comment

by:Saqib Khan
ID: 9883768
I think you dont have to use getURL for the javaScript function if he/she is using textBox to accept HTML


<A HREF="javaScript:googleWindow()">Google</A>
(Within Text Box, and the Text box has "Render as HTML" checked in the properties inspector)
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 23

Expert Comment

by:Zeffer
ID: 9884031
you are quite right adilkhan..the getURL is not necessary.

Z
0
 

Author Comment

by:frosty5656
ID: 9885125
yes thank you that does work.

but does this mean that i have to have a javascript function for each link that i want to open in that kind of window?
0
 

Author Comment

by:frosty5656
ID: 9885229
would it be possible to have the link in the text box to pass a variable containing the link address to the javascript in the html page so that i could have mulitple links reffering to the same code?
0
 
LVL 23

Expert Comment

by:Zeffer
ID: 9886497
well that's another qustion..and a good one.
I think as this ones been answered..you should post another..
this will make it easy for members to find in the database..in the future

Z
0
 
LVL 23

Expert Comment

by:Saqib Khan
ID: 9886532
Agreed!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
Suggested Courses

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question