Problem with nested button controlling main timeline...

I am new with as3, i like it, but I am suffering
After I looked on google for trying to figure out my problem I attempt to post here...
to make it simple, I have a loader that is loading some swf(a scrolling content), with some content, in those swf I am trying to put a "close" button and some other like  next/prev. But no way... normally I thought that the MovieClip(root) would make it but it's seems not to be enough.
code of the swf:
var btnclose1:btnclose = new btnclose();
this.addChild(btnclose1);
btnclose1.x = 770
btnclose1.y = 55;
btnclose.addEventListener(MouseEvent.CLICK, closearchi)
function closearchi (e:MouseEvent):void {
MovieClip(root).gotoAndStop(1);
Thanks by advance...

Hi Ned,
Actually, I just saw than the problem come from the timeline itself, but I don't see what to do...
on the frame 1 of the main timeline, it is loading an empty swf into my container"box":
var myLoader:Loader = new Loader();
var myURL:URLRequest = new URLRequest("empty.swf");
myLoader.load(myURL);
box.addChild(myLoader);
on frame 2 I have the first content and so on:
function loadarchi():void
var myURL:URLRequest = new URLRequest("archi.swf");
myLoader.load(myURL);
loadarchi();
I did a simple button on the main just for testing purpose, telling him to go to frame 1, it doesn't unlod the content ! there is the problem!
what is wrong with that? it shoul load the empty swf instead of archi...
thanks again

Similar Messages

  • Problem with Masked Buttons

    As it stands i have a button called Start, when this button is hovered over, three more buttons appear at its side (all masked)
    I'm having trouble actionscripting the buttons, ive tried putting the AS on the button
    on(release){
    gotoAndStop(2);
    seen as everything so far is done on the first frame on various layers i just need it to go to frame 2. but this doesn't work.
    the code that's on the start button is
    on(rollOver){
    Startmenu.play();
    Start menu is the invisible movieclip which has the masks and rollout buttons in.
    anyone got any ideas?

    start button does overlay the other buttons and it is on the main timeline. as is the movieclip which activated the 3 buttons when the start button is rolled over with the mouse.
    Date: Fri, 26 Mar 2010 08:39:42 -0600
    From: [email protected]
    To: [email protected]
    Subject: Problem with Masked Buttons
    does your start button overlay the other buttons?
    is your start button on the main timeline?
    is the movieclip with the 3 buttons on your main timeline?
    does that movieclip respond to the mouse (and thereby intercept mouse events intended for the buttons it contains)?
    >

  • A really annoying problem with a button/movie clip

    I am having a problem with a button! its driving me insane
    because i managed to do it last week, but that was by chance and
    now i can't remember how i did it!
    I can get the button (i'm using gelright from the common
    libraries panel) and convert it to a movie clip(by pressing F8) and
    even attach a behaviour but when i play the movie it doen't work!
    when i move the curser over the button it changes into a hand, but
    will not act like a button, even though i have set the behaviour to
    'on release, go to and play keyframe 2'.
    Please help me, for the sake of my laptop goin through the
    wall!

    virgosam20 wrote:
    > first, i found the button i wanted in the common
    libraries (gelright) and
    > added it to the stage. I resized it and converted it
    into a symbol as a movie
    > clip. Then it got added to my library.
    > Then i deleted it from the stage and replaced it with
    the movie cip version i
    > had just converted it to. so now i have the same object
    on the stage, but now
    > its a movie clip and not a button.
    ok - you are running yourself around in circles - why did you
    delete it to the stage only to add it
    again? once you converted it to a movie clip, you had what
    you wanted on the stage - but then you
    deleted it and dragged another instance of the same symbol
    back onto the stage - there's no reason
    to do that.
    > Then i double clicked on it to bring up the movie clip
    timeline, but instead
    > of saying 'top, down, over, hit' (or whatever it says),
    it jsut said 'layer 1'
    > (but this was not my original stage as i have a number
    of layers on that one).
    Right - this is expected because yoyu are now inside the
    movie clip timeline - not the button timeline.
    > When i double clicked on it again, it brought up the
    right headings (top, down,
    > over, etc),
    Right - because by double clicking the button symbol you were
    then brought to "edit mode" for the
    button symbol.
    but there were about 5 layers that showed the different
    layers for
    > the original button.
    Huh? What "5 layers"? What do you mean "original" button -
    per your description there has only ever
    been 1 button you have been working with.
    > I think i have to add the button to each of the
    headings, bt there is no room,
    Lost you completely now - what do you mean add the button to
    each heading? I have no clue what you mean.
    > as when i did it before, there was only one layer for it
    and i had to insert
    > the key frames myself.
    Still losing you here.
    > I then added a behaviour to it using the Behaviours
    pannel, (selected
    > movieclip, then 'go to and play....') and it appears in
    the behaviours pannel.
    > But when i got to Play Movie, although the curser
    changes into a hand, the
    > button does not work.
    That's because you are applying a behavior for a button to a
    movie clip instead.
    I think you went wrong when you converted the button to a
    movie clip - i have no idea why you did
    that or why to think your button needs to be in a movie clip.
    >
    > Hope that can help you with what i've done and you can
    tell me where i've gone
    > wrong.
    >
    I just think you don't understand how timelines, symbols or
    buttons work yet in flash.
    1. drag a button to the stage.
    2. select it and open the Behaviors panel (dont double click
    it to edit it).
    3. add your actions.
    4. test movie.
    (no need for a movie clip here.
    -chris

  • Problem with sleep button

    I have problem with sleep button on my hp pavilion dv6-1354us When i press FN + F5 nothing happend. I reinstalled drivers for hp quick lunch buttons but the same problem.. Any solutions ? Thanks.

    The operations of FN functions mainly based on the intrinsic working between the drivers and System BIOS.
    If you already upgraded the Quick Lanuch Driver, then you may want to upgrade your System BIOS to the latest one in HP website to see if it can resolve the problem for you.
    However, you need to be careful while upgrading your System BIOS.

  • Problems with home button on iPhone 4

    problems with home button on iphone 4

    If its due to sensitivity issues, these self help guides might help.
    http://www.youtube.com/watch?v=zNwr_mxgs9Q
    http://www.youtube.com/watch?v=lSqPC1V0PPg&feature=related
    By the way, alcohol based hand sanitisers work too.
    Don't overapply it in one go though. You'll have to allow the alcohol to evaporate.
    One final tip, after its dried, I'd recommend you to leave your iPhone's home button facing a laptop's vent just to bake it a little drier.

  • Problem with a table control

    Hi gurus,
    I´ve a problem with a table control. It has 3 columns which one is a checkbox.
    I can fill all fields but in the moment I mark the checkbox this line must be unwritable. How can I do it?
    Thanks for all
    Dani

    Assign a function code to the checkbox column....
    so when u check / uncheck any entry, PAI + PBO will be triggered....
    In the PBO during the loop of table control, check the checkbox field value. if it is 'X', make the row readonly
    by looping at screen and setting screen-input = 0 for rest of the columns.
    like ...
    LOOP AT tc_itab
           WITH CONTROL tc_test
           CURSOR tc_test-current_line.
       module set_row_readonly. " loop at screen and set input = '0' if checkbox is checked...
    ENDLOOP.

  • Problems with parameter button in Crystal Report Server  2008

    Dear all,
    I have problems with parameter button in Crystal Report Server 2008.
    when I created some parameters and groups in Crystal Report 2008, they showed both parameters in 'Parameter button' and group in 'Group button'  on the left, so I can choose or type without clicking 'Refresh button' But when I added it to Crystal Report Server 2008 and I click parameter button , it doesn't show any parameter. Only click refresh button to choose them. On the other hand, for 'Group Tree' is ok. When go to Default Setting-> Parameter, all parameters are in 'Unused parameter'  First time I think I had problems with my installation, but when I reinstalled it again, it was like before.
    Could any one help me with this?
    I appreciate looking forward to your reply
    Ketya

    Try posting your questionin the correct forum, this is for SAP Business One, not Crystal reports Server

  • Problem with Information button in WAD

    Dear Mates,
    I have a problem with Information button in WAD template.
    I have two queries in web template. those two queries are in two tabs( i used Tabstrip ) respectively.
    if i press first tab it shows query1 and if i press second tab it shows query2 absolutely.
    problem
    when i am in first tab, if i click information it will show information about query1, but when i am in second tab,
    if i click information it will show information about query1 only..
    i need it to show information about second tab.
    Please help. Its urgent. Full Reward points will be given.
    Thanks in advance.
    Regards,
    Ranganath

    check out this link
    http://www.mhprofessional.com/downloads/products/0071640266/0071640266_chap01.pdf

  • Is anyone experiencing problems with opening mission control from the desktop.  Running mountain lion with parallels 7 and windows 7

    is anyone experiencing problems with opening mission control from the desktop.  Running mountain lion with parallels 7 and windows 7

    I had been having a similar problem on Lion with Safari pdf files despite downloading the latest Adobe Reader XI.
    I would constantly get the same messages - There was an error opening this document. The file is damaged and could not be repaired. And I would get a blank page when I tried to print the pdf if I tried printing from the Safari web page using File - Print from the top toolbar on my laptop.
    Then I came across the grey Safari lozenge with action icons.
    This allowed me, without downloading the pdf, to print the pdf file direct from the Safari page by using the Print icon on the grey lozenge that appears centrally three quarters down the screen.
    Then I discovered that if I save the pdf using the Save icon from this same grey lozenge on the Safari page I can open and print this pdf version from my desktop.
    I've tested it with a couple of different pdf files and these methods work using the grey lozenge icons but the same pdfs files don't work using File - Save As on the Tool Bar.

  • Problem with the table control BDC in FV60 transaction

    Hi All,
    I got the problem with the table control in FV60 transaction.
    This is working for 900 line items.After 900 line items it is giving the problem like it is 1000th line item.You can post only 999 line items.
    I know we can post only 999 line items,but in my file only 920 line items.
    Please give me solution,if anybody come across this situation.
    Thanks & regards,
    rakesh.

    Hello Rakesh ,
    your file may have only 920 line items , but based on those line items, SAP may create few more  new lines ( based on the clearing recon accounts , inter company transaction ...etc )...
    regards
    Prabhu

  • Problem with the button

    Hi my name is Lior Sassi from Israel. I bought an iPhone 5 in Amsterdam. Now I have a problem with the button on the iPhone and I still have a guarantee. Where can I fix the problem?

    The Warranty is only valid in the Original Country of Purchase.
    For Troubleshooting your button issue... See Buttons and Switches here...
    http://support.apple.com/kb/TS2802

  • Hey everyone I am haveing problems with Flash Button

    Hello everyone I am new here so I am haveing problems with
    Flash Button because of the html address it wont go to the address
    that i put into it it keep going to
    http://www.faithdesigner.net/www.faithdesigner.net/pricing.html/www.faithdesigner.net
    why does it do that? this is a link problem issue with flash
    button in macromedia dreamweaver 8?
    someone please help me?
    Jeremy

    >
    http://www.faithdesigner.net/www.faithdesigner.net/pricing.html/www.faithdesig
    > ne
    > r.net
    In the dialog box for the Flash Button, in the link box, put
    the full
    absolute path if an external page. Including the
    http:// part.
    http://www.example.com/page.html
    for pages inside your site- use the browse to file icon, and
    use a relative
    path.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Problem with the buttons

    Recently I have problems with some buttons on my 8800.
    When I hit the trackball the BB writes "Uo". When I hit the 'back' button it writes "Hl". Also the menu button does not what he has to do. Anyone the same problem or even better a solutions for this problem?
    Bye, Ben

    You are not alone.  the same thing happened to me today with my 8820. 
    it worked fine for one call then i hung up and tried looking up a number.  Track ball dosn't work at all, their isnt even a backlight on the trackball.  the back button types in hl.  i also think my e button is enter but i dunno.  that one seems on and off.
    Edit.  I found this:
    http://www.blackberryforums.com/general-8800-series-discussion/114752-blackberry-button-problem.html
    Message Edited by jasgud on 07-27-2008 08:25 PM

  • Problem with option buttons

    Hi!
    We have a problem with Option buttons.
    Example: We create a new document , then we add a group of Option buttons, so far no problem,  but we can't have different description on each button. Say we create four option buttons, option 1, option 2, option 3 and option 4. They are now grouped together so that we can only choose one option, but we also want to have different descriptions on the tooltip when the user hovers over. But when we set for example "Option 1" as a description on the first button, all buttons get the same description, what is wrong!
    Dan

    A field's Tooltip entry is a "child" of the field's Name (in the General tab of the field's Properties dialog).
    So, all fields of the same Name will have the same Tooltip.
    Perhaps this is the problem?
    Be well...

  • Problem with Creative Audio Control Panel

    ) Heya, I just bought a SB X-Fi Xtreme Audio and I've encountered a problem with Creative Audio Control Panel. My OS is Win7 x64; I have installed the newest drivers for SB. The problem is that I can't set my setup for headphones. I mean I can do that and it's working untill I turn off the PC or restart the system. After that it always sets for 2/2. Speakers. Any ideas how to make this thing to remember my settings the way I want it's Thanks!

    - The problem seems to be fixed Here's the solution for my card: <a rel="nofollow" target="_blank" href="http://forums.creative.com/t5/Sound-Blaster/SB-P7X-Series-Support-Pack-2-5-02-06-200-AudigySE-Value-LS/m-p/5493" title="Linkification: http://forums.creative.com/t5/Sound-Blaster/SB-P7X-Series-Support-Pack-2-5-02-06-200-AudigySE-Value-LS/m-p/5493"]http://forums.creative.com/t5/Sound-Blaster/SB-P7X-Series-Support-Pack-2-5-02-06-200-AudigySE-Value-LS/m-p/5493[/url]

Maybe you are looking for