ActionScript 3.0 :: BulkLoader - Reference Loaded Clip And Load More?

Nov 17, 2009

I'm using bulkLoader to load my mp3 and flv files (thanks to dawsonk for hooking me up with the answer there), and now I need to be able to play/pause and jump ahead and back in the movie that I loaded, but I can't figure out how to reference it?Also, when I go to load another movie/audio from a button click, do I need to do anything with the old instance, or will flash take care of that??

Here's the class:

Code:
package{
import br.com.stimuli.loading.BulkLoader;
import br.com.stimuli.loading.BulkProgressEvent;
import flash.events.*;

[code].....

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Duplicate Movieclip Loaded Through BulkLoader?

Jan 18, 2011

I'm currently using BulkLoader to load in swfs as MovieClips. What I'm trying to do though is duplicate the loaded movieclips and attach them to other clips?

I seen something that senocular posted about creating duplicates of display objects in AS3 but it didn't seem to work with BulkLoader and swfs?

Is there other ways to duplicate loaded movieclips?

View 1 Replies

ActionScript 3.0 :: Access Function Of A Loaded Swf With Bulkloader?

Oct 7, 2010

My problem maybe a development problem is that i've a preloader file.This preloader with bulkloader load and external swf that is the index file.Now because of i'm using the preloader every stage reference in the index class like stage.stageWidth will generate a #1009 error. So my question is how can i access to the an index class function so that when the preloader's stage will resize some index sprites must will assume the new width of the stage?

View 0 Replies

Actionscript 3.0 :: Change Name Of Movieclip Loaded With BulkLoader

Aug 18, 2009

I'm using BulkLoader as my main loading class for the project I'm working on. I would like to know how to set the name of a MovieClip that has been loaded with BulkLoader. Here's an example of my problem:The error I get is as follows:Code: Select allError: Error #2078: The name property of a Timeline-placed object cannot be modified.I have tried to set the name of the movieclip before I load set it to the swf that was loaded with BulkLoader, like this:Code: Select allvar random:MovieClip = new MovieClip();random.name = "random";random = _bulkLoader. getMovieClip ("randomSwf. swf");However, this results in the name property being changed to the random instance name that flash assigns it when it gets loaded in.So my question is, is there any way I can change the .name property of the movieclip that is loaded in with BulkLoader, so I can get access to it through the getChildByName() method?

View 3 Replies

ActionScript 3.0 :: Access Function Loaded Swf With Bulkloader?

Oct 7, 2010

i've a preloader that load an swf with bulkloader. How can i access to a function of the loaded swf?

View 3 Replies

ActionScript 3.0 :: Reference/control Clip Loaded In Other Class?

Nov 17, 2009

Also, when I go to load another movie/audio from a button click, do I need to do anything with the old instance, or will flash take care of that??

Here's the class:

Code:
package{
import br.com.stimuli.loading.BulkLoader;
import br.com.stimuli.loading.BulkProgressEvent;

[Code].....

View 1 Replies

ActionScript 3.0 :: Get Access Instances After Load An External Swf (bulkLoader)?

Jun 8, 2010

The problem: how can I get access to instance items after an external swf  loaded?[code]...

View 2 Replies

ActionScript 3.0 :: "Refreshing" A Swf Loaded With Bulkloader?

Apr 11, 2011

I am successfully loading and using several swf's with bulkloader. They are games, and when the user is done with one they are returned to a main menu. However if they go back to the game it is is in its finished state. Is there a way to force bulkloader to "refresh" the swf to it's original state?

View 1 Replies

Professional :: Added A Movie Clip To A Loaded .swf And Now It Won't Load Get Error #1056?

Mar 4, 2012

was all working fine until I added a simple shape movieclip (rectangle that I want to have visible and invisible) now just by adding this MC I get this error..

ReferenceError: Error #1056: Cannot create property largeframe on aavariable.
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()

[code].....

View 8 Replies

ActionScript 2.0 :: Create If Statement That Would Load Movie Clip After Different Movieclip Is Loaded

Apr 19, 2004

is there a way to create an if statement that would load a movie clip after a different movieclip is loaded.i have text_mc and scroll_mc. I dont want scroll_mc to load unless the content is loaded into the text_mc.I tryed to make an if statement sort of like a something used for a preloader but I must have been off just a bit because it was not working. I dont even know if it possible.

View 7 Replies

ActionScript 1/2 :: Frame Reference Within A Clip Within A Clip?

Jul 2, 2009

Is it possible for me to have 1 movieclip consisting of multiple movie clips, in a .fla file, and reference specific frames of clips within a frame of the movie clip, from an outside .as file?

In a .fla file I have a movie clip that consists of several frames, each containing a different movie clip to perform different actions of a character I am attempting to animate.The basics of the code work fine, but now I'm trying to get into more detailed aspects of the characters actions and interactions and all the tutorials that I've come across thus far direct me to add various aspects of code throughout my animation which I feel would litter my program as this project grows.My basic code is as follows

class hero extends MovieClip{    variable definitions up here [code]...........

This works fine.Beyond this,I have a frame with the anchor lable "Punch" which contains a movie clip consisting of 5 frames.Is it possible for me to reference specific frames within the movie clip within this frame of the big movie clip?

View 3 Replies

ActionScript 2.0 :: Targetting A Movie Clip - Loaded Into A Container Clip From Main Timeline

Nov 24, 2005

I am targeting a a movie clip. The problem is that all the syntax I have found for targetting clips looks like this: _root.sample_mc.sample2.mc. etc. The problem is, my target clip is in an swf that I've loaded into a container clip from my main timeline. So, essentially, I have a home.swf that loads menu.swf into a container called 'location'. In menu.swf, I have an MC called center, which contains the MC I am targetting called 'target'.

View 2 Replies

Actionscript 3 :: Accessing A Clip Inside Another Clip In A Loaded SWF-File?

Mar 1, 2010

I'm writing a card game in AS3. The artist I'm working with has produced (in Flash CS4) a single swf-file containing all the card graphics and animations. The structure of the fla working file looks something like this:

- Scene
- CardGraphics (Movie Clip)
- CardFront
- CardBack
- CardValueImage (Movie Clip)

In the program I create 52 instances of my Card class, each having a MovieClip instance created from the loaded swf. The idea is to set the frame of the CardValueImage MovieClip to correspond to the Card instance's suit and rank member variables. However, I can't figure out how I access CardValueImage and call gotoAndStop (or whatever method I will need to call).

[Code]...

View 2 Replies

ActionScript 3.0 :: BulkLoader Breaks With Flv?

Nov 16, 2009

I'm using bulkLoader to load an mp3 and an flv using their simple-example.as

It works fine if I make the SimpleExampleMain the file's class, loads sound and video and plays them both when they're finished. However, if I DON'T make it the class and just use:

Code:
var se:SimpleExampleMain=new SimpleExampleMain();

it loads both, plays the audio fine, but doesn't show the video?? It says that it's loaded, but it doesn't show anything. NOTHING is different except it's not the file Class...

Here's the SimpleExampleMain.as:

Code:
package{
import br.com.stimuli.loading.BulkLoader;
import br.com.stimuli.loading.BulkProgressEvent;

[Code]....

View 2 Replies

ActionScript 3.0 :: Bulkloader Won't Play The FLV

Apr 19, 2010

i'm working on a project that uses a lot of external files (sounds, videos...)So I decided to use the class Bulkloader to load my items.

First item I try to load : i'm stuck.The item (a flv) is loaded, but is not playing once the COMPLETE event is fired.All the code above is in the first frame of my flash. (I don't like to work with external classes).

Code:
import br.com.stimuli.loading.BulkLoader;
import br.com.stimuli.loading.BulkProgressEvent;
import flash.events.*;

[code]....

The 'loaded' string IS traced so everything works fine until that.Seems it is the resume() function (or something else ?) that do not work.

View 1 Replies

ActionScript 2.0 :: Unload Clip With A Button In The Loaded Clip

Jan 1, 2008

So I want to Unload a clip with a button placed in the loaded clip.

First I have this code for my preloader and movieclip loader:

var mcl:MovieClipLoader = new MovieClipLoader();
var mclL:Object = new Object();
mclL.onLoadProgress = function(target,loaded,total) {

[Code].....

View 1 Replies

ActionScript 3.0 :: Bulkloader As An Option To Library?

Jan 28, 2009

I'm having a little issue during my project, cause I can't use those "normal" preloaders. The problem is that I have all the website-graphics in the library, export in frame 1 (because I don't have any more frames than that, everything is done by actionscript), so I need some magic trick to show the loading bar, while loading, though everything is in the library... I tried this one here, to load my stuff from another swf :[URL] BUT... it gave me this little error here:

[Code]...

View 0 Replies

ActionScript 3.0 :: BulkLoader FLV Metadata Error ?

Jun 2, 2010

I'm having a particularly frustrating issue with the BulkLoader API [url] that I thought perhaps someone here might be able to help resolve. What I'm trying to do, is to capture the metadata from a loaded .flv (through Bulkloader) so that I can check its duration. In all my efforts to facilitate this, Bulkloader either misfires once the video has loaded and/or returns null. For the sake of preventing redundancy, here is what I've tried/checked so far...

-I've pulled the metadata of my video(s) through a simple custom net connection... so it is there, and I can grab the duration this way. However, in this particular case, I need the data from BulkLoader.

-I've encoded/re-encoded the video(s), and have also injected custom data. Still no luck.

-I've changed the loading parameter "pausedAtStart" to true, as suggested, and have used netStream.seek() to jump to later frames or back to the first.

Needless to say, this is a very frustrating issue that I just can't seem to find a way around. Here is a link to my source files w/Bulkloader library: [url].

Here is a look at the code:

ActionScript Code:

View 2 Replies

ActionScript 3.0 :: How To Use Flash BulkLoader Library

May 31, 2010

How can I use the bulkLoader library? I downloaded it, but I don't know how to link it with my .fla file.

View 2 Replies

ActionScript 3.0 :: How To Reference Newly Loaded Images

May 5, 2010

I am loading some external images, that bit is sorted. What I cant seem to figure out is how to reference the newly loaded image.

Here is the snippet of code I have
ActionScript Code:
public function loadImg(img:String):void {
loader.load(new URLRequest(img));
myHolder.addChild(loader);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaded);
} private function loaded(event:Event):void {
//How do I reference the new image here so I can do stuff to it? }

I know how to do it in AS2 but cant seem to get at it here. Is it passed through the event?

View 5 Replies

IDE :: Reference Linked Movieclips In Loaded SWFs?

Nov 5, 2009

Let's say I have a movieclip in my SWF's library, and its linkage is set to "MyClip" and it's set to export.

I can add it to the stage by saying "addChild (new MyClip as MovieClip)"

Now let's say I load a SWF as a loader object, and that loaded SWF has a similarly linked movieclip. How do I reference the linked movieclip in the loaded SWF?

View 3 Replies

ActionScript 3.0 :: Reference A Root Timeline From Loaded Swf

Dec 12, 2009

I'm loading a lightbox as an image gallery, but I'm working on changing it to full flash. My site is structured with external swfs. I ran into a barrier, because I'll need to load the images (and reference the stage size) in the root timeline, but I don't know how. MovieClip(root) only references the smaller loaded swf's main timeline.

View 1 Replies

ActionScript 3.0 :: Reference To Namless Clip?

Nov 17, 2008

how can I reference a namless clip in as3? In the debugger I only can see my named clips but I don't see where the other clips are. I try work without names to easily copy them without creating a new name for every new clip.

View 1 Replies

ActionScript 2.0 :: Reference Any Clip By Just Clicking On It?

Apr 9, 2010

how can i reference any clip by just clicking on it? example

onMouseDown = function()
{
trace( Name of ANY Clip that was clicked);
}

View 2 Replies

ActionScript 3.0 :: Bulkloader - Multiple Instances Of The Item

Feb 23, 2010

I use BulkLoader to load images for the application. But when I try to use them, I can display only one instance of each image. If I have repeats, the image actually displays only once, in the last occurrence. How can I create multiple instances of the loaded items?

[Code]....

View 4 Replies

ActionScript 3.0 :: Typing The Content Of LoadingItem From A BulkLoader?

Sep 21, 2008

I have a bit of an elaborate loading setup I have written asa reusable framework. Right now I have this one kink in it that Ican't get passed.I have class HeatmapComponentController which is a simpleclass extending another class BaseCompoentController.HeatmapComponentController is the DocumentClass of another moviecalled heatmap_component.swf. After my BulkLoader's COMPLETE eventis fired (having fully loaded the swf) I try to use theLoadingItem.content as a BaseComponentController... like so...

private function _onLoadComplete($evt:Event) {
var _baseComponentController:BaseComponentController =
loadingItem.item.content as BaseComponentController;

[code].....

View 2 Replies

ActionScript 3.0 :: Preloading Multiple Images From Xml With BulkLoader?

Sep 3, 2009

Anyone have any experience with bulk-loader for multiple files? Its great for preloading single files, but I am now trying to preload essentially a folder of images. The images have different names (and will change over time), so I can't just create a for loop to preload for example 'image01' then 'image02' etc. They are referenced via XML however, and I'm wondering how I could loop through those, and use bulk-loader to retrieve these...? Essentially I'm confused about integrating XML nodes with bulk-loader, and then also about how to do it with multiple images...?

View 1 Replies

ActionScript 2.0 :: CS3 : Reference A Frame In A Movie Clip?

Oct 31, 2009

Currently i am working on a project and i need the gallery to appear when a movieclip boxp_mc gets to frame 11 i have this in a function that i call onRelease of a button. However it donsnt seem to read this write. As soon as i click portfolio_btn it traces "dosnt work" i feel its reading it right away. I want it to wait till it gets to frame 11 then to this.

_root.portfolio_btn.onRelease = function() {
gotoAndPlay("bportfolio");
gallery();

[code]....

View 1 Replies

ActionScript 2.0 :: FMX: Get Reference To Clicked On Movie Clip?

Aug 31, 2005

I normally write javascript code, so I wonder how to do this. In JS "Microsoft IS" you'll write code like this:

document.onclick = func;
function func()
{
var obj = event.srcElement; //And there I have reference to the object;
}

The graphic designer creates flash drawings and then converts whatever objects to movieclips. Then passes them over to me. All these "mc" need the same action applied to them. So I don't need to know how many they are or their names.

View 4 Replies

ActionScript 3.0 :: Using Variable To Reference Movie Clip?

Jul 24, 2008

In AS2 I used to be able to reference a movie clip using a variable like this: Code: var target = nameofmovieclip; I've been looking for an answer on how to do the same thing AS3 but with no luck. I'm trying to create a dynamic homing missle, but unfortunately everything I've tried just generates errors.

View 6 Replies







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