Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




LoadMovie Notification Of Loading?



I've got this code in my parent movie.

_root.stageHolder.loadMovie("home.swf",15);

Is there a way to trigger something in my parent movie when the home.swf movie has fully loaded? I have a little animation I want to occur, but only once the child movie has fully loaded. Thanks.

Geoff



FlashKit > Flash Help > Flash ActionScript
Posted on: 02-24-2005, 12:02 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Loading Notification On My Flash Site's Intro
wanted to know how to make one of those loading dialogs that you use when you're loading your flash movie on a website.

Email Notification?
hi, does anyone know where i can find a simple script that i can add to my submit button on the guestbook that sends an email notification of a new entry?

Email Notification?
hi, does anyone know where i can find a simple script that i can add to my submit button on the guestbook that sends an email notification of a new entry?

Email Notification
I'm making little mini-blogs in Flash to communicate with students in my class. I would like it if - when they type messages and hit "submit" - a notification would be emailed to me so I know there is a new entry. Is that possible. I don't want it to open their email program, etc. I just want something emailed invisibly in the background.

Email Notification
I don't think that I can do this using flash but I thought I would throw it out there anyways...:

I want to send users email notification if someone responds to a comment the user leaves. I don't think that I can do this with flash... I know how to call php from flash, maybe I can do it with php?

I'm not asking for anyone to do this for me, I just dont know where to start looking.

thanks

Notification Board. Need Suggestions
hello guys. Long time no see.
I want to have something like a notification board in a swf file embedded in an html. When i say notification i mean something like a board, but without the folders and pretty advanced stuff. Just plain text and replies to a single topic. I want to control this swf file from another swf one with a title textbox and a message textbox that are gonna hold the title and the message that is going to be sent in the other swf file. All in all i want to have 2 swfs, from which the one will be used for posting, and the other will have all the posts. Can this be possible without php,cgi or js? And how? Point me somewhere comprehensive please! I am not an actionscript guru. If this cannot be a way, please suggest something else!
thanks
George

Site Launch Notification
Hey. Right now, I have only one question: how to make PHP + Flash based site launch announcement/notification. Any ideaz, thoughtz? Thanx in advance.

Why 3 Copies Of The Same Email Notification?
Anyone know why, when I recieve email notifaction of a new post to a thread, I get 3 copies of the same email notification?

Save Button Notification
I'm creating a RIA, and one of the buttons in my main movie is a "Save" button. After the user saves their work, the button is disabled. I want to be able to change the "Save" button back to enabled if the user changes anything in any of the components in any of the loaded mcs. Is there a way to do that without making a listener for each component to send a message to the "Save" button??

Thanks!!!

Load Movie Fail Notification
I am loading movies in main mc. The thing is that the number of the movies is not always the same. The movies are named movie1.swf, movie2.swf, movie3.swf... I would like flash to check if for example movie5.swf exists and if not to load movie1.swf.
Thank you

Notification Of Container Window Resizing
Hi everyone:


Is there any way in Flash to receive a notification when a container window housing SWF is resized?

Instant E-Mail Notification Not Working?
Hey Guys,

Has anyone else been experiencing problems getting "Instant E-Mail Notifications"? I have been getting them up until yesterday...

Email Notification When Someone Click A Flash Button
Hello,

I'd like to know if it is possible to have an email sent to me,
when somebody clicks a flash button,

for example when somebody clicks "enter" ( flash button ) I wish to
be notified .

I am not talking about a form which takes the user's email address, I'm talking about just a notification to myself just saying somebody, anybody has clicked that button.

Thanks in advance, for any help.

Flash Remoting 'push' Notification / Socket
Hi,

I'm building a flash/coldfusion app that will send messages / alerts. Instead of making remote calls to the server at set intervals to check for updates/new alerts I'd like to 'push' a notification out.

I noticed some people were using 'socket' connections which stay open but couldn't find a good example that didn't involve Java. Does flash remoting / coldfusion have a way of doing this?

Could anyone point me to an example of:
1. how I would push a notification out
2. how the notification is received.

The technologies I use are coldfusion, flash, flash remoting (not java or flex) so with that in mind any help with 1. and 2. would be appreciated.

Thanks
Robin.

Flash Chat New Message Notification Blink
Hi guys,

Is it possible to make flash chat for FMS 2 blink when a new message arrives? Our flash chat is based on part of a sample app that you can download from Adobe here

http://www.adobe.com/devnet/flashmed...mple_apps.html

Any ideas on how to do this would be greatly appreciated. Thanks,

T

Server-side Stream Event Notification
Hi,
I'm evaluating the FMS 3.5 at the moment and have a question:
I'd like to get a server-side event, in ActionScript, when a client starts or stops a stream - basically a notification like when using the NetStream.addEventListener() on the client-side, i.e. a function that gets automatically notified whenever the stream status changes.

In the application.onConnect() function I've tried:
- Stream.addEventListener(), but this doesn't seem to be possible on the server.
- Setting a Stream.onStatus handler, but it doesn't get called at all and I'm not sure if it's only supposed to be called in case errors.

I can reject or accept a client connection altogether in application.onConnect() by using client.acceptConnection() and client.rejectConnection(), but it's the more "fine-grained" control for keeping track of the streams the client requests I'm interrested in - is this possible in ActionScript? Or perhaps by writing a Access/Authentication plug-in?

Any information on this topic will be appreciated!
Thanks
Stig Christiansen

Need Some Kinda Of Notification When Mask Fully Reveals A Image
hi

i have a image which is hidden. using drawapi methods, i have created circle which i use as a mask to reveal the hidden image. now i need a way to know that the image is fully revealed. pls tell me how to do it....

Loading Bar For A LoadMovie()
Ok I know how to load a movie and i know how to make a loading bar but i dont know how to combine the two

i want to make a main movie then load something into it and get the loading bar to show how much of the movie thats getting loaded is loaded (hope you understand )

HELP... Loadmovie - Not Loading Swf All The Way?
Hi all,
I have a "Pic Holder" swf, and its purpose is to hold different "Picture slideshow" swfs. On the first frame of the "Pic Holder," I have an action that specifies "default slideshow" to load. There are also buttons on the side, where you can click to load the appropriate swf.

Problem: When the default slideshow loads (initially) none of my buttons show up (or the header on the top). The only thing that shows up is the 1st picture. If I click on the button, the thing loads fine? This worked fine on my desktop, but it doesn't work when I publish to web. Why wouldn't the movie load all the way??

Please HELP!!!!!!!!

Thanks,
Keith

Loadmovie Not Loading On PC? But Is On Mac?
Hello there, i'm having a rather odd problem and i'm hoping that
someone can give me a hand... i'm loading an image into my flash
via: loadMovie("http://www.URL.com/img.jpg", "img");
which works just fine... then after a bit it's told to unloadMovie
and then loadMovie again, the image is updated every 10 seconds so
it is a new image just called the same thing. on my Mac the code
works just fine! every 10 seconds i get a new image... but on my PC
when i try it the image never updated.. it goes through the code but
the image doesn't change... if i dump the browsers' cache and refresh
the page i get a new iamge.. but only then... does anyone know what
i'm doing wrong?.. maybe i'm missing something?

Frame 1 code:

Code:
unloadMovie("img");
loadMovie("URL/img.jpg", "img");
Time = 0;
setProperty("Bar", _xscale, Time);
play();

Frame 2 code:

Code:
Time = Time+1;
setProperty("Bar", _xscale, (Time/2));
if (Time>=200) {
gotoAndPlay(1);
} else {
play();
}

Frame 3 code:

Code:
gotoandplay(2);

Loadmovie Not Loading On PC? But Is On Mac?
Hello there, i'm having a rather odd problem and i'm hoping that
someone can give me a hand... i'm loading an image into my flash
via: loadMovie("http://www.URL.com/img.jpg", "img");
which works just fine... then after a bit it's told to unloadMovie
and then loadMovie again, the image is updated every 10 seconds so
it is a new image just called the same thing. on my Mac the code
works just fine! every 10 seconds i get a new image... but on my PC
when i try it the image never updated.. it goes through the code but
the image doesn't change... if i dump the browsers' cache and refresh
the page i get a new iamge.. but only then... does anyone know what
i'm doing wrong?.. maybe i'm missing something?

Frame 1 code:

Code:
unloadMovie("img");
loadMovie("URL/img.jpg", "img");
Time = 0;
setProperty("Bar", _xscale, Time);
play();


Frame 2 code:

Code:
Time = Time+1;
setProperty("Bar", _xscale, (Time/2));
if (Time>=200) {
gotoAndPlay(1);
} else {
play();
}


Frame 3 code:

Code:
gotoandplay(2);

Loading Jpg's Using LoadMovie
right, i'm VERY new to this, i've managed to work out how to laod images over the top of another movie, but everytime i do it seems to load it up in the bottom right corner of the movie clip, how can i get it to load the image to a certain place in the movie clip?

Loading Using LoadMovie
hi,

i was using the loadMovie command on a button to load a .swf from my hard drive to play after the button was pressed. the .swf loads but does not play or do anything. it's just stuck in the first frame. i'm only doing a test movie and this is not published. do i need to publish it before the loaded swf will play? if anyone can help, please do. thanks

Julie*

Jpg Not Loading Via LoadMovie()
hey there,
i'm dynamically loading jpgs for a photo gallery via loadMovie().
everythings fine and works well, EXCEPT for some jpgs which will not be dislayed.
the path and filenames are right, the pics are jpgs alright (saved them with photoshop as jpgs and they are labeled as jpgs in the explorer - so everything's cool).
but flash doesn't display them, not even commenting it...
has something like that happened to anyone ????

Loading Var From .txt For Use As Loadmovie
Okie dokie.
I am trying to load a var from a simple text file, for example the text file contains just one line:

mymovie=themovie.swf

Then I want to use this variable...mymovie...to load a movie.

I have tried everything...the variable gets retrieved..I can put it in a dynamic text box, but whenever I try:

loadMovie(mymovie, _root.player,... etc. I can't get it to load.

I am sure I am missing something...am I?
Thanks!
Jason

LoadMovie Not Loading...sometimes
I'm trying to make this Flash file where I use separate swf files as scenes and get to them by loadMovie (because if I just have different scenes, these movie clips won't go away from scene to scene... anyway, long story). When I press the "next" button, I use the command

loadMovie("pg2.swf", 0);

to load up the next scene. Unfortunately, this works some of the time, but not all the time. Sometimes after pressing the button, I just get a blank screen (with same coloured background as before). I'm not sure what causes it to give me the blank screen - it just seems to be at the whim of the programme! What is going wrong, and what can I do?

Thanks a lot, and I hope my explanation is not too fuddled.

Loadmovie Is Not Loading A SWF
Hello All,

I have a PNG file that I placed inside a flash file so I can load it dynamically. This all works Great. Now I wanted to add a mask to the PNG file so I can create a dissolving effect. When I add the mask the dynamicly loaded SWF file does not appear. Removing the mask and publishing the SWF makes it appear again. Which lead's me to believe there is a problem with the Mask. When I test the solo SWF it works exactly as intended just not when tested in the larger movie where it is being called. Any ideas would be appreciated.

Thanks in Advance
Ese51

Loadmovie ... Not Loading?
Ok, so i just started learnin how to create flash sites last week, and i wanted to be able to create a nav menu that opens an external movie in d main one when clicked. everythin works...but the loadmovie script. when a button is clicked, a button expands to become d bkg, but nothin plays... i'm stomped. what am i doin wrong?

[F8] Loading An SWF With LoadMovie
Hey guys,
I had a question on the LoadMovie function, and I was hoping you guys could help me.

Basically, I would like to create a 1024x650 flash site (main.swf), and I'd like to put an MP3 audio player on it (player.swf). The size of the player is 400x170, and I would like to keep those dimensions, and just position the player in the bottom corner of main.swf.

The problem is, every time I do LoadMovie, player.swf comes in at 1024x650. I've tried it some different ways:

- I created a movie clip (player_mc) and changed the size to 400x170, and I did 'loadMovie("player.swf", "player_mc")'

- I tried:
loadMovie("player.swf", "player_mc");
_root.player_mc._xscale = 40 //percentage for 400/1024
_root.player_mc._yscale = 26 //percentage for 170/650

In both of these cases, the player is sized right, but it looks like the original 1024x650 sized player shrunk down to those dimensions (the text is really small, all graphics are scaled down and tiny).

- I also tried creating a rectangle, size it to 400x170, make it into a movie clip, and loadMovie into it, but this didn't do anything...it just loaded up a 1024x650 sized player to the position where the rectangle is.

What is the correct method in just importing player.swf and retaining it's original dimensions, and being able to place it somewhere on main.swf? I've been Googling this for three days, and I suspect that I'm not typing in the right keywords...I'm thinking there is a straightforward way to do this, but I'm just not looking for the correct thing.

I would really appreciate any help you guys could give me.
Thanks,
Dave

LoadMovie Not Loading
Hi,

I have a swf which loads and "control" different SWF's, but there is one SWF which is not being loaded. What could be the problem?

Everything is Flash 7. Both the controller and the other SWFs.

var movie:String = "movie.swf";

the syntax I am using is _root.ui.loadMovie(movie);

Cheers

Loading A Jpg With Using LoadMovie
Hello,

Is there anyway to dynamicly load an image into flash without using the loadMovie() function.

I'm using flash with blaze3d which is sort of an extention to flash which allows it to show 3d objects.

Blaze doesn't support loading images via loadMovie only swfs.

so i'm looking for a way around that.

Thanks

Idan

HELP With LoadMovie.. It´s Loading Just A Part
I´m having a little problem with loadMovie action.

I´m loading a movie arte01.swf (and others) inside a targeted mc load_mc.


Code:
urls=['arte01.swf','arte02.swf','arte03.swf','arte04.swf'];
num = random(4);
loadMovie (urls[num], _root.load_mc);


In arte01.swf I've created a mc that changes its color with actionscript on rollOver, like my footer.
And Duplicated it several times, like my footer.

It works fine alone, but when a load it inside another movie the duplicate action doesn´t work, but the rollOver does.
Any Idea about that?


Thanks
renato

LoadMovie Not Loading Movie
Ok, I have this script in a frame on the main stage:

nineties = new Array("/x90s/x90s_01.swf", "/x90s/x90s_02.swf", "/x90s/x90s_03.swf", "/x90s/x90s_04.swf", "/x90s/x90s_05.swf", "/x90s/x90s_06.swf","/x90s/x90s_07.swf","/x90s/x90s_08.swf");
NumberofMovies = 8;
loadMovie (nineties[random(8)], _root.pisces_90s);
loadMovie ("/elements/water.swf", "pisces_swirl_90s");
stop ();

The 'x90s_xx.swf' is a randomly placed movie with a shaped hole cut out of it, in order to view the 'water.swf' through underneath. Without the 'water.swf' movie loading i am left with a blank screen.

I have similar script on three frames prior to this (60s, 70s and 80s, would you believe). The sixties ALWAYS loads but the rest are very erratic, except if I use right click>play to forward to the next decade (suggesting that it is not the command from that specific decade and rather the 60s command that is still loaded).

I have changed:

loadMovie ("/elements/water.swf", "pisces_swirl_90s");

to:

loadMovie (elements/water.swf, _root.pisces_swirl_90s);

also, but to no avail.

I know this probably isn't the best explained thread in existence but I would appreciate any sort of feedback regarding this problem, whether it be help or request for further info.

Ta!


telekin:
__________________________________________________ __________

LoadMovie Not Loading Movie
Hello out there,

My project works great when I test movie locally,
however when I upload it to the internet there are
some issues.

Issue one:
upon mouseclick of the marketing content button
A movie should load into that marketing frame
on level 1. It does not load.

(If you look at my files: the button is in the "popup" layer
its a little square button that appears on the screen
at left of the text in the marketing section)


Issue two:
The level 0 movie (main navigation)
does not "goto and play" the home page
immediately.
The movie gets hung up on some frame in "no mans
land."
For some reason the user must click on the home
button(top right of the screen) to get to home.

Project can be viewed at
http://www.tbdstudio.com/dev/clients/segue

If it helps for you to look at my source files,
visit the ftp location below to download files

ftp://ftp.tbdstudio.com/pub/seguehelp.sit



Thanks so much,

B

AttachMovie After LoadMovie's Done Loading?
Hi all. I've got this script on the end of a mc frame:

stop();

_root.loader.loadMovie("intro.swf"); //loads intro.swf into 'loader'
_root.loader._x=400; //then positiones it
_root.loader._y=80;

//I want this next part to load after the above is fully loaded in and playing

_root.attachMovie("text","text1","10"); //attaches 'text' to level10
_root.text1._x=200; //positions it
_root.text1._y=200;

What I'm wondering is if the external swf fully loads and then the attachMovie is executed or if the loadMovie starts to load the swf and the attachMovie is executed while the external swf is loading. This is going on the internet and I want it to load correctly on slower connections. When I tried the 'show streaming' option when previewing, it treated my file as if the external clip to be loaded was a part of the main movie. Hope this all makes sense. Thanks in advance.

Some LoadMovie Elements Not Loading...?
Hi.
I've made a flash movie which is nested in a html page. this flash movie contains 1 external movie which is loaded with LoadMovie. when you click on certain buttons the movie unloads and another one takes its place.

heres the problem:
it previews fine in flash.
it plays perfectrly when you test it with 'play' in dreamweaver.
when dragged into IE it works like a charm.

but when you save the html page its on and try THAT in IE the movie shows up, but the LoadMovie element within it doesnt.
most strange - its not that the movie doesnt work at all - OH no. only the part which is loaded from another swf doesnt show.

PLEASE HELP! this is urgent work i need to get done and my head hurts.

Thanks.
Funksmaname.
aka - HuGGyBeaR o/

Loadmovie Loading Various SWF Files
I was wondering if anyone knew of a way to stop a movie from loading once it has started. I have a catalog type situation going and each section is a diffrent swf file the files are getting quite massive and was wondering if there is a way to stop what it is loading so if the person would rather load something else first it can be done.

Thanks ahead of time,
ese51
p.s. If you need code or want me to expand please tell me I really need help or other ideas to solve my problem here.

Fade Loadmovie B4 Loading A New One
I'm loading different external movies as I need them to save for waiting time.
When you click 1 of the buttons I would like to fade out the movie currently loaded before it loads a new one.

Is this possible?

Thanks

EASY Loadmovie And Loading
I have a main swf wich loads lots of another swf´s.

these swf´s are loaded in a movieClip called screen
these loaded swf´s have one loop loading scene and one content scene.
after loading all bytes (loop), it goes to frame 3 where´s written nextScene(); and then it goes to the content scene

If I run these swf´s out of my main swf the loading works fine.
but if I run the main swf and load the others swf´s it goes wrong.
When it loads the swf, nextScene() works for the main swf.

I´ve tried something like
_root.screen.nextScene(); but it didn,t work.

any ideas?

thanks
renato

Loading JPG Files Using LoadMovie()
Here's the deal - sometimes it works, sometimes it doesn't. WHY???

I have tried to load a number of different JPGs into movieCLips at runtime using this.loadMovie("picName.jpg"), and sometimes it works, and sometimes it seems as if it doesn't. Here's the weird part - upon checking the filesize of the movieClip, the pic HAS actually imported. It just won't show. Trace statements also reveal Alpha is 100%, visible is true, but height and width are 0.

Is there something wrong with the JPG files themselves, and if so, how do I fix it? Resaving them in Photoshop doesn't work. Renaming the files doesn't work.

Does anyone know what will?!

Loading JPEG Using LoadMovie
Please help:

I am attempting to load a JPEG image onto my stage using Flash MX. The image is in a file residing inside of the same folder that my flash movie is in. I have created an instance of the movie on the stage that I want the image file to load into, and have given it the name 'test'. I have also applied the following code to my button:

on (release) {
loadMovie("shekerexxsml.jpg", "_root.test");
}

This code works fine if I’m loading a .swf file, but for some reason does not want to load a jpeg file. When I test the movie I just get a blank screen when releasing the button that is supposed to load the image. I’ve tested and know that the file name and location are correct. Also, if I use the following code, the image launches in a separate browser window, so I know that the paths are correct.

on (release) {
loadMovieNum("shekerexxsml.jpg", _root.test);
}

Please help if you can.

Thank you!

mellow

Loading Images Using LoadMovie
Hi,
I want to load images into a flash movie using loadMovie, but I want every one of them to keep its original width and height, not inherit them from the taget movie, how do I do that?

Thanks in advance
Zee_AlieN

Music Not Loading Via LoadMovie
I got this following code on a swf (audio.swf) that load a mp3 file and it work fine.

onClipEvent (load) {
mySound = new Sound();
mySound.attachSound("music");
mySound.start(0, 99999);
}

The problem is when i load this audio.swf by using loadMovie from other swf, the music refuse to play. Any solution to this?

Chup

Loading Bars - For LoadMovie
HI,

I have made a loading bar for the main movie but i cant think how to make a loading bar (acctually its just a number in a textbox 'loadpercent') for a loadMovie command.

How can I have a loading bar for a loadMovie bit of code?
Thanxs for any help,

Loading Bars - For LoadMovie
HI,

I have made a loading bar for the main movie but i cant think how to make a loading bar (acctually its just a number in a textbox 'loadpercent') for a loadMovie command.

How can I have a loading bar for a loadMovie bit of code?
Thanxs for any help,

LoadMovie Help (loading Images)
flash seems to load the images right away but then takes awhile to display them is there some way i can get around this or am i crazy?

LoadMovie And Loading Issue
I'm freaking out, so please, please help me!!!

I have a main movie, with an empty container, some buttons that load a swf in the container. This is a code:

on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "home";
container.loadMovie("home.swf");
} else if (_root.currMovie != "home") {
if (container._currentframe >= container.midframe) {
_root.currMovie = "home";
container.play();
}
}
}

And now what I want to do, is use a preloader to preload the swf's before they are played..

I tried to add a preloader to every single external swf, but for some reason that doesn't work.

Any help, links would appreciated! Tnx in advance!

Loading Movie Avi Using Loadmovie
Hi all

I am just a beginner in Flash movie and have been interested in action script. and I have problem loading a movie.avi movie clip through a buton using flash mx. I made it work with image movie clip but not on movie avi.


Please help...

Thanks
jlk

Loading Swf's With LoadMovie Problem
I am loading a swf into another swf using this code


ActionScript Code:
empty_mc.loadMovie("m2_l5_t3_170ab.swf");

I have an empty movie clip named "empty_mc", and the two flash files are in the same directory. It works when I test it in Flash, but when I load it in a browser it no longer loads the movie? any help would be appreciated....

p.s. I also tried this and I came up with the same results


ActionScript Code:
this.createEmptyMovieClip("loader_mc",getNextHighestDepth());
     loader_mc.loadMovie("m2_l5_t3_170ab.swf");

Copyright © 2005-08 www.BigResource.com, All rights reserved