Please help! first website! movie clip placed on main timeline wont play!

Hi! if any one could please help me it would be greatly
appreciated!
So im trying to make my first website in flash and ive ran
into a problem. I have the main movie, my main time line. I have a
few animations going on in this that were all created in that main
time line. those work fine. however, i created two new movie clips
(still inside the same .fla file) and animated them with thier own
time line. I then thought you could just drag and drop these movie
clips onto your main time line and they would play inside the
movie. but when i press ctrl + enter, the dont play!
here are some points of intrest.
my main movie (the main time line) is 130 frames.
the movie clips i made inside the same .fla file are between
400 and 600 frames.
i placed both new movie clips on the 130th frame in the time
line with their own layers.
also there is a layer for actions on the 130th that has
stop();
i thought that maybe the time line had to be as long as those
movie clips i created and so i extended it but they still didnt
play.
im thinking action script is involved? please help me im
getting pretty frustrated and im sure there is something simple to
achieve this.
here is a link where you can download the source files im
using. if you open the file the two movie clips i created are
called front two and front one and are layers with the same name.
this board wont let me fully post my link cause the last word
in it is s*h*i*t* so youll have to type it in your browser. its
http://public.me.com/matts*h*i*t*
(just remove the asterisks)
also i noticed that my file is huge. i used photoshop to
create everything and them imported it into flash. is there a way i
can reduce this size?
thank you sooo much! please help!
-Matt

