movieclip

how do i record and play a video in my native iphone app?

i have a view in which i want to play a video if user recorded or show photo taken from camera in a custom size screen.any help appreciated. ...

How to control a movieclip that was loaded using loadclip() in AS2?

This is in AS2. I'm loading an external AS2 swf using the loadclip funtion. But I don't know how to call its gotoAndPlay or stop functions. How do I reference to them? When I trace the loaded file it says _level0.mcContainer.instance42 The object path always varies every load like now it's instance42 sometimes it becomes instance7 o...

Add nested movieclip and set dynamic text AS3

Hello, I have a map of the US with icons over a number of cities (about 12). When the user hovers their mouse over one of these icons a movieclip with two dynamic text fields pop-up over the icon. Each city's icon movieclip is named after it's home state: state_(abbreviation) ie: state_TX The pop-up text balloon is named: cityTag_mc In...

Identify MovieClip in AS3 among DisplayObjectContainer

in ActionScript 3, if I loop through the children of a movie clip, it will return a DisplayObjectContainer, which is a list of DisplayObjects. However, the AS3 typeof cannot identify MovieClip as MovieClip is now an object, instead of a data type. How can I correctly identify MovieClip? I found 3 solutions online: Solution 1 (the sol...

swf movie is not staying within the confines of the movie clip when played, ie it goes over the whole stage.

Hi, Can anyone give me a hand please? I've got a basic web page with buttons on the left and a movie clip on the right. When I attempt to import a swf file into this movie clip the movie doesn't stay within the specified pixel size of the movie clip. The movie clip I am importing is an actionscript scrolling image gallery and the image...

Embedding a movieclip using CSS in Flex 3

We use [Embed(source="assets/styles/basic/my_skins.swf",symbol="preloader_3")] private var PreloaderAnim:Class; for embedding a movieclip from an swf file. How can I do the same using a CSS file (which is loaded at runtime) and use it in my class? ...

Merge multiple MovieClips into a single MovieClip

Hi, I've multiple videos stored as MovieClip objects and would like to merge them into a single MovieClip video object in order to play all of them in sequence (so that a user thinks it's a single video). Thanks a lot! EDIT: I want to do it programmatically in ActionScript inside the Flash Player. ...

AS3 Play contents of a symbol

I've grouped a multiple layer 1 frame actionscript driven animation into a symbol. (simply put, imagine a 1 frame image being tweened by code over a few sec, in this symbol) Now I'd like to play the contents of this symbol using an event listener. But stuff_mc.gotoAndPlay(1); and Test Movie doesn't play a thing (doesn't even show the ...

How to tween (with ease out) a movie clip using only Action Script 2.0

I would like to tween a movieclip (with ease out) using purely action script 2.0. Does anyone know where to find any resources on this or could point me in the right direction? Thanks! ...

How to loop through different movie clips in AS3?

I have five movie clips in my library. I want to load each to the stage with a fade in and fade out. I thought I could just call them into an array, but I can't find how to reference them. I have other clips in the library too so I can't just grab them all. Anyone know how to do this? AS3, please. TIA ...

Link images/layers in Flash CS4 - making them move together

I have two copies of an image (one called blurPic_mc & one called sharpPic_mc) and I want to be able to move both of them around the screen together. I need them to stay exactly on top of each other for some other functions I am running but right now the only one that moves is the top one (sharpPic_mc). Any Ideas? I included my code b...

List of all classes exported by a flash movie

A Flash movie loads another movie that contains various asserts - movie clips in its library with 'Export for Action Script' settings set. Is there any way to determine the list of class names of all these exported asserts from within the movie that loads them? ...

Change parent of MovieClip

I want to detach a movieclip and attach it elsewhere, but it doesn't seem possible in AS2. I'm looking for an AS2 equivalent of Cocoa's addSubview/removeFromSuperview. Is there alternatives routes to go, such as duplicating a movie with a new parent.. is that possible? ...

Dynamically adding movieclip to stage as3

I have buttons on the stage (run1_btn - run5-btn) that when clicked adds a movie clip to the stage.(hand) The movie clip contains a few frames of animation. When a button is clicked the movieclip gets added but the animation is already finished. I thought that when the mc got added to the stage then the animation would start, but this do...

Displaying content from bulkLoader which is typed as MovieClip in Flex app

Hello! I know this is somehow trivial, but I couldn't find appropriate solution so please help me :) I am using bulkLoader to load dozens of SWFs into my Flex app, and all of SWFs are static (1 frame only). 'Everything' works fine, however, I'm not sure how to handle data from bulkLoader... I am getting MovieClip types for all of my SWF...

Build a server to stream audio files

I have a need for users to upload and then stream back home made movie clips. For privacy reasons, I cannot have them use YouTube, the site must be secured. I have experience building J2EE web applications, is it a big deal to build a server to do this? ...

how to control a embedded multiframe swf file?

[Embed(source="data/fire.swf")] static public var movieFire:Class; I have some multiframe swf file and I want to have control of them. For example, I can use gotoandplay and gotoandstop functionality. I tried something like: var m:MovieClip = new movieFire() as MovieClip; but it turns out when I tried to get totalFrames, m.totalFrames,...

MovieClip.onResize event? how?

I have a an swf, called 'controls' that I created with flash cs4. I upload the controls.swf to my web server. I create an application in flex and it loads the external swf controls into itself. So far I can manipulate the controls.swf via my flex app. I created a class in my external swf, but I need to add some onResize event/check to m...

Referencing other movieclips within actionscript class

I have externalized the actionscript code of a movieclip into a separate class files. This movieclip requires references to some other clips on the stage. What I am currently doing to reference those clips is by using Movieclip(this.parent).otherclip but somehow that feels wrong. Is there a better way to pass in the required references ...

as3: how to get a MovieClip to stop...

I'm working on a Flash project where all of my code is in an external Document.as file. How would I go about setting up an intro MovieClip that runs and finishes before other MovieClips are loaded? What happens right now is that the clip loads along with everything else in the Document class (content, UI... etc). I want the intro clip t...