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
Solved

Pop-up link within a text box

Posted on 2003-12-04
8
304 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: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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
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.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

860 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