Help!
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Help!

  1. #1
    Junior Member
    Join Date
    Mar 2013
    Posts
    3

    Help!

    What is the code to fade a page or an object in and out using flash cs6

  2. #2
    Junior Member
    Join Date
    Mar 2013
    Posts
    3
    I am trying to go from day to night using a fade

  3. #3
    Dignitary rynoe's Avatar
    Join Date
    Jan 2003
    Location
    Earth
    Posts
    756
    PHP Code:
    myObject.alpha 1
    myObject
    .addEventListener(Event.ENTER_FRAMEfader);

    function 
    fader(e:Event):void{
       if(
    e.currentTarget.alpha>0){
           
    e.currentTarget.alpha -= .1
        
    }


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

Poll by Flashkit.com