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




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-22-2003, 03:25 PM
lingopunk lingopunk is offline
Registered User
 
Join Date: Aug 2003
Posts: 6
Rep Power: 0
lingopunk is on a distinguished road
frameLabels & exiiting functions

Two questions (probably basic)

I've been searching through the ActionScript Dict but haven't been able to find any built in method for getting back an array of the frameLabels in a movie, level, or scene. Does anything like this exist ?

I'd even settle for building the array myself if i could access frame props (eg FrameNumber.label)

2 - Is there a way to exit (escape, breakor whatever you want to call it) out of a function without processing the remainder of the function?

Example:
Actionscript:
function = foo() {
if (someEvent == aValue){
doSomeStuff
if (aBool == TRUE){
EXIT
}
DoSomeMoreStuff // still in first if but we don't get here if a flag was set.
}

or even the other scenerio where there's a huge case statement and somewhere in the middle you need to break out based on a Flag ?
 


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
global functions across classes sep Actionscript 2.0 11 02-07-2007 03:58 PM
calling function from PHP w/ many functions kenfuji Newbies 3 11-01-2006 12:06 AM
Functions in Actionscript mattcrane Actionscript 2.0 9 07-27-2006 06:12 PM
attached movie functions - Help!! The-Scientist Flash MX 1 02-09-2005 04:32 PM
Functions!!! Get to know them... use them... even feed them table food!! dv8 Newbies 2 08-08-2002 02:33 PM




All times are GMT. The time now is 01:53 PM.