MajorGeeks Support Forums

Go Back   MajorGeeks Support Forums > ----------= PC, Desktop and Laptop Support =---------- > Software
Register FAQ Members List Calendar Casino Mark Forums Read

Software Software such as operating systems like Windows XP, Windows Vista, Windows 7 etc., or specific programs.


Reply
 
Thread Tools Display Modes
  #1  
Old 08-31-07, 11:08
LukusWesley LukusWesley is offline
Private E-2
 
Join Date: Jan 2005
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Position a Flash Popup

Hi!

I'm about 2 months new to flash. I am a computer programmer but have never worked with flash before. I bought a flash template to use for my wedding website because I didn't have much time to put something together.

My Question is this.....

Here is a sample of similar action sript... I don't have actual code b/c I'm at work and its at home

_root.popup_pressed=1;
_root.scrHEIGHT=250
_root.scroller.scroller.gotoAndStop(3);
_root.TM_title ="Case Study";
_root.READ = 3;
_root.scroller.gotoAndPlay("s1");

NOW, on release of the 'button' this code is executed... my question is how in the world do I choose the position of the pop up window! HERE, I'll show you what I mean..........

Here's my site...
www.weigler.org

on MAIN page... click on the bigger pictures on the right... they open up even bigger in a popup.. using similar code as above. Notice: The windows open up at the low end of the screen, partially off.... How can I position the guys higher.

I've researched this... I found something mentioned about this....
window.moveTo(x,t);

Not sure how I would use that with the action script above... if there is an easier way, that would be good too!

THANK YOU IN ADVACE FOR YOUR HELP.... I realize you will get to this when you can.... but invitations were sent out yesterday... and people will probably be accessing the site tomorrow, hopefully not today :-)

THANK AGAIN!
Reply With Quote
Sponsored links
  #2  
Old 08-31-07, 11:45
LukusWesley LukusWesley is offline
Private E-2
 
Join Date: Jan 2005
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Position a Flash Popup

Quote:
Originally Posted by LukusWesley View Post
_root.popup_pressed=1;
_root.scrHEIGHT=250
_root.scroller.scroller.gotoAndStop(3);
_root.TM_title ="Case Study";
_root.READ = 3;
_root.scroller.gotoAndPlay("s1");
Just a thought.. unfortunately I can't try it b/c I'm at work and not at home...JUST MAYBE i can go to the 3rd frameset
Quote:
_root.READ = 3;
and position the whole thing based on X / Y axis. I used macromedia flash 8 and I know in properties it allows you to position things based on x / y axis... Just don't know if I could do that for the whole popup??

If not... ignore this one and let me know the real answer :-) Thanks!
Reply With Quote
  #3  
Old 08-31-07, 12:57
LukusWesley LukusWesley is offline
Private E-2
 
Join Date: Jan 2005
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Position a Flash Popup

I 'think' I've found the answer.
THINK is the key word here....

I believe this will do the trick...
-----------------------------
_root.popup_pressed=1;
_root.scrHEIGHT=250
_root.scroller._x = 100;
_root.scroller._y = 150.7;

_root.scroller.scroller.gotoAndStop(3);
_root.TM_title ="Case Study";
_root.READ = 3;
_root.scroller.gotoAndPlay("s1");

I can't be for sure till I get home from work this evening to test it... but I'm pretty sure this will do it! I think that is setting x / y for where the window will pop up on the screen!!

Thank you again for your assistance... If this does indeed fix it, I will let everyone know!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen position software Ronald_Young_At_RCAT Software 1 07-18-07 13:55
CSS background repeat and position issue darkhorizon Software 3 04-14-07 12:56
VB6 Windows Starting Position ceal21c Software 1 11-30-06 12:20
RF gurus! Triganulating position of transmitters goldfish The Lounge 4 06-06-05 09:28
CSS - nested div position Ctrl+Alt+Del Software 3 01-14-05 23:55


All times are GMT -5. The time now is 23:36.

MajorGeeks.Com Menu

MajorGeeks.Com \ All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ NEW! PC Games \ System Tools \ Macintosh \ Demonews.Com \ Top Downloads

MajorGeeks.Com \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds


Powered by vBulletin® Version 3.8.4
Copyright © 2009 vBulletin Solutions, Inc. All rights reserved.
Ad Management by RedTyger