Hey Matt,
I'll take a look at your file, but as a general rule, a
movieclip's timeline plays automatically when it is first
instantiated. Instatiated means its first frame where "it exists"
on the timeline that contains it. So the layer that holds your
movieclip animation, needs to extend the length of the timeline you
want that movieclip to "exist". Other than that rule, the frames
don't NEED to match the frames inside said movieclip.
So, if movieclips play automatically, and yours isn't, there
must be something either stopping the movieclips timeline, or your
movieclip isn't existing on the timeline because the layer that
holds it, doesn't have keyframes the length you need it to.
Yeah optimizing your sprites (2d graphical elements), and
using vector when you need to (if you don't know the difference
between raster and vector, google it) will significantly lower your
outputted .swf file size.
Edit: After looking at your file, your movieclips are not
playing (well, they're technically playing, just not showing up)
because your masker layer has multiple objects on it. A masker
layer (not to be confused with the maskee layer, the layer being
masked) needs to have only one object on it, or else you break the
mask. The grey border of your mask movieclip needs to be deleted
before your animation will play.

Similar Messages

  • How do I recerence Movie Clips on the Main Timeline from inside a class?

    Hey everyone, this might be a stupid question but I thought
    I'd ask cause it's making me nuts. I'm all of 2 days into AS3
    (coming from not using Flash at all in YEARS) so feel free to
    consider me ignorant. I do have plenty of application development
    experience in other areas though.
    I can't seem to create a class that can reference an instance
    of a movie clip on my main timeline. I'd post code of what I've
    tried but I've gone through so many desperate edits & wild
    guesses that it was just garbled junk before I deleted it all.
    Basically here's how I figured Flash could work, though maybe
    it doesn't work this way at all.
    I'm assuming that with AS 3 being so big on being a true
    object oriented environment, I wouldn't need to mix my code and
    interface together. Preferably I'd be using the Flash authoring
    tools just to design my interface. Create a button... place it
    somewhere... give it an instance name. Roughly the equivilant of
    Apple's InterfaceBuilder for those of you that might be familiar
    with Cocoa development. I can see maybe having to put a few lines
    of ActionScript onto frame 1 (though really I'm hoping Flash would
    have a better method of kicking off the application at this point
    that using code tied to frames) to load my classes & such, but
    after that I'd like all of my code to be held in external class
    files.
    So maybe I've got:
    Interface.fla - My interface
    Button_1
    Button_2
    TextField_1
    Main.as - My main controller class using to handle all of my
    applications behavior
    SomeClass.as - Some helper Class
    SomeOtherClass.as - Some helper Class
    Main.as would have instructions in its initialization method
    to go ahead & attach events to buttons & initialize
    anything else that needs to happen when the application starts.
    From there on it would all be objects communicating back &
    forth. Button_1 would get clicked with would fire
    Main.someMethod(). Main.someMethod() would then do it's thing and
    set the value of TextField_1. All very clean & code is very
    separated from interface.
    Unfortunately I can't for the life of me figure out how AS3
    classes reference each other like that. There doesn't seem to be
    any kind of a global 'root' or '_root' I can use to locate any
    movie clips on the stage. I've searched the help & the web for
    any kind of simple tutorial but to no avail. My job has tasked me
    with building a flash app for a project but I'd really rather not
    have a tone of ActionScript just shoved into frame 1. That just
    seems... ugh! (::shudder::)
    Can someone maybe point me in the right direction here? I'm
    really willing to do my homework but I can't seem to locate the
    info I need to get started. Also, is there an ActionScript IRC
    channel or something maybe?
    Thanks,
    Cliff

    I worked with the problem last night and the solution I
    started coming to involved creating my own custom document class
    based off which extends MovieClip. My thought is that way I have
    access to the initialization routine of the timeline itself and
    that all of the elements on the main timeline should be
    "properties" of my custom class.
    Is this correct? Is there a down side to doing this & if
    so what is it & why?
    Also, just for my reference, the last time I did anything
    with ActionScript I think I was using '_root' to target the main
    timeline. WHat are the global variable names in AS 3? Is it just
    'root' & 'stage' or 'Root' & 'Stage' or what?

  • Passing a variable from a movie clip to the main timeline

    Hi,
    I'm having trouble passing a variable from a movie clip in my
    flash file to the main timeline.
    I have a movieclip with the instance name IntroNav which
    contains several buttons. Clicking a button sets the variable
    "page" to a specific name, i.e. page = "home"
    However, outside of the movie clip, on the main timeline I am
    unable to call this variable, and "page" seems to have no value.
    Can anyone tell me why this is and how to solve it?
    Thanks

    Umm, yes ... declare your variables correctly.
    var page:String = new String(); //proper complete
    var page:String; //strict typing
    var page:String = "home"; //stirct typing with value
    declaration
    Do not declare the variable in your buttons, you would have
    to do so in every button and be constantly resetting the value.
    Declare it on the main timeline at the lowest level. You do not
    need to use it as a _global, you just need to resolve your path
    issues. You can 'set' the variable value from a button, without any
    problem, but you have to call to the variable correctly.
    You do not 'name' a variable as "_root.page" , the '_root'
    refers to the lowest level of the SWF or the main timeline, as does
    a call to ' _level0' (that's a zero). If the variable is declared
    on the main timeline, and you're calling from the MC/button or
    anywhere you can refer to the variable by calling to it by
    the proper path of '_root.page'
    To set the variable from any of your button/MC instances
    call:
    _root.page = "value"; OR _level0.page = "value";
    But you must have the varibale declared on the main timeline,
    and only once and the playhead should be stopped or it will reset
    the value to the default upon looping.

  • Please help! Nested Movie Clips as navigation bar

    Hi everyone,
    I just had my first flash lesson a couple of days  ago, but decided to venture myself into trying to build a navigation  tool bar with movie clips grouped together. My intention is that once  the mouse rolls over one particular movie clip, another movie clip fades  in under it (my version of a "drop down" menu). Just so it happens, the  movie clip that fades in, is also comprised of particular movie clips  with their own behaviors (roll over tween effects).
    I can make  each individual movie clip behave as it should, but I cannot get them to  work once they are pieced together. I'm attaching a link that contains  the file I'm talking about (submenu), in the hopes that one of you good  Samaritans would take a look at it and tell me where I went wrong.
    Hopefully   I haven't absolutely shocked you guys with my level of ignorance.
    http://docs.google.com/fileview?id=0B09iy1xwVTUYZmY0NjdhM2EtZDRjYS00MGNlLWJmNmEtMDJmOTI4ZT ZjYWFi&hl=en
    Gaby

    its just with the frame labels you have given every where.
    and its the same "over" and "out"
    the player is confused to play which one fist
    i removed some lables and saw that it works partially. (did not debug the whole fla)
    hope you will got the way

  • How to _root in as3 (buttons in movie clip referencing to main timeline)

    Hi, I created buttons within a movie clip that i placed in the main timeline.I am  a novice to as3. I just wanted the button to go to the frame label of the main timeline. i used to do this with _root in the old flash. how do i do this?
    thumb02_btn.addEventListener(MouseEvent.CLICK, buttonClicked);
    function buttonClicked(event:MouseEvent):void
        gotoAndPlay("slide2");

    Thanks for the quick reply!
    somehow i must be doing something wrong though. It's not working...
    I added a stop to the "slide02" labeled section of the main timeline.
    and I also added a stop to the beginning and end of the movieclip. Am I doing something wrong? attached is my file....thanks!!
    stop();
    thumb02_btn.addEventListener(MouseEvent.CLICK, buttonClicked);
    function buttonClicked(event:MouseEvent):void
        MovieClip(this.root).gotoAndPlay("slide2");
    stop();

  • Controlling a Movie Clip on the Main Timeline from a loaded SWF?

    Is it possible to control a MovieClip on the main timelne from another loaded clip?
    I see posts that control loaded clips, but most are all from the loader in the main timeline.  I have a moviclip on the main timeline that I want to make visible or invisible depending on what keyframe is playing in another loaded swf.
    If I try to call the movieClip from the loaded SWF I get "error #1119.  Access of possibly undefined property...." because it doesn't exist in the loaded SWF, just the main timeline. 
    The old AS2 way just used "_root".  Since "_root" doesn't exist any more, how do you control items on the main TimeLine from a loaded SWF?

    I am not clear what you mean because you are saying you are trying to target a movieclip that does not exist where you are trying to target it.
    Try using a trace to see what you are targeting when you you target the MovieClip(parent.parent)....
    trace(MovieClip(parent.parent));
    The other approach I mentioned earlier is the more OOP-correct approach if you would rather try that way.  Here's a rough outline of it...
    AS3 - Dispatch Event
    http://forums.adobe.com/thread/470135?tstart=120
    Example:
    Add something to trigger the event in the child (your loaded swf):
    dispatchEvent(new Event("eventTriggered")); (
    if dispatchEvent problem, see: http://www.kirupa.com/forum/showthread.php?p=1899603#post1899603)
    In your loading/parent swf, listen for the complete event on the Loader.contentLoaderInfo.  In the complete event handler, add a listener for the event on the loaded swf.
    // event handler triggered when external swf is loaded
    function loaderCompleteHandler(event:Event) {
        MovieClip(event.currentTarget.content).addEventListener("eventTriggered", eventHandler);
    function eventHandler(event:Event):void {
        trace("event dispatched in loaded swf");
       // this is where your main file can set the visible property of your movieclip

  • I rented a movie on apple tv but it wont play on the tv. Help me please.

    I rented a movie on apple tv but it wont play on the tv. Help me please.  I want to see it but a message appears saying that an error occurred loading this content. What can I do?

    Have you tried a reboot?
    What is your connection speed via speedtest.net?
    Check istumbler or netstumbler to see about network interference
    Make sure DNS is set correctly (settings - general - network - configure DNS - automatic)

  • Hi my ipad air wont charge unless its turnt off please help i just boght a new charger it still wont work

    hi my ipad air wont charge unless its turnt off please help i just boght a new charger it still wont work

    Hi When  you change your iPad, even if its off it will, turn on when you connect, to charger Check  lightining port for any bits. Do a Reboot press &hold power button & menu button hold both down until you see Apple Logo This may help. Cheers Brian

  • We have a movie downloaded on a laptop connected to the internet pluged into our router in the basement and an apple tv upstairs trying to play the movie through home sharing but it wont play. can anyone tell me whats wrong?

    we have a movie downloaded on a laptop connected to the internet pluged into our router in the basement and an apple tv upstairs trying to play the movie through home sharing but it wont play. can anyone tell me whats wrong? it comes to the last loading page where it shows the desscription of the movie befor it acually plays.

    It can come about without any change done by the user, and it's not just from other networks. The placement of the router can also affect performance. Also make sure router is up to date.
    Apart from that would be the reboots.

  • Urgent Flash help needed; Using Movie Clip Objects

    Hello,
    I am currently trying to design a small flash movie.
    I have a "Movie Clip" object (a short animation) that i wish to act like a static object until a certain frame on the main Timeline.
    Then i want it to play out, at it's own pace, just like normal, until it finishes (no looping)...
    What do i need to put into, and where do i put it?
    So in short, frame 30 of the main animation triggers the clip, whilst the main animation still runs...
    I know very, very minimal AS3... so please, can someone help me?
    A lot of solutions suggest a button, but I don't want to use a button, as it's not interactive - just a movie.
    i just want the damn movie clip to play in the damn movie when it reaches frame 30! it shouldn't be that hard..

    There is most likely no need for any code. And most likely no need for a movieclip even.
    It sounds like you would need a graphic symbol. (You can convert it in the library or you can just change the instance you have placed on stage.)
    First select the symbol on its first keyframe and on the properties panel select the looping options and tell it single frame, first 1.
    Then move along your timeline to where you want the animation to start playing. Add a keyframe. Now select Once, first 1.
    Now it will start playing, you will be able to see it play as you scrub the timeline.
    If you use movieclips and code for this, you won't be able to see them play together as you scrub the timeline.

  • Help with some movie clips and an function...

    Hi all..
    I`m having trouble with an function used to animate two movie
    clips....
    I want to use the function like this " fSwitch("movie1",
    "movie2"); "
    I`ve checked to see if I had typoes but I don`t and the
    scripting looks good to me...
    In spite of this fact , when I test the code or movie i get
    this erros :
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 32:
    There is no property with the name '_x'.
    sItem2._x = 10;
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 33:
    There is no property with the name '_y'.
    sItem2._y = 10;
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 34:
    There is no property with the name '_xscale'.
    sItem2._xscale = 10;
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 35:
    There is no property with the name '_yscale'.
    sItem2._yscale = 10;
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 36:
    There is no property with the name '_alpha'.
    sItem2._alpha = 0;
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 37:
    There is no property with the name '_y'.
    while(sItem2._y <= Stage.height/2 -1) {
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 38:
    There is no property with the name '_alpha'.
    if(sItem2._alpha <= 97) {
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 39:
    There is no property with the name '_alpha'.
    sItem2._alpha += 3;
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 40:
    There is no property with the name '_alpha'.
    sItem1._alpha -= 3;
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 42:
    There is no property with the name '_x'.
    sItem2._x +=2;
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 43:
    There is no property with the name '_y'.
    sItem2._y +=1;
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 44:
    There is no property with the name '_x'.
    sItem1._x +=2;
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 45:
    There is no property with the name '_y'.
    sItem1._y +=1;
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 48:
    There is no property with the name '_y'.
    if(sItem2._y >=98) {
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 50:
    There is no property with the name '_xscale'.
    sItem2._xscale +=1;
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 51:
    There is no property with the name '_yscale'.
    sItem2._yscale +=1;
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 53:
    There is no property with the name '_xscale'.
    if(sItem2._xscale >= 100) {
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 58:
    There is no property with the name '_xscale'.
    sItem1._xscale -=1;
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 59:
    There is no property with the name '_yscale'.
    sItem1._yscale -=1;
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 61:
    There is no property with the name '_xscale'.
    if(sItem1._xscale <=10) {
    Total ActionScript Errors: 20 Reported Errors: 20
    Please help me out :-<
    The code :

    sItem2 is a string and strings don't have _x etc properties.
    "movie1" should be a movieclip, not a string when passed to
    fSwitch() and fSwtich parameter typing should be changed. or
    convert "movie1" into a movieclip in fSwitch()
    to remedy the issue with sItem2, use a reference to your
    movieclip created by attachMovie().
    for example:

  • Newbie:  Help with Interactive Movie Clips

    I'm just starting off with Indesign and am already running into an issue on a seemingly simple issue.  I'm trying to create an interactive document that I will play movie clips when exported to pdf.  Ok so far so good.  I've inserted one movie and started to play around.
    1st issue - The only option I can get to actually play the movie when clicked is when the pdf export option for compatibility is set to 'Acrobat 5 (PDF 1.4)'
                     How come no newer options work?  Using Acrobat reader 9 by the way and tried to toggle options such as 'embedding' the movie.
                     No luck with playing on any setting except 'Acrobat 5 (PDF 1.4)'
    2nd Issue - Inside the movie options dialog box for this clip, there is an option for a poster that I can 'choose movie frame' as poster.  The dialog box       comes up and is completely empth with no video controls or anything.  What the deal with this.
    I'm just starting out and I know I'm not totally incompetant but I'm not very pleased with what I'm seeing right now.
    Any help or suggestions would be very much appreciated.
    Thanks,
    Don

    Here is some help for starter.
    For embedding, do that in InDesign. I think you know the movie will only play in the PDF.
    If you export to PDF 1.3/1.4•Non-RGB movie or sound posters aren’t visible in the exported PDF document.
    •SWF and MPEG movies aren’t playable in the exported PDF document.
    •Clipping paths applied to movie or sound posters don’t appear in the exported PDF document. Posters are resized to match the movie page item.
    •Movies cannot be embedded.•Sounds cannot be linked.
    If you export to PDF 1.5 or laterQuickTime is specified as the preferred player when exporting to PDF. To change the preferred player, you must edit the rendition in Acrobat 6.0 or later.
    If you export to any PDF version•Non-rectangular media frames don’t appear in the exported PDF document.
    •Hyperlinks applied to movies, sounds, or buttons are not active in the exported PDF document. However, you can add those hyperlinks using Acrobat Professional.
    •Rotated or sheared movies and posters may not appear correctly in the exported PDF document.
    •Any masking applied to movie frames or posters is not supported.

  • Help! Remove Movie Clips

    OK...here's my problem... I am making a portfolio site and I
    have my thumbnails being created dynamically through XML...very
    similar to the galleries example in the Sample and Tutorials. Only
    problem is that I have multiple keyframes with different thumbnails
    that need to be displyed through a different XML file. I got it to
    work but the thumbnails from the first frame are still showing on
    the second frame...How do I remove the dynamically created movie
    clips?

    OK...here's the code...At thebottom of the document, I need
    to remove the clips created on the next button. This is the same
    code from the gallery sample file; I just added my own XML file.
    stop();
    import mx.transitions.*;
    _global.thisX = 30;
    _global.thisY = 70;
    _global.stageWidth = 600;
    _global.stageHeight = 400;
    var gallery_xml:XML = new XML();
    gallery_xml.ignoreWhite = true;
    gallery_xml.onLoad = function(success:Boolean) {
    try {
    if (success) {
    var images:Array = this.firstChild.childNodes;
    var gallery_array:Array = new Array();
    for (var i = 0; i<images.length; i++) {
    gallery_array.push({src:images
    .firstChild.nodeValue});
    displayGallery(gallery_array);
    } else {
    throw new Error("Unable to parse XML");
    } catch (e_err:Error) {
    trace(e_err.message);
    } finally {
    delete this;
    gallery_xml.load("gallery_practices2.xml");
    function displayGallery(gallery_array:Array) {
    var galleryLength:Number = gallery_array.length;
    for (var i = 0; i<galleryLength; i++) {
    var thisMC:MovieClip =
    this.createEmptyMovieClip("image"+i+"_mc", i);
    mcLoader_mcl.loadClip(gallery_array.src, thisMC);
    preloaderMC = this.attachMovie("preloader_mc",
    "preloader"+i+"_mc", 5000+i);
    preloaderMC.bar_mc._xscale = 0;
    preloaderMC.progress_txt.text = "0%";
    thisMC._x = _global.thisX;
    thisMC._y = _global.thisY;
    preloaderMC._x = _global.thisX;
    preloaderMC._y = _global.thisY+20;
    if ((i+1)%5 == 0) {
    _global.thisX = 20;
    _global.thisY += 80;
    } else {
    _global.thisX += 80+20;
    var mcLoader_mcl:MovieClipLoader = new MovieClipLoader();
    var mclListener:Object = new Object();
    mclListener.onLoadStart = function() {
    mclListener.onLoadProgress = function(target_mc, loadedBytes,
    totalBytes) {
    var pctLoaded:Number =
    Math.round(loadedBytes/totalBytes*100);
    var preloaderMC =
    target_mc._parent["preloader"+target_mc.getDepth()+"_mc"];
    preloaderMC.bar_mc._xscale = pctLoaded;
    preloaderMC.progress_txt.text = pctLoaded+"%";
    mclListener.onLoadInit = function(evt:MovieClip) {
    evt._parent["preloader"+evt.getDepth()+"_mc"].removeMovieClip();
    var thisWidth:Number = evt._width;
    var thisHeight:Number = evt._height;
    var borderWidth:Number = 2;
    var marginWidth:Number = 8;
    evt.scale = 8;
    evt.lineStyle(borderWidth, 0x000000, 100);
    evt.beginFill(0xFFFFFF, 100);
    evt.moveTo(-borderWidth-marginWidth,
    -borderWidth-marginWidth);
    evt.lineTo(thisWidth+borderWidth+marginWidth,
    -borderWidth-marginWidth);
    evt.lineTo(thisWidth+borderWidth+marginWidth,
    thisHeight+borderWidth+marginWidth);
    evt.lineTo(-borderWidth-marginWidth,
    thisHeight+borderWidth+marginWidth);
    evt.lineTo(-borderWidth-marginWidth,
    -borderWidth-marginWidth);
    evt.endFill();
    evt._xscale = evt.scale;
    evt._yscale = evt.scale;
    evt._rotation = Math.round(Math.random()*-10)+5;
    evt.onPress = function() {
    this.startDrag();
    this._xscale = 30;
    this._yscale = 30;
    this.origX = this._x;
    this.origY = this._y;
    this.origDepth = this.getDepth();
    this.swapDepths(this._parent.getNextHighestDepth());
    this._x = (_global.stageWidth-evt._width+30)/2;
    this._y = (_global.stageHeight-evt._height+30)/2;
    mx.transitions.TransitionManager.start(this,
    {type:mx.transitions.Photo, direction:0, duration:1,
    easing:mx.transitions.easing.Strong.easeOut, param1:empty,
    param2:empty});
    evt.onRelease = function() {
    this.stopDrag();
    this._xscale = this.scale;
    this._yscale = this.scale;
    this._x = this.origX;
    this._y = this.origY;
    evt.onReleaseOutside = evt.onRelease;
    mcLoader_mcl.addListener(mclListener);
    next_btn.onRelease= function() {
    gotoAndStop(2);
    back_btn.onRelease= function() {
    gotoAndStop(1);
    }

  • Soemone please help! cant move videos to a different 'playlsit' or 'device'

    i have m4s uploaded to my itunes however, they are only in the movies folder, i need to mvoe them 'music videos' or somewhere else where my car will recognize them, please help ive tried everything, ive created a playlist and it wont show up in the car because i think playlsits are only for music, any ideas? thanks in advance

    Im obviously not going to watch them while im driving, but if you must know, i am part of a car club and its nice to have them playing while people are observing your car. Great to see people here to help. Before you jump to conclusions maybe you should stop being ignorant and find out the purpose of my actions are. Anyone else out there want to be nice enoguh to lend a hand?
    Message was edited by: tmoney0209

  • Help making a movie clip hyperlink

    I have several different movie clip components in a flash file that I need to hyperlink to different addresses. I cannot for the life of me figure out how to add a url to these objects. Any help would be greatly appreciated.
    Tad A.
    edit: I should add that I see an invisible button as being one solution. My real question would be is this the best way to accomplish this?

    use:
    kglad wrote:
    then use navigateToURL():
    yourbutton.addEventListener(MouseEvent.CLICK,f);
    function f(e:Event){
    navigateToURL(new URLRequest("http://www.adobe.com"), "_self");

Maybe you are looking for

  • CUT tag at the top of the frame in export?

    Hi, I'm exporting a quicktime movie from Final Cut, and when I open in in Quicktime Player, there's a white bar across the top that says <CUT>? I don't recall seeing that when I've done the same thing before -- what does it mean and how can I get rid

  • How to determine which entries of Bank statement have not got cleared

    Hi Friends,                   We are uplaoding bank statement using TCODE :FF67 .   We observe that certain errors are found during clearing process . Currently we go into SM35 and individually check each error full transaction for details. Is there

  • Top level navigation problem anonymous portal

    Hi everybody, We have an anonymous portal with named anonymous users. When you log on in the portal with a normal user, the top level navigation works fine and all the content is displayed. When you log on in the portal with an anonymous user, all th

  • Get iPad innerHeight of page without toolbar

    Hello, I need to get innerHeight on iPad 2 display. So I need viewport of browser. I've tried screen.height and on portrait mode returns me 1024, then tried screen.innerHeight, but returns undefined. Then tried window.height and returns undefined als

  • Limitations with the free Informatica Cloud Data Loader

    Hello,Can you please help me understand that limitations of the free data loader? In this link  - http://www.informaticacloud.com/editions-integration.html# - I see the below features listed.No-code, wizard driven cloud integrationMulti-tenant SaaS s