A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: $25 via paypal to the first person who provides me with the script that works

  1. #1
    Junior Member
    Join Date
    Aug 2009
    Posts
    7

    $25 via paypal to the first person who provides me with the script that works

    Need to get the correct code for two scenarios:

    1:
    on a button click I need a child to unload and the movie to go to and play another scene. I do not want to do any coding to the child. I want the parent only to handle this, and I don't want to specify the XY coordinates of where the child should be. I simply want it to unload the currrent child from the stage.

    2:
    In the second scenario, the only difference is, I do not want the player to go to a new scene, just to a different place on the same timeline. (again, the remove code must be for a any child that is on the stage. It cannot be named or specified in any other way because there are too many buttons and different child swf's loading (too many different ways the viewer can navigate through the portfolio).



    Here's what I have so far:
    portfoliobut.addEventListener(MouseEvent.CLICK, click);
    function click(e:MouseEvent):void{
    gotoAndPlay(1, "portfolioFashion/people");
    }

    The above works.
    ///
    in addition, I have tried putting below this the following:

    portfoliobut.addEventListener(MouseEvent.CLICK, click);
    function click(e:MouseEvent):void{
    gotoAndPlay(1, "portfolioFashion/people");
    removeChild(currentObj);
    currentObj = null;
    }


    ...and I tried:

    portfoliobut.addEventListener(MouseEvent.CLICK, click);
    function click(e:MouseEvent):void{
    gotoAndPlay(1, "portfolioFashion/people");
    }
    portfoliobut.addEventListener(MouseEvent.CLICK, click);
    function click(e:MouseEvent):void{
    gotoAndPlay(1, "portfolioFashion/people");
    }
    portfoliobut.addEventListener(MouseEvent.CLICK, buttonRelease1);
    function buttonRelease1(e:MouseEvent):void{
    removeChild(currentObj);
    currentObj = null;
    }

    ///The above was used in conjunction with this:
    var currentObjisplayObject;
    currentObj = loader;

    ///I tried putting this above the other code, I tried combining it with the code that calls the child to the stage. I have no idea how to use this, so I tried everything I could think of. Nothing worked.
    ////then I tried this:

    portfoliobut.addEventListener(MouseEvent.CLICK, click);
    function click(e:MouseEvent):void{
    gotoAndPlay(1, "portfolioFashion/people");
    removeChildAt(numChildren-1);
    }

    ///and this:
    portfoliobut.addEventListener(MouseEvent.CLICK, click);
    function click(e:MouseEvent):void{
    gotoAndPlay(1, "portfolioFashion/people");
    }
    portfoliobut.addEventListener(MouseEvent.CLICK, buttonRelease1);
    function buttonRelease1(e:MouseEvent):void{
    removeChildAt(numChildren-1);
    }

    NOTHING WORKED> $25 if you can make this work for me.

    Best regards,

    Vernontnh

  2. #2
    Ө_ө sleepy mod
    Join Date
    Mar 2003
    Location
    Oregon, USA
    Posts
    2,441
    [moved to Freelance forum]
    Please use [php] or [code] tags, and mark your threads resolved 8)

  3. #3
    NikJosh
    Join Date
    Aug 2009
    Location
    Delhi
    Posts
    6
    its very confusing the way u hv explained
    I f u culd provide the fla thn explain
    it wuld be really easy
    u can mail me the the thing on nikhiljoshi122@yahoo.co.in

  4. #4
    Junior Member
    Join Date
    Jul 2009
    Location
    India
    Posts
    15
    Quote Originally Posted by vernontnh View Post
    Need to get the correct code for two scenarios:

    1:
    on a button click I need a child to unload and the movie to go to and play another scene. I do not want to do any coding to the child. I want the parent only to handle this, and I don't want to specify the XY coordinates of where the child should be. I simply want it to unload the currrent child from the stage.

    2:
    In the second scenario, the only difference is, I do not want the player to go to a new scene, just to a different place on the same timeline. (again, the remove code must be for a any child that is on the stage. It cannot be named or specified in any other way because there are too many buttons and different child swf's loading (too many different ways the viewer can navigate through the portfolio).



    Here's what I have so far:
    portfoliobut.addEventListener(MouseEvent.CLICK, click);
    function click(e:MouseEvent):void{
    gotoAndPlay(1, "portfolioFashion/people");
    }

    The above works.
    ///
    in addition, I have tried putting below this the following:

    portfoliobut.addEventListener(MouseEvent.CLICK, click);
    function click(e:MouseEvent):void{
    gotoAndPlay(1, "portfolioFashion/people");
    removeChild(currentObj);
    currentObj = null;
    }


    ...and I tried:

    portfoliobut.addEventListener(MouseEvent.CLICK, click);
    function click(e:MouseEvent):void{
    gotoAndPlay(1, "portfolioFashion/people");
    }
    portfoliobut.addEventListener(MouseEvent.CLICK, click);
    function click(e:MouseEvent):void{
    gotoAndPlay(1, "portfolioFashion/people");
    }
    portfoliobut.addEventListener(MouseEvent.CLICK, buttonRelease1);
    function buttonRelease1(e:MouseEvent):void{
    removeChild(currentObj);
    currentObj = null;
    }

    ///The above was used in conjunction with this:
    var currentObjisplayObject;
    currentObj = loader;

    ///I tried putting this above the other code, I tried combining it with the code that calls the child to the stage. I have no idea how to use this, so I tried everything I could think of. Nothing worked.
    ////then I tried this:

    portfoliobut.addEventListener(MouseEvent.CLICK, click);
    function click(e:MouseEvent):void{
    gotoAndPlay(1, "portfolioFashion/people");
    removeChildAt(numChildren-1);
    }

    ///and this:
    portfoliobut.addEventListener(MouseEvent.CLICK, click);
    function click(e:MouseEvent):void{
    gotoAndPlay(1, "portfolioFashion/people");
    }
    portfoliobut.addEventListener(MouseEvent.CLICK, buttonRelease1);
    function buttonRelease1(e:MouseEvent):void{
    removeChildAt(numChildren-1);
    }

    NOTHING WORKED> $25 if you can make this work for me.

    Best regards,

    Vernontnh
    Could you be clear about the 2nd scenario.
    my mail id is ssamsun@gmail.com

  5. #5
    Marketting guy !
    Join Date
    Oct 2008
    Posts
    21
    still this job available? Couldn't you get any solution from anyone?
    For Any Web Based Flash/Flex Project and PHP scripts, contact here
    Hitasoft Technologies
    Ripe FLV Player | Ripe HD FLV Player

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center