ActionScript 2.0 :: Set The ComtentPath() From A Loader Component From A Separate Movie?

Mar 19, 2008

is there any way to set the comtentPath() from a Loader Component from a separate movie?I have an main movie and when i hit the button ABOUT US i load a movie via loadmovie() and that movie has a loader component. How can i send the contentPath value from this main movie to that movie Im callin via LOAD MOVIE? Im using FLASH CS3 and ACTION SCRIPT 2.0 The script Im using is listed bellow:

stop();
main._lockroot = true
main.loadMovie("interno.swf");
_root.myLoader.contentPath = "int_empresa.swf";
The myLOADER aint loading that .swf.

View 3 Replies


Similar Posts:


Professional :: Flash - Exports The Movie Playback Component As Separate Swf?

Mar 7, 2010

I am importing a video (mp4 format) into Flash and selecting "Load external video with playback component". I am using one of the playback components that goes under the movieWhen I play the movie, everything looks like one, but when I export, the movie is one swf and the component is another swf file.

View 5 Replies

Professional :: Control The Swf Movie Loaded In Loader Component?

Oct 13, 2010

I have an external swf file loaded in loader component. The external swf loaded in loader component is stopped initially. I want to play it by a button outside the loader component which is located in the main swf movie.

View 1 Replies

ActionScript 3.0 :: Using XMLlist In A Separate .as Than The XML Loader?

Jan 20, 2010

I have this XMLLoader class that I found off Google (from this forum actually). I got it to retrieve a trace from my main "Content.as".However, since my parsing of the XML is going to be non-uniform or re-useable like the XMLLoader.as, I am trying to extract content from the XMLLoader class across the "package".I can't seem to type the right code to get a response that renders a communication. It just tells me that the first node of the XML tree is 'undefined'.I don't really understand the runtime of classes yet. I have a static instance of the XMLLoader class at the top, but I can't seem to make an XMLlist out of the retrieved XMLdata from the called XMLLoader class.Does this sound familiar? I understand finally how to load classes, but I'm unfamiliar with their runtime or how to travel information in between packages without them coming up 'undefined'.

View 0 Replies

List Component - Populate A List Box Component Located Within A Separate Mc In Swf With An Array?

Jun 29, 2009

how to populate a list box component located within a seperate mc in my swf with an array... the array comes from a response from a webservice call. I am not currently on the computer with my source code available so lets just use the following....

listdata[i] = the array i want to populate the list box with..... (listdata1, listdata2, listdata3, listdata4, etc. etc.)
movieclip1 = the MC within my fla containing the list box component
mylist = the actual list component

... just not all that familiar with the format of actionscript when working with objects... using CS3 and as2 btw,

View 3 Replies

Separate FLV Video And Audio Tracks In FLV Playback Component?

Jul 30, 2009

We're creating video that is destined for multiple countries - we've created a framework that has a video page (using the FLV playback component, w an external FLV w/ progressive download) for the given languages we're using, and subtitles for each, etc..  Until now, we've been using the same English video & audio for each, but the client is looking into having the videos dubbed into different languages.
 
We're hoping to avoid re-encoding the video for each language in order to accommodate for the different audio tracks.  Also, having different video files for each language would mean using more storage (since we're talking about a lot of video files, so it adds up). Is there a way to use FLV playback to progressive download an FLV file (video only) while playing a separate mp3 file?  Most inquiries into playing separate audio and video has led me to embedding video, which isn't feasible in our case.

View 4 Replies

Flex :: Asdoc Throwing Errors For MXML Component That Includes A Separate .as File?

Jul 27, 2010

I have an MXML component that includes a .as file with

<fx:Script source="myfile.as" />

Running asdoc throws a whole bunch of errors like

"Error: The private attribute may be used only on class property definitions."
"Error: The public attribute can only be used inside a package."

