Can't manage window parameters from link in .txt file...

rhino00562
rhino00562 used Ask the Experts™
on
Hi experts...

I created a scrolling textbox that gets data from a mysql database. To do so, I created a php file that formats data in the form "text= some_text_from_mysql_db ".

I managed to include links that open in a pop-up window, using a "<a href=http://www.macromedia.com target=new_window> ... </a>.

My problem is that I've not been able manage the parameters related to this new window's parameters.

I've read related questions posted at experts-exchange.com, but none of them worked so far cause the links are in the .txt file.

All comments are welcome. I'm out of ideas. Thanks.


Rhino

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
You should put the following in your flash movie (sorry that is probably cant be used directly since I do not know your code):

on (release) {
    getURL ("JavaScript:popwin 'http://www.macromedia.com');");
}

------

In the HTML where the above flash movie is embedded into, put the following:
function popwin(url) {

window.open(url,"window","height=440,width=360,left=400,top=20,statusbar=no,scrollbars=yes,locationbar=no,toolbar=no");

}


Now you can open small or big windows and specify the details.
Note: if the above does not complete fit into your Action/Flashscript, put your currect action script into this question and maybe I can include my suggestion into your script.

Hope it works.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial