POLALA.COM
welcome to my space
X
Welcome to:polala.com
Search:  
 HOME   Using Mouse coordinates to control Swf alpha
Using Mouse coordinates to control Swf alpha
Published by: cfz 2010-03-16
  • I have a main page which call a couple of swfs into blank MCs. I'd like the swfs to fade when the mouse enters a certain area of the main swf.

    I have tried a simple conditional statement using the ymouse property to control the alpha of the MCs holding the swfs. They fade once and never reappear.
    Flash GUI Component | Thomas "Man of Ice" Lund | Resources ::
    21 posts - 12 authors - Last post: Mar 8, 2006Fixed bug with mouse coordinates when rescaling the gui Extended the loadMovie() method to take optional looping and alpha values to save some typing This is a GUI component that allows you to display SWF flash movies. The point of using flash for things like menus, text renderers or
    http://www.torquepowered.com/community/resource/view/7119/6
    HOME
    mx.controls.RadioButton (Flex 2)::
    The RadioButton control lets the user make a single choice within a set of mutually Indicates the alpha transparency value of the object specified. Returns the x position of the mouse, in the content coordinate system. . For a display object in a loaded SWF file, the root property is the top-most display
    http://www.adobe.us/livedocs/flex/2/langref/mx/controls/RadioButton.html
    HOME

    Do I need to instruct flash to check the mouse position after every frame and if so what language should I use to do that?

    Thanks for any help.


  • yes you need to create some sort of onEnterFrame function
    i_changes.txt 67KB Dec 29 2008 09 - IrfanView 4.25 Directory::
    New Thumbnail window option: Load thumbs from all subfolders - Alpha blending . CTRL+Tab can be used for internal control-switch in the Thumbnail window - CTRL+A . The selection can be resized using left mouse button - Zoom into .. (options->extract all frames) - Display mouse coordinates (single mouse
    http://iview32.irfanview-forum.de/?dir=&download=i_changes.txt
    HOME

    _root.onEnterFrame = function(){
    /*code to see where mouse is*/
    }

    That way every time the mouse moves it applies the latest co-ordinates


  • I'll give it a try.

    Thanks


    yes you need to create some sort of onEnterFrame function

    _root.onEnterFrame = function(){
    /*code to see where mouse is*/
    }

    That way every time the mouse moves it applies the latest co-ordinates





  • Where's The Advantage In Windows Genuine Advantage?
    Stocks Bounce After S&P Joins Bear Market
    #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Using Mouse coordinates to control Swf alpha , Please add it free.

    About us -Site map -Advertisement -Jion us -Contact usExchange linksSponsor us
    Copyright© 2008 polala.com All Rights Reserved
    Site made&Support support@polala.com    E-mail: web@polala.com