Solved

Pop-up link within a text box

Posted on 2003-12-04
8
305 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 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
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

763 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