Actionscript 2.0 or 3.0 - S-10 Forum
 
LinkBack Thread Tools
post #1 of 5 Old 11-28-2007, 07:05 PM Thread Starter
bdz
 
Classic96's Avatar
 
Join Date: Nov 2004
Location: Orlando/Daytona Beach, FL
Age: 29
Posts: 1,972

User is: Classic96 is offline
Actionscript 2.0 or 3.0

I'm not sure if this is the right area to post this, seeing that this is a automotive forum, but what the hell.I have a pretty simple task that I need to tackle, just not sure how to go about this. If anyone is familiar with actionscript I'm sure you can help me. I'm just trying to find out how to allow the user's browser determine the width of the document on the fly. I've seen a few examples of these, just haven't found them in my bookmarks as of yet if I find them I will edit the post and post them back up. If anyone has any ideas on how to do this it would be greatly appreciated.

Classic96 is offline  
Sponsored Links
Advertisement
 
post #2 of 5 Old 11-28-2007, 09:58 PM
Registered User
 
Fork501's Avatar
 
Join Date: Mar 2007
Location: Weston, Fl
Age: 30
Posts: 111

User is: Fork501 is offline
Send a message via AIM to Fork501
Re: Actionscript 2.0 or 3.0

Did you try

var h=Stage.height;
var w=Stage.width;

?

~Derek
Fork501 is offline  
post #3 of 5 Old 11-29-2007, 10:43 PM Thread Starter
bdz
 
Classic96's Avatar
 
Join Date: Nov 2004
Location: Orlando/Daytona Beach, FL
Age: 29
Posts: 1,972

User is: Classic96 is offline
Re: Actionscript 2.0 or 3.0

Quote:
Originally Posted by Fork501 View Post
Did you try

var h=Stage.height;
var w=Stage.width;

?

~Derek
close, thats part of it. I found a tutorial on this today. It can be found at www.gotoandlearn.com incase anyone else is interested. In the left column play the video full browser flash.
Classic96 is offline  
post #4 of 5 Old 11-29-2007, 10:56 PM
Registered User
 
Fork501's Avatar
 
Join Date: Mar 2007
Location: Weston, Fl
Age: 30
Posts: 111

User is: Fork501 is offline
Send a message via AIM to Fork501
Re: Actionscript 2.0 or 3.0

I'll be sure to check it out!

The day you stop learning is the day you admit defeat =)

~Derek
Fork501 is offline  
post #5 of 5 Old 11-29-2007, 11:30 PM Thread Starter
bdz
 
Classic96's Avatar
 
Join Date: Nov 2004
Location: Orlando/Daytona Beach, FL
Age: 29
Posts: 1,972

User is: Classic96 is offline
Re: Actionscript 2.0 or 3.0

Quote:
Originally Posted by Fork501 View Post
I'll be sure to check it out!

The day you stop learning is the day you admit defeat =)

~Derek
Words of wisdom
Classic96 is offline  
Sponsored Links
Advertisement
 
Reply

Quick Reply
Message:
Options

Register Now



In order to be able to post messages on the S-10 Forum forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.

User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
Please enter a valid email address.


Email Address:
OR

Log-in









Human Verification

In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.



Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page



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
Trackbacks are On
Pingbacks are On
Refbacks are On

 
For the best viewing experience please update your browser to Google Chrome