Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-04-2003, 11:04 AM   #1
Pyralis_Ryu
Fire in the hole
 
Join Date: Feb 2003
Location: South Africa
Posts: 37
Question Anyway to communicate with nodes of a drawn object via a s?

Hi Everyone

I am wondering if action script allows me to communicate with nodes of a drawn object that is already on the stage at design time?

Thanks

Ryu
Pyralis_Ryu is offline   Reply With Quote
Old 03-04-2003, 02:58 PM   #2
hangalot
lala
 
hangalot's Avatar
 
Join Date: Feb 2002
Location: on the road
Posts: 2,858
Default

not as far as i know, and here i will present "proof" or as close as i can get to it

create an MC named test.
make some funky drawing in there
place an instance on the stage
name this instance iTest

then in the root of your movie add the following code

ActionScript Code:
_root.onEnterFrame = function() {         for (obj in iTest)     {         trace(typeof(obj));      }     }

notice it does not trace anything

then take one stroke or fill and convert that 2 a movie

notice it traces. this would indicate to me that vector graphics once drawn have no "programatic instances"

it would be nice if you could interact like that though, think direct3d---aaaaiiiissshhh

chirs
__________________
oi poloi
http://www.memorphic.com/news/
hangalot is offline   Reply With Quote
Old 03-04-2003, 03:05 PM   #3
Pyralis_Ryu
Fire in the hole
 
Join Date: Feb 2003
Location: South Africa
Posts: 37
Talking Dankie:)

I would be great - But till then I will find another way

Ryu
Pyralis_Ryu is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:54 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.