Solution 1 is to move the AS code into the MXML file. Kind of defeats the objective of using external .as files for MXML components in the first place, so really a last resort option. Code inside a mxml file is messy (I really don't want logic mixed in with mxml), and would also require using the < !--- ---> asdoc syntax.

Solution 2 is to have the MXML component inherit from a normal class file. That would mean no private members in the base class, only internal (meaning a separate package for the component to be safe) or protected. This would make things tedious to say the least.

Are there any other work-arounds or possibly a beta/nightly version of asdoc that fixes the problem? I am using the Flex 4.1.0.16076 SDK, the "latest production quality release".

Update:Just tried using asdoc from the svn trunk, (4.5.0 rev. 16942) and the problem persists.

View 1 Replies

CS3 Flash Component Loader?

Jun 29, 2009

I'm having problems with this flash project. I have a folder with a swf file and in it you have like 5 Loader components which in their content path directs to perticular pictures in that folder. It works fine offline, you know I open the swf file and you can see the pictures.When I insert this swf file in dreamweaver and upload the site it doesnt work. Yea you can see the swf file, but not the images. In Safari you have this activity window, where you can debug and see what the problem is. Apprently for some odd reason it says that the images are not found, because it's looking in the wrong directory.

View 4 Replies

Component ProgressBar And Loader?

Jun 17, 2009

The progress bar doesn't work if the .swf movie that's being loaded is being loaded into another movie. If the loader is on the main stage it works fine both in testing and on the internet.For example, I created a parent movie and a child movie with a loader and progressBar. The child movie works perfectly by itself. If I load the child movie into the parent movie the progressBar doesn't work.

View 3 Replies

ActionScript 2.0 :: Component Loader And IE

Apr 17, 2007

im working in a galerie of pics and found a problem with the component loader, using firefox everything is ok but with Internet Explorer the first time the galerie loads the thumbs at the left are too small not being resized by the component loader.the galerie is here . note if you refresh the page once the thumbs shows at the correct size.i have the component loader inside an mc , and then to create the thumbs i load dinamically these mc's using attachMovie, every loader has the properties autoload =true,scaleContent =true and the contentPath is defined just after the attachMovie.

View 4 Replies

AS2 :: [CS3] - Loader Component Rescaling An External Swf

Jan 27, 2009

I have a loader component on my stage that I load 30 or so different external swfs into. Their stages are all exactly the same size as the loader. But one external swf has an image that extents outside it's stage size, AND it is this that gets rescaled (shrinks) when loaded into the loader. How can I fix the size of just this one external swf?

[Code]...

View 2 Replies

How To Attach Scrollbar To Loader Component

Jun 22, 2009

I'm trying to attach a scroll bar to a loader component and it's not working. I don't want to use the scrollpane because its shows the outline around the box. Is it possible to get a UIscrollbar attached to a loader component?

View 8 Replies

SWF Content Will Not Scale To Fit Loader Component

Nov 12, 2009

I have a flash file for a website section.  I inserted a Loader component component to load a .swf file, and set the "scaleContent" property (in the Component Inspector) to True, but the .swf loads tiny, like a thumbnail.  I also set the minimum dimensions (400x300), but this seems to have zero effect.  I also have the size of the loader component set to 424x350. I have played with both sets of these numbers to no effect. 

Here is where I've uploaded the file for testing:  [URL] If you click any 1 of the 4 images, it will load 1 of 4 .swf files within (but very small).

Furthermore...the size of the embedded videos is not always consistent. Sometimes, after re-uploading the main file, Some of the 4 videos will be correctly sized, but if visited more than once, they return to being small.  Very weird.
 
P.S.  I have attached a screen capture of the Flash program, showing the component inspector and properties.

Attachments:
screen_capture.jpg
(225.1 K)

View 4 Replies

ActionScript 2.0 :: Loader Component & AttachMovie?

Jun 24, 2007

I have an app which takes data from php - MYSQL, loads into flash and now im just displaying it using attachMovie to use an MC from the library..In this data there is a imageurl stringI want to use the imageurl string as the loader components content path. I have done some tests offline and using something like

Code:
_root.image.contentPath = "images/2.jpg";
Works fine.

[code].....

View 5 Replies

ActionScript 2.0 :: Creating A Preloader For The LOADER Component

Nov 19, 2008

I am creating a photo gallery using the loader component, however some of the jpgs are around 240k so I want to add a custom preloader. The issue I am having trouble with is... how do I set up a preloader that I have made to activate when the loader component loads a new jpg via the myLoader.contentPath = "sample.jpg"???

I am using a sliding thumbnail gallery w/ a static main image behind.

Anyone have a tip for settingup a preloader for the loader? Never had much luck making preloader.

View 1 Replies

IDE :: Loader Component-Multiple Images-contentPath?

Feb 25, 2009

I am using the loader component to place images on the main timeline.My goal is to use a folder with multiple images.How can I modify the AS 2.0 code from myLoader.contentPath = "image.jpg";?I know it should start with:myLoader.contentPath = myVariable;How do I define myVariable to mean the path of the folder with multiple images?The folder will contain 1.jpg, 2.jpg, etc.

View 2 Replies

IDE :: Loader Component - Slideshow Not Displaying When Uploaded

Jun 2, 2009

I have used loader component in my flash website. In that I have used slideshow of images. But it is not displaying slideshow when uploaded.

View 3 Replies

ActionScript 3.0 :: Flash Component Loads Before Loader?

Dec 3, 2010

I have a preloader in the first frame of my movie but when i test it, it takes awhile before anything shows up because the components that i am using in the movie all seem to be added in the first frame even though the actual component is in another frame. Is there any way to get around this?

View 1 Replies

ActionScript 2.0 :: Centering Image Loader Component

Dec 4, 2011

Im trying to use a Loader component to add images to my flash file externally because i need to use a single loader for multiple images of various sizes the centerpoint is forever changing the centerpoint is ALWAYS to top left (as seen in image) and i cant figure how to change it.Ive used the following actionscript 2 code which i would have assumed it would center it fine but its never truley centered.[code]

View 1 Replies

ActionScript 3.0 :: Make A Custom Image Loader Component?

Nov 14, 2008

I want make a custom Image Loader component.

View 1 Replies

Flash :: Right Syntax To Add A Listener To A Component Pointed By The Loader?

Apr 10, 2011

I used syntax I found here AS3: add event listener to loaded swf

[Code]...

MySWF loads without problem. It doesn't really returns the class mySWF so I wonder if this is really the right syntax. And actually I don't receive anything. I am of course dispatching custom event from mySWF. Flash seems really a nightmare to cope with custom events in practice compared to other platforms.

View 3 Replies

AS2 :: Flash - Load An Image From The Library To The Loader Component?

Mar 10, 2012

I need to load (dynamically) an image stored in the library of Adobe Flash to the loader component. So far, i have imported this image to the library and exported it to ActionScript under the linkage section. I have named its identifier as well.

I am using ActionScript 2.0.

View 1 Replies

ActionScript 2.0 :: Load An Image From Library To Loader Component Using It?

Mar 10, 2012

I need to load (dynamically) an image stored in the library of Adobe Flash to the loader component. So far, i have imported this image to the library and exported it to ActionScript under the linkage section.

View 3 Replies

Actionscript 2.0 :: Preloader For UI Loader Component And Transition Effect?

Feb 5, 2010

I have a swf which has a UI loader component. I have to fade it in & have a pre loader while it takes time for the image to load.

View 1 Replies

ActionScript 2.0 :: TreeView Component And Loader - Link The Output

Apr 22, 2010

I am building a series of videos(MOV) that going to be played using Flash. So I have a TreeView component that gets populated from a well defined XML document that has all the video names as nodes. My use of this setup is to have the user select a link and the appropriate video comes up to play. I have a loader component also set up, but I want to link the TreeView's output (or user selection on TreeView) to the Loader, so that the corresponding video plays.

Can i call the video directly ? (Assuming its going to be a FLV4 file?). If I create the entire video in flash (create the product demo in flash) can i call the resulting swf ? Here's an update:

[Code]...

View 1 Replies

ActionScript 1/2 :: Loader Component Specific Sequence (External JPEGs)

May 28, 2009

I have multiple "Loader Components" placed in a grid that are working great for loading external JPEG's. However, when I publish my file the "Loader Components" load each image randomly (I assume because they load the smallest file in size first then next largest and so on). How do I load the content of multiple "Loader Components" in a specific sequence?

Here is the script I have so far:
////"Thumb1" is the instance name of the first "Loader Component" in the grid.
Next is "Thumb2", then "Thumb3" and so on
Thumb1.load()
if (Thumb1.percentLoaded >= 1 ) {
Thumb2.load();}
if (Thumb2.percentLoaded >= 1) {
Thumb3.load();}
if (Thumb3.percentLoaded >= 1) {
Thumb4.load();}
if (Thumb4.percentLoaded >= 1) {
Thumb5.load();}

View 2 Replies

ActionScript 2.0 :: Loader Component _width And Height Not Working On Fullsceen?

Oct 12, 2010

i am trying to load array of pictures dynamically in to a loader component,the picture after loading in to loader component i am resizing it to required size.
115 is the width and height of loader component.

.complete = function (eventObject)
{
loader.redraw();
x_txt1= loader.width;
y_txt1= loader.height;

[Code]....

but if i select next picture while fullscreen then loader.width and .height shows as 0 and picture is not displaying.

View 1 Replies

ActionScript 2.0 :: Pause / Play External Swf Loaded With The Loader Component

Sep 10, 2004

I am trying to pause/play a swf loaded into a loader component.I tried putting it in a mc and contolling it that way but it aint work.

View 1 Replies

ActionScript 2.0 :: Loader Component - Loads The Image For IE But It Doesn't For FireFox

Nov 3, 2006

I have my swf (embedded in a JSP page) deployed in Sun Application Server. My swf contains a Loader component which loads image through accessing the url of my servlet. This servlet of mine returns an image. Now, when i try it inside our network, it works both for IE and FireFox. But when i try it on an external network, the Loader loads the image for IE but it doesn't for FireFox. I'm doubting it is an acess problem since it works in IE.

View 4 Replies

ActionScript 2.0 :: Difference Between Loading External Files Into Loader Component

Jun 11, 2007

Using the MovieClipLoader class, what is the difference between loading the external files into a Loader Component or into an empty movie clip. Will one be quicker? They both worked for me, but I've read using the Loader Component is better. Can anyone confirm this? I would think that avoiding components would make things faster/less file size.

View 6 Replies







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