Loader Extension Component Problem
Hi, I downloaded the loader extension component, which works great when placed at root.
But when I use another movieClip to load this movieClip with the loader at its root, the loader doesn't work, and the screen freezes at frame 1 (of the loader clip). The only way to get this to work is if it is loaded onto the _root of the containe clip, which is not the intention here.
I changed the "_root." actionscripts in the component to read "_parent._parent.", which still works if placed at the root, but still doesn't work if loaded onto another clip.
Anyone got any clue what's up?
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 09-17-2002, 01:05 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
New Component From UIComponent Extension
Hello!
I am trying to make my own button, extending the UIComponent class.
In Flash I have drawn three buttons: one for the button's up state, one for the down and one for the over state.
For the main movieclip (that contains the avatar on frame 1 and instances of the three button clips from the library on frame 2) I asigned an .as class that extends from UIComponents, having the following code:
public class myButton extends UIComponent {
private static var defaultStyles:Object = {upSkin:"myButton_upSkin", downSkin:"myButton_downSkin",
overSkin:"myButton_overSkin", disabledSkin:null, selectedDisabledSkin:null, selectedUpSkin:null, selectedDownSkin:null, selectedOverSkin:null, focusRectSkin:null, focusRectPadding:null, repeatDelay:500,repeatInterval:35};
public static function getStyleDefinition():Object { return defaultStyles; }
public function myButton() { super(); }
override protected function configUI():void { super.configUI() }
override protected function draw():void { super.draw() }
}
So with all this I assumed that by dragging the myButton onto the stage and running the movie, I would see the graphics for the upSkin of my custom button; what really happens is that I see an empty movie, with nothing on it (the avatar is discarded as expected).
What am I missing?
What's The Best Extension/component You've Installed?
Hi everyone.
What's the best (or most usefull) component, or other form of extension, you have installed into your copy of Flash? Any add-on you used Extension Manger to install to enhance your flash.
Personally, mine has to be the "Custom Easing Tool." Which lets you easily add some great easing effects to your motion tweens. I use it all the time now. Don't know how I ever lived without it!!
FlashSQL Component Extension
Just curious if anybody out there has used the FlashSQL component extension version 3 from Netdrims. http://www.netdrims.com. If so have you had any luck with it?
Window Component With Loader Component
I have the SWF loading into a shell using a Loader component. Within one swf is a trigger for a window - which ,suprise suprise, doesn't work. It works fine if I access the swf directly just not when loaded through the shell. I have added the component to the shell fla and then although a window component loads up, the content (which is linked in the library) is not found. Anyone come across this before?
Attach Code
correctAnswerBtn.onRelease = function() {
var my_win:MovieClip = PopUpManager.createPopUp(this, Window, true, {closeButton:true, contentPath:"CorrectAnswers"});
my_win.title = "Correct Answers";
var winListener:Object = new Object();
winListener.click = function(evt_obj:Object) {
my_win.deletePopUp();
};
winListener.complete = function(evt_obj:Object) {
my_win.setSize(my_win.content._width+7, my_win.content._height+32);
my_win._x = ((Stage.width/2)-(my_win._width/2));
my_win._y = ((Stage.height/2)-(my_win._height/2));
};
my_win.addEventListener("click", winListener);
my_win.addEventListener("complete", winListener);
};
Loader Component And List Component
Hello everyone,
using AS2.0 does any one know if i can push or add a list component inside a loader component?
This would allow me to add as many List components as i want "dynamiclly" while letting the loader component grow as needed with the usuability of the scroll bar on a small stage.
thx
Loader Component
Ok I know i am doing something very stupid here, but I can't remember what to do so here it is.
I'm trying to change an instance of my Loader component, mainLoader to change the path on the release of a button.
on (release) {
mx.controls.mainLoader.load(banner.swf);
}
I'm running it on my computer so its not that the banner.swf is taking a long time to load.
Thanks
Help With Component Loader
Ok I just got Flash MX 2004.....but need some help with the loader component.
I am using the loader component to load an external image, I would like to create an event listener for this image I have loaded.
I have tried numerous ways to add a listener for the component but cant get anything to work. I used the examples that came with Flash as a reference for my code. There examples refer to buttons, so I am assuming that the code structure is pretty much the same no matter what type of component it is.....button etc....
The only way I can get the loader component to work is with the following code...
image1.onRelease = function(){
trace("test");
}
When I use this code the image is clickable....when I try an event listener the image is not clickable...I have tried calling a function from the following code.....
image1.addEventListener("click", myfunction)
nothing happens....
If anyone can help it would be much appreciated any sample code would be nice to...
Loader Component
Hey...
did any1 come across problems with the Loader component?
when i try to access my website... only after deleting all my temporary files and my offline content in my internet options... the loader component which is supposed to load a simple jpg doesn't send the "complete" state back to the player and it screws everything up...
the wierd thing is that sometimes it does it and sometimes it doesnt... it's pretty random... i dont understand why... any ideas?
if you wanna try it...
www.uoguelph.ca/~israel/avant.html
after the first time if you see something wrong with the webpage... try refreshing.. it'll come out right...
again.. it might happen on first try and it might not... if it does.. it goes into this weird loop (because the loader.complete statement wasn't sent to the player)... you'll notice it...
thanx.
Loader Component
I have a loader that loads an image (*.jpg) from its domain. It's actually multiple loaders doing this, and when I am editing in Flash MX, the pictures are viewable and everything is fine. But when I publish the webpage, the images are no longer viewable. So I read something in MX's help where it says that the images must be in the same subdomain as the SWF file, so I uploaded everything to the webpage, but it still doesn't display the images unless I'm in MX editing. I have also converted the images into buttons if that changes anything, but everything is still fine in MX and I still have nothing when I publish... anyone know what's wrong?
Loader Component
Hey,
I have a Loader components that works fine (autofit) in Firefox, however it just doesn't seem to work in Internet Explorer. Is there any specific reason for this?
Regards,
Xell -
Loader Component Help
i have a bunch of thumbnails and i need help with traying to load external pictures into my movie when someone clicks on a thumbnail button
instead of having the loader load the bigger pics automaticly.
i know the loadmovie function will work but it doesnt resize the pic like the loader does.
is there a way to do this?
thanks
Loader Component
After loading a swf file with loader component who do i unload it and get back to previous swf file?
Thank you.
Please dont tell me to use a diferent method to load a movie (loadMovieNum, loadMovie...)
Loader Component
I am having a problem with the loader component in flash mx 2004. I have a thumb nail gallery that i am using the loader to scale the larger images but when you load the page for the first time the images do not scale. http://www.ironhorsesocialclub.com/main.html click on the costomers button. also the dynamic text on the main page is offset untell you refresh the page or click on a button and go make to the home page. Can anyone Help? thanks
Oh but everything works fine when it is not online.
Loader Component In MX?
Hi, does anyone know if there is a loader component for loading in external swfs in FMX similiar to the one in MX 2004? I'm using MX 2004 but will have to go back to MX for a project I'm working on which requires the loading in of swfs to an area on the stage by the click of a button.
Thanks...
Loader Component
I am trying to load an external swf using the loader component in MX 2004 Professional. It works but the buttons etc in the swf do not work. Any ideas?
Loader Component
Is there any way to validate using Action Script whether or not the "contentPath" exists? I need to be able to select some scripts IF the file referenced in the "contentPath" exists. If it doesn't exist then I need to do some other condition. Any thoughts??? Thanks in advance.
Help Using The Loader Component...
I recently purchased a template that I'm trying to modify.
The first step is to replace the main .bmp files
with new images loaded externally to cut down
the initial load time.
For some reason when I use the Loader component
it simply remains a white box in the place holder
when I test the movie. I created a new
blank movie and placed the loader on the
first keyframe and it worked great, but
when I try it in my new template it doesn't
work...???
I read a post mentioning something about locking the
_root(mainMovieClip) But honestly I have no idea
where to do that...?
Any help would be greatly appreciated.
Loader Component Help?
Hey everybody,
I'm trying to figure out how to put a border on the loader component in Flash MX 2004 Pro. I've seen a few things about the
componentInstance.setStyle(propertyName, value)
But I'm not sure where to put that or even what my options are. I want to put in the borderStyle along with size and color.
Can anyone show me how to do this?
Thanks in advance
MikeC
[F8] Loader Component Help
I have a Parent Swf and I load other swf's into a Loader component. If I have a function in the loaded Swf called.. thisFuntion(), ,how do I use the parent SWF to execute? Also can I pass variables to the loaded SWF?
like loadMovie("little.swf",_root.mainLoader);
_root.mainLoader.variable = 12345;
or _root.mainLoader.thisFunction();
More Than One Component Loader?
Hi there Hopefully this is a simply question to answer
Is it possible to have a two or more component loaders on one page.
I can duplicate or swap the loader.
Thanks very much for your I ideas
Tiaka
Loader Component Help Please :-)
Hi new bloke here
can any of you guys help please
ive built a photo gallery using the loader component dragged onto the stage
in various scenes it works just fine on my desktop but with the filenames correct for the folders there in on the server only one scene seems two work?
do i need to create new loader components for each scene? you can view what ive done so far at this address. http://thewoolpackgalleries.tripod.c...esgallery.html
any comments welcome
thanks for any help in advance
Help With Loader Component
Hi guys, is there any way to set the comtentPath() from a Loader Component from a separate movie? I explain..
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.
Tks in advance.
[CS3] Loader Component
Hi,
I am working on a project using Flash CS3, AS2 and have come up against a brick wall that I can't get around.
My question is documented in the attached FLA file and deals with building an array of movie clips. I am trying to attach a movie clip symbol (that contains a loader component) to a dynamically created movie clip. All works well except that i can't populate the loader component???
If i create the same situation by creating the movie clip on the workspace then i have no problems accessing the loader via AS2. Hopefully the attach file will better show excatly what I am talking about.
(file location is http//:www.kensplaces.comsample.fla )
Can someone please explain to me what it is that I am missing here?
BTW, I am not a programmer, but not totally ignorant to programming.
Thanks in advance
Ken
[CS3] Component Loader
Hi!
I'm creating a flash site and whant to use several Loaders from the components palette. First I place a scrollPane with a button in it on the stage, I call the remote image to display in the Loader when I klick the button. This woks fine, but when I'm trying with a second Loader on a different layer in a differnet place in the timline it doesnt work! What to do? what am I doing wrong here?
Here is the code on the button:
on (release) {
_root.graphicsLoader.contentPath = "c2.jpg";
}
Component Loader
Hi,
i am trying to load a picture in a button with the loader component
here is what i did:
i have created a button in the library, then i opened that button
then drag the loader component in the up position then configured the loader component with the right path (same as the swf, just pic.jpg)then created the keyframe in over, down, hit, position,
the over button as some extra text to it
so when i tried to test the movie and over on the button noting hapen
but i do see the picture on the button
so is there a way to load 1 external picture to a library button and be able to
have the over botton work?
is this the right way to do this?
Thanks
Component Loader And IE
hi
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.
hope someone can help me.
Using The UI Loader Component
I just realised this UI component was there!! So had a little experiment, found a nice high res pic off google image search and linked it to the source parameter. Yes it all works but is it not meant to show a little loading animation before it appears?
This might sounds like an odd question but for some reason loading doesnt seem to work on my flash player!!?? Even tutorials that i have downloaded with an example file don't appear, i have attempted 4 or 5 different loading tutorials but to no avail. Anyone else had this problem?
Help With Loader Component
I have a total of 7 loaders in my workspace, 6 of them are small and contain thumbnails of some pictures, what's the ActionScript to load the same pictures in the clicked loader into the big one
Loader Component
Hello all,
I have an index.fla and an external.fla. I placed a loader component on the first frame of the index.fla. this should load the external.swf.
When I test the movie, it works fine but in a browser nothing shows up. Any suggestions?
Loader Component
i have an aplication that upon on(release) uploads simultaniously few jpg from server to loaders.
working locally - no problem.
workingf from server i face problem. some loaders are ok but some of them (every time another loader) does not scale the contents although its parameter is in "scale content" mode. i thought it could be result of the upload time from server. tried to add few frames but still wont work.
any clever idea?
Loader Component
i have an aplication that upon on(release) uploads simultaniously few jpg from server to loaders.
working locally - no problem.
workingf from server i face problem. some loaders are ok but some of them (every time another loader) does not scale the contents although its parameter is in "scale content" mode. i thought it could be result of the upload time from server. tried to add few frames but still wont work.
any clever idea?
LOADER COMPONENT
hello, i have been working on a site that pulls images listed in an xml sheet into the loader component on the stage.
the problem is when i preview the swf the loader scales the content and centers it - which is what i want - however when i view the site via the html file - it does not do either!!??
why is this occuring?
how do i rectify the issue?
Help With Loader Component
i have a loader component on stage to load external jpeg and in front of it i have a square with fade-in animation applied to it. How do i go about telling flash to play that animation only after the external jpeg image is fully loaded?
Loader Component
Are play and pause buttons usable with the loader component? Currently I have the play and pause in the swf that is loading into the component but would like to have them be an external control so I do not have to have play and pause funcitonality in the swf. Any help would be appreciated.
Loader Component
I have a total of 7 loaders in my workspace, 6 of them are small and contain thumbnails of some pictures, what's the ActionScript to load the same pictures in the clicked loader into the big one
Help With Loader Component
hi, i've got a Loader component on a swf i call holder.swf
i am loading an external.swf in this loader
i have a variable called music in holder.swf.
is there any way for me to access the variable music that was defined in holder.swf, from the externally loaded external.swf?
in code:
basically i have in "holder.swf"
onClipEvent (load) {
_root.myLoader.contentPath = "external.swf";
_global.music=5;
}
and in external.swf
i am trying to do
if(_root.music==5){
do something;
}
Loader Component
Hi, Is there any resolution size limitation for V2.0 Loader Component?
Coz when I loads a PNG file into loader component which resolution is 900 * 3250, it doesn't show up. However it shows up for JPG or GIF Format for the same picture.
Loader Component Help
... I'm trying to get the imaged that's loaded within an instance of a loader component.. is there a way to align the image that's inside?
Loader Component
I have a main SWF file that I'm using as the base of my website, I'll call this "MAIN". I'm using the Loader Component in MAIN to call in external SWF files to display content (in the Main_Loader instance of the loader component) according to the navigation button you choose. For example the "Contact Us" button has this ActionScript:
on (release) {
this.MainLoader.loadMovie("http://www.cashcowmedia.com/beacow.swf ");
}
So far this is working well! Here's the sticky point for me....I have an external SWF that will load as described above I'll call this SERVICES. In SERVICES swf that is loaded into MAIN there is a link to another external SWF called PORTFOLIO. I want PORTFOLIO to open in place of SERVICES. Meaning I want PORTFOLIO to load in the MainLoader instance of the portfolio on the MAIN page.
To see what I'm working with click below and hit Services on the navigation, then select the Web Creation and Hosting tab and you'll see the View our Portfolio link at the bottom in grey. I would like when you hit that that the external Portfolio.swf will load into that window.
Any help would be greatly appreciated.See example
Attach Code
on (release) {
this.MainLoader.loadMovie("http://www.cashcowmedia.com/beacow.swf ");
}
Edited: 03/02/2008 at 06:14:38 PM by Melissa Sweeney
Loader Component
I'm using the loader component from here and love how easy it is to use but I'm wondering if i can get it to load a folder of .swf before it start the first movie? Or do I need to add the component to each movie? Thanks
Loader Component
Hi, there
Does any body knows why, when you load a swf file into a loader-component the scripts or fuctions containing in the swf file stop working?... ANY IDEAS OR SOLUTIONS?
Thanks in advance
felipe@mexmags.com
Loader Component
Hi,
I am using the loader component in Flash MX2004 to load an SWF file. The loader works fine except for the fact that some items in my swf file are not being displayed.
The SWF file i am loading contains quite a few library items which are exported in the first frame. Could this be the reason?
Do you guys have an idea why this is happening?
Tonio
Loader Component
I have a loader component that I want to play an external swf. I want it to start playing when it enters the frame the loader is contained. Do I need to add script to the frame that has the loader? Currently, when the loader appears the external swf does not start.
Using The Loader Component
Dear Flash users
I have just completed this short project which works great, many thanks!!!
http://www.kirupa.com/developer/mx/p..._component.htm
i was wondering what links the loader component to the MC that loads. I'm very new to flash and can't see how the two are connected?
Any help would be great!
many thanks for your time
Joe
Loader Component?
quick question. how do i make the main timeline of my movie pause to let a movie clip symbol finishes playing, before the main movie clip starts playing again?
i created a movie clip sprite of a running cartoon. I want to ad this MC sprite to my main timeline but unless i give the movie clip as many frames in the main timeline as in the movieclip sprite, it will not finish. And the movieclip sprite i made contains 90 frames and i only want to use 5 frames in the main timeline.
What do i use for something like this? the loader component?
Loader Component
I want to duplicate a movieclip that has a loader with an image. But when I try to duplicate it, the clon of the movieclip doesn't have the image I want to show there. Somebody knows how to do it? I attach the .fla
Loader Component
Hi Guys
i've a problem with loader component...
i've loader component in my Library...
i'm creat loader component with creat object in AS thats working fine...
i'm loading JPG file for that... Dynamically i'm changeing contentPhath that's also fine...
BUT when i'm Acess from web... Image Scalling Problem.... (i tryed scaleCotent both i.e true and false )
How i Show images in Fixed Size....
And how i put Preloader for this Loader...
Thanks and Regards
SARMA
Loader Component
im using the loader compoment after watching the tutorial, but i am loading external "swf"s. what im asking is how do i stop my button (movie clip) from loading file again once it is pressed? (get it, even if moive is on screen if u press button again it loads again, starts over. how do i stop this?
Help With Loader Component
Hi!
Need a little help.
I'm designing a web site in Flash 8 pro and I needed to load a swf inside another swf, so I have created a movie with a loader component and a progressbar and pointed it to load that swf. It worked fine but the thing is that it starts to play the swf before it's completely loaded. I have some fade in effects that "drop" in the content progressively and it doesn't work because when you start to see the movie it already begun playing and you don't get to see the all animation unless you reload the movie and call it from the browser's cache...
I can't figure out why is this happening and how to fix it.
Please... HELP! Thanks!
If you want to see what I'm talking about just go: http://www.josebatistamarques.com enter the site and click BIOGRAFIA on the bottom left
PS: I tried to add some frames at the beginning of the animation to delay the content drop in to soon but didn't worked
|