Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9018441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T04:31:40+00:00 2026-06-16T04:31:40+00:00

I have a FXG graphic asset in a Group container. It is invisible by

  • 0

I have a FXG graphic asset in a Group container. It is invisible by default. When I try to fade in it works and fades in and fades out great the first time but the second time and 90% of the time after that it will show up immediately (not fade in) and then fades in on top of itself (if that makes sense).

I’m using Tweener so it may be tweener related issue but I have two other components that I’m fading in with it that do fade in correctly.

I’m guessing Tweener is taking a snapshot of each object at the time the tween starts and the FXG close button is visible (but alpha not applied) and then it fades from that image to the final image.

MXML:

<s:Image id="image" 
         left="20" top="80" 
         width="620" height="300" 
         useHandCursor="true"
         buttonMode="true"
         backgroundColor="black"
         backgroundAlpha="1"
         click="handleClick(event)"/>

<fxg:RoundCloseButton id="closeImageButton" width="24" height="24" top="82" right="22" 
                      useHandCursor="true"
                      buttonMode="true"
                      click="handleClick(event)"/>

Code:

image.alpha = 0;
image.visible = true;

closeImageButton.alpha = 0;
closeImageButton.visible = true;

imageExistsLabel.alpha = 0;
imageExistsLabel.visible = true;

Tweener.addTween([image, imageExistsLabel, closeImageButton], {alpha:1.0, time:0.25, transition:"easeOutExpo", delay:0.5});
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T04:31:41+00:00Added an answer on June 16, 2026 at 4:31 am

    It seems to be related to the delay property. If I remove the delay it fades in correctly.

    Tweener.addTween([image, imageExistsLabel, closeImageButton], {alpha:1.0, time:0.25, transition:"easeOutExpo", delay:0});
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

have a problem. At first look at this HTML <div id=map style=background-image: url(map.png); width:
I have a swf which embeds around 40 various png and fxg objects using
Have been trying to figure this out for an hour - and still have
Have you ever seen someone try to implement the MVP pattern with ASP.NET Web
Have been pulling out my hair trying to find out why my sessions are
Have you any idea how to find out if spell check suggestions dialog is
Have a fun issue with sharepoint calendar view filtering. That code works fine: SPSecurity.RunWithElevatedPrivileges(delegate()
I have read the Adobe's docs Using FXG and Embedding application assets , but
I am working on a sample map application using Flex 4/fxg? Now I have
Have been trying to figure this problem out for a while now and was

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.