ActionScript 3.0 :: Mc Control From Within Mc?

Dec 14, 2010

I have a mc of "pages" and 1 frame on main timeline and another mc called "titles" .I would just like to be able to say at the end of title1 something like pages.gotoAndPlay(relevant frame);however I have been bangin my head against this all day. how do I do itmdesperate. Just want to be able to play my animation without using buttons..ie. when this frame is reached .. do this?I have a next and previous function - but I couldnt fig out how to make that work automatically either.

View 1 Replies


Similar Posts:


Flex :: Manipulate Child Control Inside A Panel Control?

Oct 12, 2009

I am trying to manipulate (move up and down, enable/disable and launch a form) child controls inside a panel control. However I am unable to get the id of the child control on which the click event occurs. To illustrate, I am trying to create similar functionality as is available. I am trying to create the up-down buttons that you see in the image at http:[url].......

View 2 Replies

ActionScript 2.0 :: Make A Music / Sound Control And FX Sounds Control

Mar 21, 2011

im trying to make a music/sound control and FX sounds control,so i have my FX volume level as a variable(FX_vol) and also the Music/sound volume level as a diffrent variable(M_vol),so i set them as sounds that i can use trough coding:

[Code]...

View 2 Replies

Flash :: Control Movie From JavaScript When Have No Control Over The Source?

Nov 4, 2009

Is it possible to control a Flash movie from JS when you have no control over the source? I have decompiled the movie to see its inner workings, but I know nothing about Flash, so I'm mostly in the dark. I found this resource, Interaction with JavaScript, but it's not working for me (probably because I don't know what message to send to the movie).

View 1 Replies

Flash :: Control Flex Application From Embedded Control?

Mar 21, 2010

I have a flex application and have embedded a flash (SWF) file into it using <mx:SWFLoader>. There is an "Exit" button on the Flash file. I want to be able to handle the button click event on the flex application.

So when that button in the flash file is clicked, I want to perform an action in the parent flex application.

View 2 Replies

Flash :: Passing A "control" As Parameter Vs Passing Id Of The Control?

Jan 2, 2012

1) Passing a control itself as parameter into a function 2) Passing an id ( managed manually) of the control as a parameter into a function . Say for an array of controls I have ctrl_Array = [ my_btn, my_mc, my_dtg ] and corresponding id_Array[0,1,2] PS: If my question is difficult to understand, i just wanna know, if it is a good programming practice to pass control references among the classes as function parameters ?

View 1 Replies

Control A MC Onstage From Within Another MC?

Jun 21, 2009

I want to control (i.e. play) a movieclip that's located on the stage from within another movieclip. The structure is basically like this... Stagemovieclip (mc)stop scriptanimationmovieclip (bt2)actionscript layer (code below)button (bt)the code within bt2 is:

[Code]....

View 2 Replies

Control Timeline And FLV Together?

Dec 3, 2009

Where can I find ready-made buttons that will control an FLV and a timeline together? I have a swf with an FLV and I animate images and phrases on a movieClip timeline timed to what they say in the flv. I set up cuepoints that trigger the animations, so when users scrub, pause, etc. the timeline eventually catches up with the FLV, but it would be a lot nicer if the pause, scrub, etc. would do the same to the timeline and there was no lag time.

View 1 Replies

ActionScript 1/2 :: Using One .swf To Control Another .swf?

May 23, 2010

I need to find a way to come up to a solution to this problem, I can't have a different solution - for difficult reasons, I'm stuck with this layout.I have one .swf file (call it Parent.swf) - and within this .swf file there are two other .swf files sitting next to each other. (cLeft.swf and cRight.swf)Now - again for reasons that are complicated to explain - the cLeft.swf plays through it's animations, and then stops at the end - but there are no buttons to replay it - and right-clicking is not an option. So, I was wondering if there was code I could use in cRight.swf to target and replay cLeft.swf - understanding that at runtime - both of these are embedded within a larger parent .swf - as I named Parent.sw

View 6 Replies

Professional :: Control Bar For .swf?

Jun 10, 2011

