Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-23-2001, 09:41 PM   #1
bep
Registered User
 
Join Date: Apr 2001
Posts: 33
Lightbulb

Hey,
I decided to just start all over again with the tutorials, and am feeling more equipt to try and tackle actionscript once again...
I do have a question concerning the 4 mice example in the get_property downloadable example:
In it, the library has an MC called 'Mouse' and a button called 'mouse_button.' In edit symbol mode, Jesse was able to add this script on the MC:

on (release) {
_root.xpos = getProperty ( _target, _x );
_root.ypos = getProperty ( _target, _y );
_root.xscale = getProperty ( _target, _xscale );
_root.yscale = getProperty ( _target, _yscale );
_root.alpha = getProperty ( _target, _alpha );
_root.rotation = getProperty ( _target, _rotation );
}

I've tried to recreate this, but have only been able to do it on buttons. I tried to see if 'mouse_button' was dropped into the MC 'Mouse', but it doesn't seem so. What's up with that? Is the button "inside" the MC? If so, why can't I ungroup and move it?

(This is all in search of the ability to use the _target variable for several instances without having to enter in their seperate names each time)

Thanks anyone, and especially Jesse for (slowly) showing me the light.
Brian
bep is offline   Reply With Quote
Old 05-24-2001, 08:55 AM   #2
Marx
New Member
 
Join Date: Feb 2001
Posts: 378
Default

Hi Brian...
Those actions are on buttons. The buttons are the mouse images inside the movie clip.

Select one of the mouse MC's, right click and choose 'edit'.
You will now be in the MC's editing mode with the button.

You can always check by choosing, Modify/Instance, then look at the instance panel to see what type of symbol it is.

Good luck.
Marx 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
question on tutorial Molecule ActionScript 1.0 (and below) 1 03-04-2004 09:21 AM
simple question about tutorial 25 - Duplicate Movie Clip RBN Simple Stuff (Newbies) 2 11-15-2001 02:18 AM
Question on tutorial 15 karlzoe Other Flash General Questions 0 11-14-2001 11:12 PM
animating text with actionscript tutorial question jake88 ActionScript 1.0 (and below) 1 12-24-2000 06:20 AM


All times are GMT. The time now is 05:35 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.