Automatically getURL at the end of a movie?

I’ve been using Swift3D to create a splash page.
I’ve imported the movie into Flash and worked out how to
[stop();’] my movie from repeating. At the end of the movie I
want it to another webpage in the same window.
I’ve tried adding the getURL script in the last frame
of my movie but I get this error in the output window:
**Error** Symbol=movie.swf, layer=Layer 1, frame=59:Line 1:
')' or ',' expected
getURL(http:/www.mysite.com/);
The movie plays but the [stop();’] action is ignored
and the movie continues to loop. I’ve tried putting the
getURL before and after the [stop();’] action but I get the
same error.
So what am I doing wrong? I’m really new to this.
Trying to learn DremWeaver at the same time and my head is fried.
Can someone help?
Many thanks in advance.
s

Thanks Rapatski & dzedward it works but I now get an
error saying that Flash Player has stopped a potentially unsafe
operation. The following local application on your computer or
network is trying to communicate with this internet-enabled
location.
Is this just because I’m testing the file on my local
desktop? Will this error go away when I upload my files to a
server? Or is there a way of changing the security settings in my
Flash movie?

Similar Messages

  • In iMovie '11 how do I slow down my credits at the end of my movie.  I typed them in, but the speed is too fast.

    I have iMovie '11, and I can't find how to slow down the "credits" I've typed in at the end of my movie.  I guess
    it would be the scrolling speed.

    Credits scroll at the speed that is necessary for the scrolling to complete by the end of the clip.  So, to slow them down, simply prolong the duration of the scrolling credits title clip by selecting and draggging out the yellow boundary.
    Geoff.

  • Adding a simple audio fade at the end of a movie - help

    Hi gentlemen,
    How do you add a simple fade out to the audio track at the end of a movie ?
    I tried adding a keyframe about 5 seconds before the end of my movie, but can't figure out how to do it. Not sure how to do this :-(
    I need some help. ( I read the manual and I don't get it )
    Thanks,
    Dave.

    Dave,
    In Effects>Audio Transitions>Crossfades, you should have 2 Trransitions. Choose Constant Power, and drag it to the end of your Audio Clip. Depending on your settings in Edit>Preferences, you may need to drag the beginning of the Constant Power Crossfade to the left, to get the 5 sec., that you want.
    Other method would be to highlight the Clip, and in the Effects Control panel, choose Volume. Go to 5 sec., before the end, and click the "stopwatch" to add a start Keyframes and add a Keyframe. Go to the end of the Clip and click the "add Keyframe" button. With the CTI still over that Keyframe on the end of the clip, drag the Volume slider to -00.0db.
    Hunt

  • What is the best way to make "credits" at the end of a movie?

    Is there a way in iMovie (or iDVD) that I can create credits or just a black screen with words on it? I am sure there is a way, I am just not sure.
    Thanks!

    If you want it to be on a black background ( and use the 'over black' option) it will add onto the end of your movie.
    If you want it to play over your movie, uncheck the 'over black' option box.
    Sue

  • Adding time at the end of a movie

    Is there a way to add a couple seconds of black at the end of a movie without having an object on the timeline?

    You could try extending the work area, but why not just put a black matte and do the job properly?
    If you play out the timeline to tape, a very short black clip at the end will generate permanent black output to tape, so you can avoid longer timelines that way if you wish. But exporting to file needs all frames to be specified.

  • MIDI Record automatically loops to the end

    GarageBand 10.0.3
    I recorded something with the software midi Keyboard (Using the normal Apple Keyboard) and I guess I pressed some wrong key that changes some magic settings.
    Anyway, my problem now is that whenever I record something, after finishing it automatically repeats that newly recorded region until the end.
    How can I turn this off?
    Cheers,
    Michi

    You may have enabled the Cycle Region. Is there a yellow bar across the Track area?
    Click the button with the yellow chasing arrows to disable it.

  • Listening for the end of a movie

    Hi, I have some code that loads a movieclip into an empty
    clip
    var container:MovieClip =
    this.createEmptyMovieClip("container", this.getNextHighestDepth());
    container.attachMovie("twdc_mc", "twdc_mc", 1, {_x:300,
    _y:275});
    then i want to wait until the end of the movieclip, unload it
    and load another in its place - all without leaving frame one of my
    main timeline...so my initial thought was to add this:
    function getframes(numFrames,totalFrames) {
    if (numFrames == totalFrames){
    trace("removed") //changed the return variable to this for
    testing
    container.twdc_mc.onEnterFrame =
    getframes(container.twdc_mc._currentframe,container.twdc_mc._totalframes);
    (the use of a function because i want to re-use it)
    the problem is that the if statement is parsed and evaluated
    to false immediately, then it moves on to the next statement
    without looking back despite the existance of the onEnterFrame
    function
    So my question is how can I listen for this event without the
    need to add unLoad or removeMovieClip to the end of the offending
    mc?
    Thankyou in advance for any replies, I'm trying hard to get
    to grips with "as" but Im a php boy at heart and really struggling!
    Sam

    Hi Sam,
    in AS, you can't pass parameters to an event or callback
    function like onEnterFrame this way. You can either pass a function
    reference (without brackets, otherwise the function would execute
    immediately and the event is undefined after that):
    container.twdc_mc.onEnterFrame = getframes;
    or define a function 'on the fly':
    container.twdc_mc.onEnterFrame = function(){
    Since you want to use the first way, getframes() can't have
    any parameters, but instead it can use the scope of the event it is
    bound to through the 'this' keyword:
    function getframes() {
    // trace(this._totalframes);
    if (this._currentframe == this._totalframes){
    trace("removed")
    Now 'this' depends on the scope in which getframes() is
    called, so you can use it with the onEnterFrame event of the loaded
    clip:
    container.twdc_mc.onEnterFrame = getframes;
    and it will compare twdc_mc's position to it's end. Bound to
    another MC it would take that MC's values.
    cheers,
    blemmo

  • Detecting the end of a movie clip

    Hi,
    Objective: Display a book that the user can turn the pages to
    view more text. I used a tutorial from the web to create the
    turning page.
    Process: On layer 1, frame 1 of the main time line, I put an
    image of a book. On layer 2, frame 1 and also frame 2 of the main
    time line, I put text for the book. I then created a movie clip
    (MC) called PageTurnMC that looks like a page in the book is being
    turned. On layer 3 of the main time line, I put an instance of the
    MC and called it PageTurn. On layer 4 of the main time line, I put
    a button to play the MC and advance to frame 2 called drawer1cont
    (see code).
    //code on the button used to turn the book's page
    on (release) {
    PageTurn.play(); //plays my PageTurnMC
    gotoAndStop("drawer1cont"); //advance to the next frame of
    text
    Problem: I need to detect when the end of the MC before I
    advance to the next frame. I have to use the PageTurnMC many times,
    so it is not possible for me to put the action in the last frame of
    MC. As of right now, my frame 2 text appears as the PageTurnMC
    plays which is not what I want.
    Thanks for any help.

    I just tested it and got my quick example to work. Here are a
    couple of possible areas to double check:
    In the last frame of PageTurnMC, gotoAndStop must reference
    the main movie clip, e.g. _root.gotoAndStop().
    Also, make sure the parameter _root.frameID isn't in quotes
    because it is a variable, not the actual string.
    As I said, I'm not a Flash expert nor do I know the setup of
    your movie, but this should work as long as you have all of your
    references correct. If you can't get it to work, try to trace
    necessary variables to make sure you are accessing the appropriate
    variable.
    The suggestion by nilu_only will also work, but it will waste
    some cycles because you will have to wait for the movie clip to
    end. Here is what I mean:
    Immediately after playing PageTurn, accessing
    PageTurn._currentFrame will return the currentFrame only once. So
    if PageTurn isn't on its lastFrame, your condition statement
    (PageTurn_currentframe == PageTurn._totalframe) will fail and
    gotoAndStop will never be called.
    Instead, you would need to wait for some time and continually
    check the _currentFrame until the condition statement is true, e.g:
    on (release) {
    PageTurn.play();
    while (PageTurn_currentframe != PageTurn._totalframe) {}
    //wait until reaches the last frame
    gotoAndStop ("drawer1cont")
    This approach is likely to be suboptimal since you are
    wasting cycles checking the current frame instead of just having
    the movie let you know when it has reached the last frame.
    Depending on how Flash handles that while statement, you could have
    serious slowdown from that while statement. And since Flash doesn't
    have a sleep() function, you would have to do some sort of
    setTimeout() to slow down those checks. Either way, I would venture
    to say this approach is better off avoided.

  • How to detect the end of a movie clip:  what eventListener to use?

    I'm doing a rather fancy button with up,down,rollover,rollout,and static states, something the standard flash button structure isn't capable of as far as I can tell, and believe me, I've tried it.
    Here's the setup:  My main timeline has a series of frames with stop(): scripts, and each frame has a movie clip representing what should happen during that state:  still, rollover, rollout, mousedown, mouseup
    I can't get the mouseup event  to work.
    Here's what I've tried so far that doesn't work:
    1. in the imbedded movieclip, no script at the end.  Result: This just loops the embedded clip.
    2. in the imbedded movieciip, put gotoAndPlay("NextFrame"), where "NextFrame" is the label in the root movie where I want to go. result: loops clip
    3. in the imbedded movieciip, put root.gotoAndPlay("NextFrame"), where "NextFrame" is the label in the root movie where I want to go. result: error
    I think what I need to do is write an eventListener for the root actionscript, but I don't know what event to listen for. 
    What event is thrown when a movieclip finishes playing?
    :<)McFrisco

    You have to create your own mechanism(s) for detecting the end of a movieclip being reached.  You can either build code into the end of the clip itself, possibly dispatching an event that is being listened for by a containing timeline, or you could continuously monitor the currentFrame of the clip to see if it equals the totalFrames value.

  • PC users saying the end of my movies freeze up

    Hello all, I have an iMac and when I send slideshows exported from iPhoto using Quicktime, or even sending other home movies from share through quicktime through e mail, some PC users are saying towards the end it stops playing. Does anyone have any experience with this?

    Has not been sent to me so have no well of telling at this time...

  • How do I put my logo or whatever I want at the end of my movie iDVD6 ?

    I have been making DVD's for people taking their old B&W's and color photos and putting them into iPhoto after working on them in Photoshop, and then transferring straight out of iPhoto into iDVD 6 how can I make a page at the end with my logo who it was made by etc. pretty much like the end credits on a store bought DVD? Pretty new at using iDVD and I haven't seen where anyone has asked this if so I'm sorry just point me the right way please
    Thanks Michael

    How 'bout just making a credit slide in Photoshop and sticking it into iPhoto at the end of the show?
    Or make your own "Credits" slideshow, separate from the main event.

  • Doesn't play the end titles of movie

    Added title ending to final cut pro x short film....but the title clips are greyed out...when I save film and play it back the title endings aren't recorded. Can't see an obvious way of including the title clips....any ideas?

    Hi Tom...here you go with the screen grab

  • How to cut off extra time at the end of a movie

    I imported a video about 5 minutes long, then edited it down to 1 minute. There is still about 5 minutes of extra blank space in the timeline and when I render it the space renders as well. I have searched all over the net and I can not figure out how to cut out the extra time off the video. Any suggestions? Thanks

    Welcome Dylan Mcintosh to the  iMovie boards..
    this is the iMovie '09 section of this board..
    .. There is still about 5 minutes of extra blank space in the timeline and ...
    there's no 'timeline' in iM vers 09..
    click in iM on 'About iM' and tell us, which version you use...

  • How do you add a black segment at the end of a clip

    I would like to add a black segment at the end of my movie to lay my credits over? How is this done?
    Thanks

    Isn't there an "Over Black" in the titles pane anymore? (I don't have imovie 08...)
    Not as such. It depends on which "Title" option you are using. Double clicking on any of the last nine "Title" options in the lower area outside the text boxes will open the color selection tool. The first three "appear" to be "black" by default when "dropped" to the project area since they are actually transparent (as you can see when dropped to a video clip). Same seems to be true for "upper" area of the last nine.

  • At the end of my rope with recent upgrade

    I just bought the recent upgrade it's 2.0.1. Anyways before I bought it and updated my ipod everything worked perfect. My favorite thing to do was sit outside on the ipod surfing the net. Well now that I updated it I can not get online. I can connect to my wifi which works no problem as I am on a computer right now using wifi but I can not access the net, youtube, itunes anything at all. If I am lucky I can load apple.com or gmail.com but that is it. If I click on a link it will not load another page. I have googled like no tomorrow to fix this and nothing has worked. Here is what I have tried.
    - Reset by holding down home and power
    - Taking off all applications I had downloaded and doing a complete restore putting the ipod back to factory settings and then syncing minus the apps as the apps and the 2.0.1 is the only things new on my ipod.
    - I have tried messing with the settings under the connection on the ipod as suggested in some sites I found.
    - I have tried changing my secruity settings on the modem, unplugged modem and reset modem even though modem has nothing to do with it since I still get online on my computer.
    - I have tried forgetting network and refinding it, I have also tried renewing it.
    I am so fed up. I want whatever was on it before 2.0.1 back since I could get on the internet then. I bought the ipod back in december so support will do nothing for me if I called them.
    Please Help!! I am ready to throw the thing out the window.

    I understand that you are trying to help. I came to realize that it must be a sig or something that automatically attaches at the end as it is no longer in more of the thread it is always at the bottom of the thread. I am so fed up with this stupid thing. I have tried everything it seems and everything mentioned in this thread. I got the IPod beside me to try each new suggestion. I can't go to an apple store as we do not have one here. I am ready to call apple and force them to deal with this in the morning. I got enough on plate I don't need this added stress even as minor as it is in the big picture.

Maybe you are looking for

  • How can i recover my old browser with all my bookmarks and its toolbar

    My laptop was running perfectly well till yesterday. today when i opened my laptop there was a HP update required massage window I pressed O.K as always. After a while when update was completed it has put a funny wall paper on my lap top, and worse,

  • Error while creating axis2 web service client

    Hi, I am making axis2 web services without using any tool . I made an aar file and deployed in the jboss application server . The aar deployed successfully. The server generated wsdl file. When i tried to make an axis2 client code from wsdl2java comm

  • Sales order create with reference to contract order

    Hi,         I am trying to create a sales order with reference to an existing contract order. I have given the contract order and clicked on the selection-list button to select the items I want to copy. It listed the items, but I am not getting all t

  • Why won't my Macbook Air charge?

    My Macbook Air (late 2010) stopped charging and recommended a battery replacement. After replacing the battery with one purchased off of ebay, the computer still turns on when plugged in, but it will not charge. A very faint light is shown on the mag

  • Itunes won't detect phone

    i recently upgraded to leopard, i'm guessing this has something to do with it? i plug it in, it charges, but it won't show up on itunes. help. :[