A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: getBounds

  1. #1
    Junior Member
    Join Date
    Dec 2001
    Posts
    1

    getBounds

    If you would happen to know anything about the getBounds command, I would greatly appreciate your knowledge. I am trying to confine a movie clip to a restricted section of the main scene and when I move my mouse out from over that movie clip I want the movie to stop playing. A perfect example of what I am trying to figure out would be the navigation menu at http://www.celsiusdesign.com

    Thanks
    [Edited by blindgren on 12-21-2001 at 02:39 AM]

  2. #2
    Senior Member Leo Lima's Avatar
    Join Date
    Jul 2000
    Location
    São Paulo, Brazil
    Posts
    745
    Well, from what I saw from the site you mentioned (the white page with navigation) it didn't need getBounds. I guess the just used
    Code:
    onClipEvent (enterFrame) {
      if (_root._xmouse < aCertainValue)
        this._y = _root._ymouse;
    }
    Or is there anything else then the up/down mvmt of the dark bars?

    Regards,
    Leo

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