Somebody answered that a way to get a control bar to a .swf file was to use the "button handlers and the goto and stop methods".No reference as to what is meant by this or to where I can get the .html to do this.I've got the .swf file but no control bar!I understand that .swf can be visible by most browsers.So how do I get the scripting for addin these button handlers and the goto and stop method". Since I'm a newbie, please don't say, this is easy, just use this or that method.I need the scripting that will do it.I know how to put the .swf in the page with <object> and <embed src=""> but no control bar.

View 3 Replies

ActionScript 2.0 :: Get GUI To Control?

May 19, 2009

I have this animation that makes patterns you can change the patterns shape and so on with the action script but I want the users to be able to change it at run time.What I need is for a scroll bar or maybe text field to be able to change the action script.

This is the line that needs to be editable e.g the number must change.

this[newnode]._rotation=137.5

View 1 Replies

AS3 :: Control One Movieclip From Within Another?

Jun 21, 2009

I have 2 movieclips on the main timeline of my movie; One (mc) contains an animation, the other (bt2) contains a button (bt) with code. I want it so when the button (bt) is clicked, it causes the animation (mc) on the main timeline to play.

The button's code is contained inside bt2.

So far I've tried the following things...

Code:
bt.addEventListener(MouseEvent.CLICK, onClick);
function onClick(event:MouseEvent):void
{bt2(root).mc.play();}

[Code].....

... along with several other things. Nothing is working at all, and I spent all last night looking for a solution with none in sight.

View 3 Replies

IDE :: Control An External SWF?

Mar 21, 2010

Is it possible to load an external SWF and control is with play/pause buttons, seekbar, and volume bar?Basically it would be something like this:controller.swf - this would load the external swf file and control itmovie.swf - this is the actual content that I'd like to control

View 1 Replies

IDE :: FLA Source Control?

Nov 30, 2011

We've updated to Flash Professional CS5.5, but are noticing that when multiple users access the FLA over AFP network file share off our OSX Server, they are not restricted from opening the FLA at the same time.Could have sworn that's always just worked in past versions. Most apps just refuse users access to open files; Other apps like Office warn us of multiple user access to open read-only.

View 2 Replies

Control Swf By A Click Of A Button From Other?

Sep 1, 2005

How to control the other sef by a click of a button from other swf?

i wanna create a website with multiple swfs inside a main big swf. and i wanna like, click a button at swf C that moves something at swf G.

View 3 Replies

Control A Buttons Link Using Xml?

Jun 25, 2006

Does anyone know how I could control a buttons link using xml? That way the link could be changed anytime without having to open the flash source file and re-export the movie.

View 21 Replies

ActionScript 2.0 :: Getting More Than One Volume Control?

Jan 13, 2009

using action script2 flash cs3, and i need more than one volume slider/control and each control needs to be assigned to one sound, atm i have more than one volume slider but they all control the same sound!

View 1 Replies

ActionScript 3.0 :: Control SWF From SWFLoader?

Mar 9, 2009

I'm loadning a swf coverflow (as2) to a swf (as3) with SWFLoader.

My problem is that i wish to make gotoAndPlay calls from the loaded swf to the as3, or even better call functions. Is there any way to do this - i've tried alot..

View 1 Replies

CS3 Can't Get Changed Var To Control Movieclip

Apr 1, 2009

I've a basic portfolio page with 5 links. The idea being that 4 stay small and the active page is a larger font. When one link is clicked, itself and whatever font is currently large both swoop down and then the large text is replaced by whatever section the user chose.

I haven't keyframed anything, it's all done with actionscript and here it is. I made one of the links show what the var is currently set to in a dynamic text box. That all seems right. But whenever the 'currentchoice' mc is asked the swoop down, it just disappears rather than animates out. Here's the actionscript.

import mx.transitions.Tween;
import mx.transitions.easing.*;
var currentchoice:Object = new Object();
currentchoice.selection = large_anne;

[Code].....

View 1 Replies

Control Many Flash Objects At Once?

Aug 25, 2009

I have 10 different buttons and I want to toggle their visibility with one command. How do I group them to achieve this?

View 3 Replies

Using Keys To Control A Timeline

Jan 18, 2010

in AS2 how would i use the down arrow key to make the timeline play? at the moment i have this and i presume i need to put something after that to make it play. [code]but i presume this is totaly wrong because the "stop();" doesnt stop the clip when the "if (Key.isDown(40))" bit is after it.

View 2 Replies

ActionScript 2.0 :: How To Control Flv Video

