Solved

Newbie Flash Question

Posted on 2003-11-05
3
150 Views
Last Modified: 2010-04-03
I've been working with Flash MX for about four days now after reading a book, and downloaded a menu system.  This menu system can be found at:

http://virtual-fx.net/vfx/tutorial/tutorial7_51_20020101.php

I used Ctrl-L to open up the Library to edit a Movie Clip (Menu1).  In the Title Button Layer, I right-clicked on the title button so I could see the actions for this button.  The actions were as follow:

on (release) {
    ../:menu_num = "1";
    call("../:down");
    gotoAndStop("down");
}

I understand what Call (now deprecated) and gotoAndStop mean.  But I don't understand the reference "../:menu_num" or "../:down".  I have an old Flash 4 book laying around that's not really giving me the answer I need.

I'm aware that menu_num is a variable (as defined in Scene 1 - Actions Layer) and that Up/Down are frame labels that can be used as arguments to gotoAndStop/gotoAndPlay functions.

If any of you can help me out and tell me what the "../:var_name" means, it'd be greatly appreciated.

I'm guessing that it's like a relative reference.  Kind of like how you would refer to a file in a parent directory.
0
Comment
Question by:coson
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
negatyve earned 50 total points
ID: 9691285
../:var_name

it the flash4 version of the flash 5 (dot sintax):

_parent.var_name
0
 

Author Comment

by:coson
ID: 9691652
negatyve,

Makes sense, but why the colon before the var_name?

Is it similar to the . (period) prefacing a file which would mean a file in the current directory?
0
 

Author Comment

by:coson
ID: 9691679
Nevermind, negatyve

I figured it out by reading another book that explains it in more detail.  However, I'll give you half the points for your answer.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Video sharing with user login 3 197
Failed download 57 551
System Center Configuration Manager 2012R2 7 80
Adobe Indesign CS6 4 99
I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now