- In the extension bar, click the AdBlock Plus icon
- Click the large blue toggle for this website
- Click refresh
- In the extension bar, click the AdBlock icon
- Under "Pause on this site" click "Always"
- In the extension bar, click on the Adguard icon
- Click on the large green toggle for this website
- In the extension bar, click on the Ad Remover icon
- Click "Disable on This Website"
- In the extension bar, click on the orange lion icon
- Click the toggle on the top right, shifting from "Up" to "Down"
- In the extension bar, click on the Ghostery icon
- Click the "Anti-Tracking" shield so it says "Off"
- Click the "Ad-Blocking" stop sign so it says "Off"
- Refresh the page
- In the extension bar, click on the uBlock Origin icon
- Click on the big, blue power button
- Refresh the page
- In the extension bar, click on the uBlock icon
- Click on the big, blue power button
- Refresh the page
- In the extension bar, click on the UltraBlock icon
- Check the "Disable UltraBlock" checkbox
- Please disable your Ad Blocker
- Disable any DNS blocking tools such as AdGuardDNS or NextDNS
- Disable any privacy or tracking protection extensions such as Firefox Enhanced Tracking Protection or DuckDuckGo Privacy.
If the prompt is still appearing, please disable any tools or services you are using that block internet ads (e.g. DNS Servers, tracking protection or privacy extensions).
Question
dL
I really don't get something.
How come when I define a variable that's movie clip type but it's actually just an image of something, i.e.
var a:aMC;
a = new aMC();
addChild(a);
And when I initially set its value to its x, y, alpha position, i.e.
a.x = 1;
a.y = 1;
a.alpha = 0;
Alright, then I did an alpha tween from 0 to 1 to it (aTween is defined already),
aTween = new Tween(a, "alpha", Regular.easeOut, a.alpha, 1, 5, true);
Later on when I make a MouseEvent where if you click on this object, the function is called and inside the function, this alpha tween runs:
aTween = new Tween(a, "alpha", Regular.easeOut, a.alpha, 0, 5, true);
OK, so the tween works fine, but then it doesn't stay 0 after it's done. It's like the flash has restarted or something and the alpha goes back to 1.
What am I missing here? Hope this makes sense.
dL
Link to comment
https://www.neowin.net/forum/topic/732706-actionscript-3-help/Share on other sites
5 answers to this question
Recommended Posts