Aug 16, 2010

i like to add btns to control flv video. the btns are: play, pause, stop & volume control. i know flash itself has some standard btns to choose from, what i want is my own customisable play, stop btns.

View 1 Replies

Variable Used In Movieclip Control?

May 2, 2011

I am very rusty on my actionscript but here is my issue.I am declaring a variable:var activeTab = "none";the using the varible in a function the variable is working and holding the name of the movie clip that was clicked:

function moveTabs(event:MouseEvent):void {
if (activeTab == "none"){
activeTab = event.target.name;

[code]....

View 1 Replies

ActionScript 3.0 :: Control The Loaded Swf?

Dec 16, 2008

I want to load a swf into my main movie but it won't work as I want it to. Seperatly both files work fine and even the main movie works fine when loading the external swf. When loaded the external swf doesn't as it should and I get the error-message "TypeError: Error #1009: Cannot access a property or method of a null object reference. at port_ill_fla::MainTimeline/frame1()"...

Now, I know the problem have to be in the external swf since I've asked it to trace the result in the "for..var" method I use to create thumbs that works as buttons, but it only returns 0 when it should på at least 9.I don't know why it seems to be a problem as the main movie also are able load other external swf-files without any problems at all.theese files doesn't contain any actionscript triggering events in theese files, etc. Anyway, here is the code for the main movie:

var portUrl:URLRequest = new URLRequest();
var portLoader:Loader = new Loader();
function portCompl(Ev:Event):void{

[code]....

View 5 Replies

ActionScript 3.0 :: Way To Control Timings?

May 9, 2009

I'm finally breaking down and learning AS3 over AS2. One question I have that my lessons aren't teaching me is how to control WHEN things happen in AS3.By example, how would you tell AS3 to put a mc from the library on the stage 15 seconds into the movie at alpha 0 and then 5 seconds later make that mc alpha

View 2 Replies

Control When A Swf Is Loaded From Cache And When Is Not?

May 26, 2009

We have a web app. built in flash that allows customers to upload images and text, customize the container in which these will be shown (a swf file) and then embed the code into thier website. There is also a sharing options that allows their users to display this container, together with the content, on their websites. (For e.g you can see the container as the Youtube player and the content as the videos the user chooses to show). The swf container uses an XML file to know what to display.

Now, I am not a flash developer, but a person who takes care of the project.We are currently working on the app and the swf and we still find bugs. Every time we fix sth, I am told to erase my cache to see the changes. My concern is that the client/users might not see the newer version that we make available, but the old one. We can't tell them to erase the cache and we can't afford to renounce using the cache since the images are big.I was told that, sometimes, the browser does not see that the current version is a new one and loads it from the cache (actually, it never detected that there is a newer version and I always had to erase the cache). How can we tell the browser "now, load the swf from cache" or "now, don't load the swf from cache".

View 1 Replies

ActionScript 3.0 :: How To Control Car Y Position

Jun 14, 2009

i am trying to create a simple movie clip of a car that can drive on on a curvey floor. its from a side view.i have managed to control the car movement well enough but i cant figure out how to control the car y position so its always above the floor level.

View 1 Replies

Playback Control For Swf Files?

Jul 2, 2009

I am new to adobe forums and flash platform. I am using flash cs3 / 8 for almost a year now (timeline with some basic actionscript - AS2). What I need for my projects is a playback skin for the produced swf's. I tried captivate, but when I import the skin actions don't work any more (i tried several tactics - synchronize ... ect). Is there any other way to add a player skin with start /stop buttons and active scrubber bar (slider bar). I can easily create custom start/ stop buttons that does the job but I can figure how to make a scrubber bar that will respond to my flash project user interaction (e-learning purposes).

View 2 Replies

ActionScript 1/2 :: Control Mc With External SWF?

Jul 3, 2009

In SWF 1, I have a movie clip.

The movie clip in SWF 1 loads in an external SWF 2 file.

Is it possible for me to have something (like a button) inside the external SWF 2 with the ability to control something (like a movie clip) in SWF 1?

View 3 Replies

Control One Swf Animation With Another Swf Buttons

Nov 22, 2009

I m loading 2 swf in my flash file. The first one contain simple animation, and another one contains the button for play and stop. Now I want the control the first swf animation with the another swf buttons.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved