Solved

Pop-up link within a text box

Posted on 2003-12-04
8
301 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
  • 4
  • 2
  • 2
8 Comments
 
LVL 23

Accepted Solution

by:
Zeffer earned 57 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:adilkhan
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
 
LVL 23

Expert Comment

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

Z
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

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:adilkhan
ID: 9886532
Agreed!
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now