Chaotic Horde

Flash Applications and Games Development

Today,  

please explain me, why the "code1" creates a smoother transition of alpha and "code2" doesn`t.

code1
Code:

onClipEvent (load) {
brems = 4;
soa = 40;
}
onClipEvent (enterFrame) {
y = soa-_alpha;
setProperty(this, _alpha, _alpha+y/brems);
}


code2

Code:

onClipEvent (load) {
ion = 100;
maria = 1;
}
onClipEvent (enterFrame) {
setProperty(this, _alpha, ion/maria);
}


Both codes are putted on 2 separately mc`s, that contains each ones button
The first button changes the soa`s value from code1
The second button changes the value of maria from code2.

Thank you


(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

Today,  Wow, I’ve just attended Ely Greenfield’s session about next version of Flex Builder. It was pretty impressive, mainly skinning part. Forget skinning like you know today and prepare for your really skinnable UI components. YayFlash, Flex, FlexTips
(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

Admin wrote: 

Can someone help me with a function that I can re-use and pass movie clips to and cause mc’s to fade in and out?…such as

Code:

function fadeMeIn(fadewhat,fadespeed) {

if (fadewhat < 100) {
fadewhat._alpha += fadespeed;

};

and call it something like this?

_root.fadeMeIn(_root.mypages, 5)


Obviously not the correct code, but you get what Im trying to do. Instead of useing motion tweens with alpha, Id rather just do it with actionscript whenever I need to fade something in or out. Any ideas?

Thanks!
Rich


(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

Today,  Google has added IMAP support to its free webmail service Gmail. Users can now access email from client applications using the Internet Message Access Protocol, and at the same time automatically update the message status within Gmail itself. This is something that many people who access Gmail messages via the supported POP service have been long asking for as it enables the problems of read messages remaining marked as unread within Gmail to be solved. IMAP also enables forwarded messages and replies sent using the external client to be reflected in the Gmail web interface.A full list of…
(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

Admin wrote: 

Would it be a wise idea to delete tween objects once they have played?

Say I have one function that moves an MC across the stage to the right and another which moves the same MC back to the left. Should I remove each tween after it has reached the target?

ActionScript Code:
function moveRight():Void{
var tweener:Tween = new Tween(MC, “_x”, Strong.easeOut, 0, 500, 2, true);
tweener.onMotionFinished = function():Void{
delete tweener;
}
}


(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

Admin wrote: According to figures relating to the audited financial statements and tax form for 2006, posted at Mozillazine by Mozilla CEO Mitchell Baker, the project is doing pretty well with revenue up and outpacing rising expenses. “Mozilla remains financially healthy: we’re able to hire more people, build more products, help other projects, and bring more possibilities for participation in the Internet to millions of people. The Mozilla project is growing in almost every way - size, scale, types of activities, new communities, and in reach” Baker says.Revenues for 2006 were $66,840,850, which…
(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

Admin wrote: 

Hello

Im doing an age verifaction form.

Im a bit stuck . I was hoping there would be a way to get current Timestamp/Timevalue, like in PHP.

How to check if a person is older then 18 years?
Input date of birth: day, month, year.
Compares with currentday and if it was more then 18 years ago…

Please?:m:

Thank!


(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

Today,  

If you’re migrating from AS2 to AS3, or you’re just getting started with Flash development, you may be interested in an article I wrote for the Yahoo! Flash Developer Center entitled Developing with the Display List in ActionScript 3. It focuses on the basics of display list manipulation, important changes you may encounter if you’re migrating from ActionScript 2, and best practices for communicating between MovieClips and other DisplayObjects.

As many new developers moving to ActionScript 3 discover, the new language is stricter and many of the shortcuts one may have taken in the past with AS2 will have certain roadblocks that must be crossed in AS3. The article tries to outline the best ways to understand the changes, work around them as needed, and most importantly, how to develop applications and websites in AS3 so that you don’t need to use these workarounds. I included several source code examples, including the progression of a simple application as I try to update it with best practices.

If you’re looking to write more flexible and maintainable AS3 code, or you’d like to help a fellow developer who is struggling with the changes from AS2 to AS3, I hope the article will be helpful.


(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

Admin wrote: 

so how is this done? I mean how do you think he has it so that every clip thats loaded is the same distance apart from the next clip, no matter what happens…

www.whoneedswords.com


(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

Admin wrote: According Lee Brimelow it seems that Astro (Flash Player 10) will have HW support for 3D. If he is right, it will be awesome. I can’t imagine new flash creations.Go Adobe goooo…Update: So there is new video on Lee Brimelow Flash Blog with Justin Everett-Church, which confirms that it is just SW support with API […]
(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development | No Comments »

« Previous Entries Next Entries »