LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 


Prev Previous Post   Next Post Next
  #1  
Old 11-02-2006, 05:54 PM
0gani 0gani is offline
Registered User
 
Join Date: Oct 2006
Posts: 20
Rep Power: 0
0gani is on a distinguished road
AS3 Variables

how do I access a variable that was created in a function? For example

Actionscript:
function create()
{
  var myvariable:string='hello world';
}
 
trace myvariable


does anyone have a solution for this?
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing Variables from AS3 to XML JamieUK ActionScript 3.0 1 12-18-2009 06:56 AM
AS3 MySQL Gallery vennasa ActionScript 3.0 0 05-04-2009 04:34 AM
AS3 debug list variables not showing FlashMove Flash Wishlist and Bugs 2 10-10-2007 03:33 PM
problems with .load using variables longanimous Newbies 2 04-27-2004 05:39 PM
Sending Variables between html pages ifonly Flash MX ActionScript 1 07-25-2003 04:31 AM




All times are GMT. The time now is 09:21 AM.