Load movie in root and go to particular frame
Hi,
I have main flash file called index.swf and in that I'm loading an external movie called help.swf using the below code:
loadMovie("help.swf",1);
On help.swf I have a button which brings me back to the main file i.e. index.swf using the below code.
_root.loadMovie("index.swf");
When index.swf is loaded I want it to go to a particular frame.
I tried using levels but then my print function doesn't work properly.
Need help urgently.
Thanks,
Sunira
Instead of using loadMovie you need to use the MovieClipLoader.loadClip() method so that you can listen for the completion of the file being loaded. If you look in he help documents for MovieClipLoader.addListener it includes an example.
Similar Messages
-
Hello Everyone,
I would highly appreciate your wisdom and advice on this
functionality. Lets say I have two
movieclips on the stage(ClipA, ClipB). I would like user to
be able to click on any of them and, this click
will invode a createclip function which pretty much creates a
dynamic movieclip and loads
whatever I assign to it such other existing clips within the
library. The only problem I have
makeing the functionality work is that I would like to limit
the function call to one at a time.
So if the user clicks on ClipA, function createclip would get
invoke and will attach the assigned
movie clip. And when user clicks on ClipB, I would like to
end the function call that was invoked
by the ClipA and then then allow ClipB to invoke the
function.
Pretty much it would a logic like:
if(createClip = true)
end it;
else
createClip();
When a movie is attached, can it be unloaded or unattached?
I don't know how to write a function that would check if
function createClip() has
already been invoked. I would highly appreciate any direction
in this.If the objective is just to get a unique list of authors based on your key, you could use the REPLACE statement in MySQL which functions as an "insert on duplicate key update" type of construct.
[http://dev.mysql.com/doc/refman/5.0/en/replace.html|http://dev.mysql.com/doc/refman/5.0/en/replace.html]
Catching an exception to detect dupes is functional but not very elegant. If you use REPLACE then you know your statements will always work. The drawback is that the statement is not portable across databases. -
Cannot load movie with subtitles and export in QuickTime 10 / Os X Lion
Since Os X Lion, when trying to load a movie (DivX) in QuickTime 10 at the same time that the related subtitles file (.srt) is in the same folder as the movie, QT 10 suggests to use QT 7. QT 10 cannot load the movie with subtitles (in Snow Leopard everything was OK). Q& 7 is useless too because it cannot export movies to another format.
Anybody has a solution for this? Thanks for your help!chaquemain wrote:
Since Os X Lion, when trying to load a movie (DivX) in QuickTime 10 at the same time that the related subtitles file (.srt) is in the same folder as the movie, QT 10 suggests to use QT 7. QT 10 cannot load the movie with subtitles (in Snow Leopard everything was OK). Q& 7 is useless too because it cannot export movies to another format.
Anybody has a solution for this? Thanks for your help!
I do this because Perian don't work with QT10 on Mac OS X Lion:
-Try to open .avi movie with QT 10;
-OS X ask you to open on QT 7;
-Donwload QT 7 and install it. It will be installed on "Utilities";
-Download Perian but don't install it;
-Mount Perian, and click "Show Package Contents"
-Go to "Contents"->"Resources"->"Components"->"CoreAudio" and copy to Desktop "A52Codec.zip" and unzip it;
-Go to"Contents"->"Resources"->"Components" and copy to Desktop "Perian.zip" and unzip it;
-Go to "Contents"->"Resources"->"Components"->"CoreAudio"->Quicktime" and copy to Desktop "AC3MovieImport.zip" and unzip it;
-Then copy all packages with ".component" extention to /Library/Quicktime/;
-Then you can run all movies on QT 7.
Or,
-Install MPlayerX;
Or,
-Install VLC;
Or,
Regards -
Down loaded movie hunger games and it won't play
I down loaded a movie and went to watch it and it wouldn't play. Any ideas as to why
ATV does not store downloads. If you rent or purchase you may need to wait before you can watch the stream, depending on your connection. What's happening exactly?
-
Having objects move in to and out of a frame (screen shots explaining)
Hi
I've got a wireframe I'm now trying to add interaction to in catalyst.
I've got a drop down menu the user will work from and I want it so that when they click a button the screen in the menu slides away and a new screen slides in.
Please see the very rough screens below to explain what I'm trying to do.
The yellow is the apllication window which will have buttons along the top. The dark grey is the frame that appears when clicking a navigation button. The light grey is the embedded information with a button.
When the user clicks the button I want the white box to slide in its place. The grey box AND the button to slide out of the dark grey box to the left. I've got the sliding working, but can't get the button to move when clicked.
The main problem is that the light grey and white boxes sit on top of the yellow box.
I want the white box to slide in from the right, but only to be visible when it startes to enter the dark grey box.
Is there any way to do this?
I'm new to catalyst, but is this kind of thing even possible?! I can't think of a combination of layers and custom components that would let me do this.
Please help if you can, thanks
This site kind of shows what I'm trying to achieve, http://www.whiteherongrill.com/
Click 'Services' and then 'Private Events' and the menu slides down from the top but is not visible as it passes through the light olive border as it enters.
However I'm also looking for the button to be part of the pnel that slides out of view when clicked.8 hrs later I've just managed to solve this, the joys of being a newbie
At least I got there, a combination of custom components and clipping to component bounds. I was getting the combination of clipping bounds with the custom components all all wrong, but I got there finally -
Controlling main timeline from loaded movie
I have loaded an external movie onto the main movie in a
movie clip called "mainholder" - In the main timeline on the main
movie there is a "stop" command on frame 1. From the loaded movie,
I want to control the main timeline and tell it to go to frame 2.
Can someone tell me the actionscripting to do this, I have tried
several commands and getting frustrated. ;-)
Thanksmovies are loaded into levels. The main movie is always
considered level0 a.k.a _root in the AS. When you load a movie into
another, the main movie is also considered the parent of that
loaded movie a.k.a. this._parent in AS where this refers to the
loaded movie. If you want something in the loaded movie to control
the main timeline you could call it like this...
_root.gotoAndStop(2); or _root.gotoAndPlay(2); depending on
what you want.
but because of the parent/child relationship, it can also be
done like this....
this._parent.gotoAndStop(2); or this._parent.gotoAndPlay(2)
Although the first method is less to remember, the second
method proves the most friendly and re-usable. Let me explain...
Say that you did something like this....
[MAIN MOVIE]
[LOADED MOVIE]
{Loaded Movie with buttons to control LOADED MOVIE}
Your main movie loads a movie and when this loaded movie
reaches it's 10th frame, it loads another movie where the buttons
reside for controlling that clip. If you used _root in the button
movie, it would cause the main movie (_root) to be called and not
the LOADED MOVIE as you had intended during its design prior to
trying to make this new main movie (and it would work as intended
if you opened the LOADED MOVIE's fla file and exported). If you use
this._parent in the button movie, it will always make it's calls to
the LOADED MOVIE's timeline and not the main clips timeline.
Sorry if this confuses you but it's important to
understand. -
After updating my Apple TV, it will no longer load movies from my iTunes library. Music works, but no movies. I've turned this puppy every which way but loose, but no joy. Is there a way to roll back an update?
Greetings,
I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
Good Luck - Cheers,
M. -
Can somebody help me figure this out? So before a road trip I rented a movie on my Ipad mini. The movie fully loaded before I left. It downloaded under wifi. Now that I'm in the car I tried to watch the movie but it isn't working. When I press play an error message pops up saying "could not load movie" can I not watch it with our wifi? What's going on? What can I do to watch the movie?
Having the same problem. Watched 25 minutes of a rental and it stopped with the message"unable to load video"
Using current version IPad mini.
Ios7 is HUGH PIECE OF CRAP!!!! -
I have just got a iPad yesterday and I'm having a problem
I have just bought a tv series in iTunes and downloaded it on to my iPad but every time I go to watch it it comes up (could not load movie) then takes me back to the episode list ? Can you tell me how to solve this problem pleaseHave a look at the following:
http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1 -
i downloaded a movie on itunes and turned my computer off and when i turned it back on the movie wasnt there so i went to re download and it says check for available download and it still won't let me down load it. what do i do?
Hi runner_girl7585,
Thanks for using Apple Support Communities. If you weren't ever able to watch your rental movie, you can report this to the iTunes Store:
How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
http://support.apple.com/kb/ht1933
Cheers,
- Ari -
What happen to my movie it disappear and what my song that partly down load . Is this all I can get for iTunes support!
No offence but how on earth is anyone meant to help with your problem when your post makes no sense and contains no information??
-
I purchased two movies on itunes and my ipad cant load them on my ipad
I pruchased two movies on itunes and for some odd reason i cant load them on my ipad...I have the latest versions of Ios6 and the latest itunes , but the rest of my older movies on itunes i can still load(remove and reload on the ipad). please help!!
FOR ASSISTANCE WITH ORDERS - iTUNES STORE CUSTOMER SERVICE
For assistance with billing questions or other order inquiries, please refer to our online support page by clicking here: http://www.apple.com/support/itunes/store/. If you cannot find the answers you are seeking in our robust knowledge base, you can contact us by visiting the following URL http://www.apple.com/support/itunes/store/, clicking on the appropriate Customer Service topic, then using the contact button or email form at the bottom of the page. Responses to emails will be provided as soon as possible.
Phone: 800-275-2273 How to reach a live person: Press 0 four times
Hours of Operation: Mon-Fri: 9am-5pm ET
Email: [email protected]
How to report an issue with Your iTunes Store purchase
http://support.apple.com/kb/HT1933
Cheers, Tom -
Problem between loadmovie and sound of loaded movie
hi, i made an swf which uses sound events and it plays fine.
the sounds are dealed with new sound, somesound.attachsound,
somesound.start, somesound.stop and so on, the linkage properties
are something like 'export for actionscript' and 'export in first
frame' checked. the movie plays ok when i watch it with swf player
or in a web page. the problem arises when i set a preloader in an
external file, the main movie is mainly pictures so it would remain
as a blank screen while loading, so i had to make an external
preloader, but when the main movie plays loaded by the preloader,
the sounds controlled via actionscript wont play, any pointers or
suggestions?
tnxflash is probably looking for those linked sounds in the
_level0 library.
to remedy, use whatever=new Sound(this); instead of
whatever=new Sound() when instantiating sound objects in your
external swf. -
i'm pretty green and like some help.
I want to load a movie clip and change the dimensions of the
clip at the same time- because my main movie is 765X750 and the new
clip is smaller. I want the smaller movie to play at it's native x
and y size in the projector. I can't work out the script to do it.
This is what I have but doesn't change the dimensions when it
loads.
on (release) {
setProperty("_self", _height, "400");
setProperty("_self", _width, "600");
loadMovieNum("intro.swf", 0);
Thank you.The problem is when you load a SWF, the movieclip you're
loading into inherits the properties of the SWF being loaded into
it. As loadMovie happens after everything else has processed,
resizing the movieclip has no effect as it simply gets reverted to
the dimensions of the SWF loading in. What you need to do is run
the sizing code after the loadMovie has started and the movie has
begun to load.
I usually use a loader function that calls another function
when it's finished loading. The function can contain _x = ?? &
_y = ??. I also hide the loading movie or alpha it to zero and then
show it or fade it in when it's finished loading. -
Controll the ROOT timeline from externally loaded movie clip?
does anyone know how to controll the root timeline from an
externally loaded movie clip?
I have loaded a movie clip, which has buttons on it that I
would like to controll the main original website timeline with.
something like this.parent.parent?
thanks a lot
harkyfeedmeapples <[email protected]> wrote:
> does anyone know how to controll the root timeline from
an externally
> loaded movie clip?
>
> I have loaded a movie clip, which has buttons on it that
I would like
> to controll the main original website timeline with.
>
> something like this.parent.parent?
_root.doStuff;
Freundliche Grüße,
Franz Marksteiner
Maybe you are looking for
-
How get all sAMAccountName from LDAP?
Good day ... i'm find this ... declare -- Adjust as necessary. l_ldap_host VARCHAR2(256) := &&; l_ldap_port VARCHAR2(256) := &&; l_ldap_user VARCHAR2(256) := &&; l_ldap_passwd VARCHAR2(256) := &&; l_ldap_base VARCHAR2(256) := 'dc=&&,dc=&&,dc=&&'; l_f
-
Can i upgrade my macbook pro retina internal storage
Hi, My macbook pro retina came with 128gb internal storage, but i got a gopro recently and the videos take up loads of storage! Can i upgrade the internal storgae or do i have to get an external hard drive to store it on? Thanks
-
just installed my new Sound Blaster X-FI card on my computer. And i have put the right cables in it. And now i dont get any sound of my Trust 4500P 5. speaker set and i also dont get any sound out off my Headset.plz help to solve this problem
-
I have an Hp wireless printer (Deskjet F4580) and it was working just prfect until I changed my router. After replacing my old router with the new one, the printer stopped working, although the network is the same and the passowrd is also the same. P
-
10g express Exec Imm. Create table problem
Account is setup as a DBA account in Database (everything granted). I get Insuffiction privelages when running the following stored procedure: CREATE OR REPLACE PROCEDURE R02_BLD_RMS_JRNL( in_rdate IN DATE) AS v_sql VARCHAR2(1000); BEGIN -- Note I to