Quick question concerning "load movie"

Hi,
I'm sure this is a dead simple question, but I'm not sure
about syntax. Basically I have several buttons which when pressed
load a new swf into a movie clip _root. I want each different
button to take the viewer to to a different frame in the loaded
movie. So button 2, would open the new swf at frame 1, button 2,
would open the new swf at frame 2, etc.
This is the script I'm using to load the new swf:
on (release) {
_root.bigphoto.loadMovie("big photos.swf");
What should I add to it?
Many thanks.

"DaveCunningham" <[email protected]> wrote
in message news:e5mo6o$5jl$[email protected]..
> Hi,
>
> I'm sure this is a dead simple question, but I'm not
sure about syntax.
> Basically I have several buttons which when pressed load
a new swf into a movie
> clip _root. I want each different button to take the
viewer to to a different
> frame in the loaded movie. So button 2, would open the
new swf at frame 1,
> button 2, would open the new swf at frame 2, etc.
>
>
> This is the script I'm using to load the new swf:
>
> on (release) {
> _root.bigphoto.loadMovie("big photos.swf");
> }
>
> What should I add to it?
>
> Many thanks.
//****************** main.swf *******************
// button to send two.swf to frame 10
on (release) {
loadMovieNum("two.swf?vars=10",1);
// button to send two.swf to frame 30
on (release) {
loadMovieNum("two.swf?vars=30",1);
//****************** two.swf *******************
// a preloader is required to make sure this movie is fully
loaded before checking the vars value
this.onEnterFrame = function()
var gbt = this.getBytesTotal();
var gbl = this.getBytesLoaded();
if( gbt > 20 && (gbl == gbt))
delete this.onEnterFrame;
gotoAndStop(vars);// jump to the frame number in vars
You can also pass frame labels instead of numbers if you want
to.
tralfaz

Similar Messages

  • Quick question concerned with external HD space

    just a quick question
    if TM only backs up files that have changed since the last backup
    why does every time it back up i end up with a folder in my external HD (that acts as a time machine) that is the same size of the hard drive?
    (e.g im using up 70 gigs on my macbooks HD..every time i back up with TM i end up with 70 gigs less on the external..should i just lose the space of the changed folders? :S)

    That's the "magic" (or "smoke and mirrors") of Time Machine.
    It makes "hard links" (sort of like multiple aliases) to the backups of the items that didn't change. That makes each backup, in effect, a full one.
    That's how when you go into the "Star Wars" display, it can show you a snapshot of your entire system at the time of any backup.
    If you look at your backups via the Finder, each dated backup folder is counting all those items that didn't change; so each one appears to be a full copy of your Mac. The sum of all the backup folders will be far greater than the amount used on the whole backup disk.
    By the way, be +*extremely careful+* using the Finder on your backups -- if you change, move, or delete anything there, you can hopelessly corrupt them.
    You can do everything you need to via TM.

  • A quick question concerning replacing the DVD drive in a HP pavillion dv6-2057cl

    I need to replace the DVD drive in this dv6 and I am wondering if there is any wiggle room when it comes to the replacement drive.  Can I use another HP disc drive with a similar model # or am I restricted to the "identical" drive?
    Some quick info follows:
    OS = Windows 7 home premieum (32bit)
    The drive pulled out of the laptop:
    Super Multi DVD Rewriter
    MODEL: GT20L
    FW        : DC05
    HW       : A2
    TYPE    : AMCK702
    CT : 7AXVK012GY3NRY
    HP mPC PN : 461646-6C2
    S/N :
    {Removed for privacy}
    MANUFACTURED : OCTOBER 2008
    I have found a replacement with the same "Model #" and same "HP mPC PN" however it was manufactured in 2009 and I do not know if the placement of the SATA connection on the rear of the drive matches up or not.
    Any help is much appreciated!!!!!!
    Thank you,
    DaFlash
    This question was solved.
    View Solution.

    It looks like the part number is the same. As long as the part number is the same, it is essentially the same part and should work without any issues. The only time that part may not work is if the part number is different. If any part is different from another part (firmware, hardware, etc.), it will have a different part number. As long as 461646-6C2 is the same on both, there shouldn't be any issue with replacing the drive.
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • Quick question about looping movie clips

    I'm a REAL Flash novice, and I'm trying to get a movie clip to loop 3 times, and then continue on.
    Here's the code I've written (I'm sure it's painful to see)
    stop();
    if (!loopCount) {
      var loopCount:Number = 0;
    loopCount++;
    if (loopcount < 3) {
    gotoAndPlay (1)
    if (loopCount = 3) {
      gotoAndPlay(363);
    Could someone help me out?
    Thanks,
    Brandon

    use double equal (==) to test for equality:
    stop();
    if (!loopCount) {
      var loopCount:Number = 0;
    loopCount++;
    if (loopcount < 3) {
    gotoAndPlay (1)
    if (loopCount == 3) {
      gotoAndPlay(363);

  • QUICK QUESTION/CONCERN

    okay..problem...now whenever I connect my ipod to my usb port..MY COMPUTER COMPLETELY FREEZES!! and it's been doing this recently, but never did, and I've had my ipod for about a month now...WHAT IS WRONG?!! WHAT DO I DO?!
      Windows XP  

    Hi Ram Prakash Sharma,
    If your cluster can pass all the validation settings please first check whether you have configure the preferred node correctly, you can refer the following article to realize
    how to setting the preferred owner.
    Preferred Owners in a Cluster
    http://blogs.msdn.com/b/clustering/archive/2008/10/14/9000092.aspx
    I’m glad to be of help to you!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Scoping Question when one movie loads a second movie

    I have a movie that is just a preloader for the main movie.
    This preloader movie has the loader and progress bar components so
    that I can show the process of the main movie loading. When I load
    a sound file in frame 1 of the main movie to be used later in the
    movie and run the main movie (with out being called from the
    preloader movie) the sound will play when it is called (told to
    play). However if I call the main movie from the preloader movie,
    the sound will not play. To make the sound play I have to load the
    sound in the preloader movie.
    I am sure that this is a scoping problem and I am not correctly
    coding for the location of the sound.
    The code for loading the sound is :
    if(_global.Behaviors == null)_global.Behaviors = {};
    if(_global.Behaviors.Sound == null)_global.Behaviors.Sound =
    if(typeof this.createEmptyMovieClip == 'undefined'){
    this._parent.createEmptyMovieClip('BS_sndErrorMsg',new
    Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000)
    _global.Behaviors.Sound.sndErrorMsg = new
    Sound(this._parent.BS_sndErrorMsg);
    } else {
    this.createEmptyMovieClip('_sndErrorMsg_',new
    Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000)
    _global.Behaviors.Sound.sndErrorMsg = new
    Sound(this.BS_sndErrorMsg);
    _global.Behaviors.Sound.sndErrorMsg.attachSound("ErrorMsgSound");
    if (false) {
    _global.Behaviors.Sound.sndErrorMsg.start(0,1);
    The code to play the sound is:
    _global.Behaviors.Sound.sndErrorMsg.start(0,1);
    I would like to keep the preloader movie as small as possible
    and don’t want to load any sound files in it.
    How do I load the sound files in the main movie and play them
    when needed (using actionscripts) from the main movie when the main
    movie is loaded from the preloader movie?
    Thank you,
    Steve

    Putting the following code on frame one in the movie being
    loaded by the preloader corrected the problem.
    this._lockroot=true;
    The following is what Flash 8 help file says about
    _lockroot
    _lockroot (MovieClip._lockroot property)
    public _lockroot : Boolean
    A Boolean value that specifies what _root refers to when a
    SWF file is loaded into a movie clip. The _lockroot property is
    undefined by default. You can set this property within the SWF file
    that is being loaded or in the handler that is loading the movie
    clip.
    For example, suppose you have a document called Games.fla
    that lets a user choose a game to play, and loads the game (for
    example, Chess.swf) into the game_mc movie clip. Make sure that,
    after being loaded into Games.swf, any use of _root in Chess.swf
    refers to _root in Chess.swf (not _root in Games.swf). If you have
    access to Chess.fla and publish it to Flash Player 7 or later, you
    can add this statement to Chess.fla on the main Timeline:
    this._lockroot = true;
    If you don't have access to Chess.fla (for example, if you
    are loading Chess.swf from someone else's site into chess_mc), you
    can set the Chess.swf _lockroot property when you load it. Place
    the following ActionScript on the main Timeline of Games.fla:
    chess_mc._lockroot = true;
    In this case, Chess.swf can be published for any version of
    Flash Player, as long as Games.swf is published for Flash Player 7
    or later.
    When calling loadMovie(), set the MovieClip._lockroot
    property to true in the loader movie, as the following code shows.
    If you don't set _lockroot to true in the loader movie, any
    references to _root in the loaded movie point to the _root of the
    loader instead of the _root of the loaded movie:
    myMovieClip._lockroot = true;
    Availability: ActionScript 1.0; Flash Player 7

  • Two quick questions about Library after moving beginning on a new computer

    Hi there,
    I just moved from Windows to Mac, meaning I had to move my iTunes library from the old PC to my new MBA.
    Just a couple of quick questions.
    1. When I started iTunes on my new Mac, in the preferences I directed the media folder to the folder with all my itunes music/podcasts etc, and then I imported the Library XML file.  Is this incorrect? Should I have imported a different file? Should I have used the itl file instead? 
    If so, should I delete the library and start again?  (if this is the case, please suggest the best way of doing this without affecting my media)
    - a kind of sub-question to this one:  some of the media files arent showing up in the iTunes library, but they are in the media folder on the ext HDD.  Is there a way I can find out which ones havent been recognized by iTunes?  Whats the best way of getting them in to my library?
    2. Pretty much half of my podcasts have not been loaded in the new iTunes.  The ones that havent were ones that I subscribed to on my iPhone, whereas the ones that show up in iTunes were ones I downloaded from iTunes.  When I connect my iPhone and sync it with iTunes, will those podcasts show up in iTunes?  Or is there a risk that they will be deleted from my iPhone?
    Cheers,

    The .xml is lacking some information such as ratings, date added, and play count.  Using the .itl includes this information but cannot be imported using the method you did.
    A complete library is everything in the iTunes folder.  By using the method you did you left the artwork behind in the artwork folder on the other machine.
    Selecting the media folder in preferences does not get iTunes to recognize the media.  All it does is tell iTunes to start storing new media in that location.
    Using the method I outlined nothing will be missed (with the exception of WMA) because you aren't rebuilding your library, you are using the one that already exists.
    You don't have to re-copy everything as long as you get the stuff you missed and re-assemble it all as it was before except not on the Mac.
    What are the iTunes library files? - http://support.apple.com/kb/HT1660
    More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management
    What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
    Where are my iTunes files located? - http://support.apple.com/kb/ht1391

  • Re-importing into iPhoto 06 Quick Question

    I hope.
    My photos are on an external hard drive. I jogged the wire the other day during an import and stopped the import. When I next loaded up iPhoto all the photos had changed to ! , so I reimported them, which all worked fine, but it's reimported everything including the thumbnails, so I now have every picture at least twice and want to get rid of all the small sized files.
    Can I do it a quick way like search for photos below a certain size or should I import from a different point? I imported from the iPhoto directory, but should I have been a bit more specific on a sub directory? I want to make sure I get the original photos and any photos I've edited.
    Finally, should I delete the existing thumbnails in one of the directories before I re-import?
    Thanks

    It’s not a quick question.
    so I reimported them, which all worked fine, but it's reimported everything including the thumbnails, so I now have every picture at least twice
    This was not the way to go about this. You’ve now imported to a damaged database and that is inherently unstable.
    There is no way to search on file size in iPhoto. You may have some luck with Duplicate Annihilator
    However, do you still have the original library? If so, here’s how to start over:
    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library allowing it to overwrite the damaged file.
    2. Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new library:
    Note this will give you a working library with the same Rolls and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library on your desktop and find the Originals folder. From the Originals folder drag the individual Roll Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.
    Regards
    TD

  • IMovie - quick questions about video files when importing and optimizing

    Hi, have some quick questions. I think they are simple.
    1. When I import a video (from say iPhoto), where does it get "Move" or "Copy" to?
    2. Why would I want to do "Copy" instead of "Move", because isn't it then taking up more space?
    3. I'm wondering if after I optimize a video, I can stash away the original (non-optimized video that I either "Move"d or "Copy"d earlier) into an external hd.
    4. By the way, what is the new file name of the optimized video?
    Though things are working fine in iMovie and iPhoto, I'm trying to manage hard disk space, and hope answers to these questions will help.
    Do you guys have a guideline on how to manage hard disk space when it comes to iphoto and imovie?
    Thanks.

    As has been suggested you can encourage people to download QuickTime player by doing something like this...
    http://www.mirroroftheuniverse.com/Songs.html
    You can also present your songs like this...
    http://roddymckay.com/Satellite/JukeBox.html
    This is a SnoCap jukebox and you need an account to use it but you'll get the link to ESnips on the above page.
    A 3 minute song has a file size of about 30 Mb in AIFF format. Converting it to MP3 reduces it to about 3.5 Mb and M4A to about 5.5 Mb.
    iTunes will do these conversions for you and M4A is far superior to MP3 as far as sound quality is concerned.

  • Quick Question: Setting Render File Location

    Hi all,
    Quick question. I'm guessing with all the disappointment, the answer will be no, but I fully realize that I could have overlooked something so its worth asking!
    In FCP7 (familiar phrase huh?) you could explicitly set a location for render files. I understand that you can save FCPX Events on different drives, as well as your projects, however it appears as if the Render Files are getting saved with a folder which also contains your .fcp project file.
    I ask because I like having my project file on my internal so my Time Machine will pick it up when I have it hooked up, but all of those render files take up loads of space and I'd like that on my external media drive instead.
    Is there:
    a.) A way to tell FCPX to store Render Files in a different location
    OR
    b.) A way to move the Render Files to a different location without screwing up FCPX's ability to recognize the project and load it properly.
    If so, great! If not, I'll send it along as a suggestion among with some others. Other than those overlooked technical aspects, I'm kind of digging the UI of FCPX and background rendering is saving me so much time its not even funny.

    Hi Jorgen
    I spent a bit of time on this today without any success.
    In our studio, it's only me that edits... but I use a laptop and a macpro when things get serious. I have a RAID array tyed to the Macpro, and I access it with my laptop via gigabit ethernet.
    I created aliases, and when I opened FCPX, nothing appeared. I also was not able to change the name of events I created, and while it would write the project name and events to the new aliased directories... when I reopened FCPX the events and projects were missing.
    I then tried symbolic links via the terminal. No luck. I then checked ownership permissions, and made sure the permissions were ignored for the drive and everything was world readable and writable. No luck.
    Have you had a chance to experiment with this yet?
    Thanks

  • Quick Question about Cisco 3560 and the Web Device Manager

    Alright, I have a quick question that I am curious about but I haven't found any information
    about it.
    When I log into my Cisco 3560 using the web portal to get to the Device Manager. Below the
    diagram of the switch, then under the Dashboard there is section called Switch
    Health, Port Utilization.
    Under the Switch Health there is Bandwidth Used, Packet Error. Those two options just sit
    at zero and do not move. The Port tilization graph is also sitting at zero.
    Is there a way to make them functional?

    Anyone notice performance increase or decrease of their HD when using the nVidia IDE SW drivers?  particularly with a 74GB Raptor?  I've also heard of burner issues when installing the IDE SW but have not used my burner yet.

  • Quick Question (re:exporting from iMovie into iDVD)

    Hello everyone!
    I just have a quick question for you all... (I want to see if this is normal - I'm on a deadline and this is kind of freaking me out)
    So, we have a 20 minute or so video in iDVD. It plays fine, etc etc. The goal is to burn it to a DVD.
    I used the "Export -> to iDVD" function in iMovie, which launched iDVD.
    But here is the weird thing: nothing comes up in iDVD. It doesn't make a new file, doesn't give me anything... it is just open, waiting for me to create a new project to work with.
    YET, if I look in the Activity Monitor, I do see that EncoderServer (using 123% CPU) and ThumbnailServer (both iDVD processes) are running.... but shouldn't iDVD have told me it is working or that it is dealing with data?
    This is very un-"apple". I totally would have expected a progress bar of some sort in iDVD telling me it is working or something.... or is something wrong and I should try to export it in a different way?
    (I guess the underlying question is: when you export from iMovie to iDVD, does iDVD normally give you any 'heads-up' that it is working? how long does it normally take to open the project in iDVD?)

    Hi Matt!
    when you export from iMovie to iDVD, does iDVD normally give you any 'heads-up' that it is working? how long does it normally take to open the project in iDVD?)
    Yes, and it's instant.
    What you should see is iDVD opening and asking you to create a new project, It will suggest naming it the same as the iMovie project.
    There are reports that exporting from Imovie to iDVD can produce problems. What I do is save the iMovie project and close iMovie. Open iDVD, create the new DVD project, then go the File menu in iDVD, scroll down to Import, and in the side menu select Video. This open your Movie Folder, wherein resides your iMovie project. Select it and it imports into iDVD in a flash.
    Remember: iMovie projects go in the Movies Folder, iDVD projects go in the Documents folder. Change that, and they get very confused and unhappy.

  • Quick question re: Media Management

    Hey..
    quick question from a newbie.
    quick timeline.
    I just finished producing a 40 minute corporate video, and its done (my first video) everything is still on my 2nd drive (projects, footage, graphics and everything...
    I've already made my client 500 DVD's after using compressor.
    Now this project is currently still taking up more then half of my hardrive. I want to get rid of everything but still cover my behind in case down the road, they need more. or they want to add to it and such.
    so my question is...
    in addition to backing up to tape and keeping the compressed files on my computer..
    If I export using Quicktime movie at the same settings of my final sequence. can I delete everything else? AS long as I keep the QT movie on my computer, is that just as good as the original project? am I able to edit from that in the future if I need to or if i need to throw it into compressor to make streaming video for the web? Is there any generation loss with that?
    I know thats more then 1 question.. any help would be awesome... you guys rock! and thanks in advance

    .
    If I export using Quicktime movie at the same
    settings of my final sequence. can I delete
    everything else? AS long as I keep the QT movie on my
    computer, is that just as good as the original
    project? am I able to edit from that in the future if
    I need to or if i need to throw it into compressor to
    make streaming video for the web?
    If you export a quicktime movie you create a "whole" video. In other words, your transitions, clips and audio will essentiall become one long clip. You will not longer be able to eliminate music from voice for example. It will become one long track. You won't be able to take out transitions such as dissolves or wipes without taking a hunk of video on either side.
    Best to delete your media and save your project and tapes. You can re-digitize later. Or buy a cheap hard drive and store it there.

  • CDC Subscription question concerning transactional consistency

    Hi
    Hopefully a quick question: can anyone confirm whether or not it is the subscription that controls transactional consistency when accessing change records in the change views?
    For example, if you have 20 source tables that you are capturing changes for and create one change source, one change set containing 20 change tables and one subscription for which you have 20 change views then because it is the subscription that you specify when performing the extend and purge operationa and hence it is the one subscription than ensures that when an extend is issued then all change records across the 20 change views will be transactionally consistent.
    I have had an alternative design proposed to me that is to use 20 separate subscriptions - one for each source table and change table. My concern is that this will not ensure transactional consistency across the 20 tables and that any ETL design (for example 20 separate threads running in parallel and each doing an extend, process, purge sequence) cannot ensure that the change records in the change views correspond to the same transaction across the tables in the source database.
    I hope that this is clear - any views and opinions on this will be very gratefully received.
    Many thanks
    Pete

    >
    Apologies if this appears to be belabouring the point - but it is an important bit of understanding for me.
    >
    The issue is not that you are belabouring the point but that you are not reading the doc quote I cited or the last paragraph on my last reply.
    Creating a consistent set of data and USING (querying) a consistent subset of that data are two different things. The publisher is responsible for creating a change set that includes the data you will want and the change set will make sure that a consistent set of data is available.
    Whether a subscriber makes proper use of that change set data or not is another thing altogether.
    If you create 20 subscriptions then those are totally independent of one another just lilke 20 people subscribing to the Wall Street Journal; those subscribers and subscriptions have NOTHING to do with one another. If you want to try to synchronize the 20 yourself have at it but as far as Oracle is concerned each subscriber is unique and independent.
    If you want to subscribe to, and use, a consistent subset of the change set then, as the doc quote said, you have to JOIN the tables together.
    Read the documentation - you can't understand it if you don't read the doc and go through the examples in it.
    Step 4 Subscribe to a source table and the columns in the source table shows you exactly how you have to do the join.
    The second step of that example says this
    >
    Therefore, if the subscriber wants to subscribe to columns in both publications, using EMPLOYEE_ID to join across the subscriber views, then the subscriber must use two calls, each specifying a different publication ID:
    >
    '. . . join across the subscriber views . . .'
    Don't be afraid of breaking Oracle by trying things!
    The SCOTT EMP and DEPT tables might currently have a consistent set of data in the two tables. But if I query EMP from one session (subscription) and query DEPT form another session (subscription) the results I get might not be consistent between them because I used to independent operations to get the data and the data might have changed in between the two steps.
    However if I query DEPT and EMP using a JOIN then Oracle guarantees that the data from both tables will reflect the same instant in time.
    Not a perfect analogy but close to the subscription use. If you want to subscribe to data from mutiple tables/views in the change set AND get a consistent set of data you need to join the tables/views together. The mechanism for doing this is not the same as SQL but is shown in the above example in the doc.

  • I need to know how to down load movies, that I have on DVD, on to my hp computer then down load it to my ipad

    I need to know how to down load movies,from my DVDs, onto my hp computer and then down load them onto my iPad

    I read the thread question differently than you did I think.  I did not think the DVD in question was a commercial DVD.  However, you have much more experience in this discussion board than I do.  You probably have seen this question many times and assumed (apparently correctly) that it was a commercial DVD.
    I was answering the question based on it being a DVD created within a work/home environment that is needed to be put on the iPad.  I have been toying around with that exact process in the past week.  Work training videos etc, that I have created, put on DVD then downloaded to my iPad for travel and display.
    My bad!

Maybe you are looking for