Posts RSS Comments RSS 78 Posts and 129 Comments till now

HTML and CSS in Flash

The slides for my talk on HTML and CSS in Flash have now been uploaded to my website http://nichmekof.com/a-sfug/cssinflash/

I updated the slides slightly because I missed out talking about the ability to use CSS classes.

I have also done up an example file which you can download on how to use html and css in flash

Ed

Link: Some Interesting Sound Visualizer

This is quite interesting. http://www.foulowl.com/App/index.html

Sound & Sound Spectrum Presentation slides

I think the most important information is the links.

I’ve also uploaded the flash source files I demonstrated during the presentation. Put a mp3 file inside the folder and name it as “jingle.mp3″  to make it work properly. (I can’t upload mine because of copy right issues).

Presentation Slides | Flash Source File

Loading in AS3

Hello all,

I have uploaded the sample files I have shown in the 3rd A-SFUG meeting. I hope you people find it useful and enjoy the session!

asfug-as3loading

Cheerio!

Dan Murong

April Meeting: Sound, Loading and CSS

The next meeting for A-SFUG is coming up on Saturday April 25th, 11am at the Ogilvy Centre.

This round Shang will be talking about the use of sound in Flash, including using the equalizer. After that, Danny will give an overview of loading in Flash with as3. Ed will end the session with a talk about the use of CSS in Flash, and a tip & trick. Following that will be a free discussion and some Q&A.

Schedule:

11:00-11:15: Welcome message
11:15-11:45: Sound in Flash by Shang
11:45-12:15: Loading in Flash by Danny
12:15-12:45: CSS in Flash by Ed
12-45-1:00: Free Discussion and Q&A

Venue:

35 Robinson Road, #03-01 the Ogilvy Centre

Please come along and share your thoughts, ideas, and questions.

Please RSVP via Facebook

Hope to see you all there,
Ed

Think! Studio is looking for Flash Game Developers

think_studio

Think! Studio Pte Ltd is looking for Flash Game Developers to complement our team.

  • Familiar and comfortable with AS2, AS3
  • Keen to learn
  • Passion for games a bonus

More details can be found here - http://sg.jobstreet.com/jobs/2009/3/default/20/2067682.htm?fr=J

Please send applications to arsyad{@}thinkstudio.com.sg with examples of work, date of availability and resume.

Temasek Design School is Looking for Lecturers

LECTURER - DIPLOMA IN INTERACTIVE MEDIA DESIGN
Job Code: Lecturer/DES
A recognized degree in design, interactive media, graphics or interaction design with at least 3 years of industry and/or teach…

Specifically looking for people in:
Application Design & Development Specialisation
Knowledge in the following areas: Interaction design; Interactive Authoring / Scripting; Flash Action Scripting and Development; Interactive Media Development (Web / Mobile / Interactive TV) and Processing Language. Those who have experience in setting up experimental interaction design installations are preferred.

Apply via https://tp-eservices.tp.edu.sg/erspub/

Instance names and code hinting - Tips & Tricks

 

code_hintingWhen coding in actionscript sometimes it can be a pain that you don’t get code hinting with objects that are on stage. A good way of overcoming this is to change the instance names of your objects (Movie Clips, Buttons, etc.) to have an underscore “_” then the abbreviated name of that object at the end of the name.

For example, you may have a movie clip on stage called myMovieClip. Change the instance name to have an _mc at the end (myMovieClip_mc), and now in your actions panel type myMovieClip_mc and press period. You will now see all the code hinting for a movie clip pop up (see image). This can save a whole heap of time when coding.

Here is a list of the different shortcuts that you can use to bring up the code hinting. Some of these are for AS2 but the rest will work with AS3.

Object type Variable suffix
Array _array
Button _btn
Camera _cam
Color _color
ContextMenu _cm
ContextMenuItem _cmi
Date _date
Error _err
LoadVars _lv
LocalConnection _lc
Microphone _mic
MovieClip _mc
MovieClipLoader _mcl
PrintJob _pj
NetConnection _nc
NetStream _ns
SharedObject _so
Sound _sound
String _str
TextField _txt
TextFormat _fmt
Video _video
XML _xml
XMLNode _xmlnode
XMLSocket _xmlsocket

Update: The best method for code hinting for objects that are not on the stage is to use strict data typing. 

For example:
var myArray:Array = new Array();

I find that using this technique saves me a whole heap of time when programming.

February Meeting Summary

n671280598_6020638_2443

Many thanks for those who came down! For those didn’t manage to come, you really missed a lot! The meeting was really really great! David’s presentation was excellent! With the knowledge he shared with us,  we can definitely kick start with Augmented Reality in a much shorter time. Thank you David, again!

The presentation slides shortly. Here’s some more photos.

UPDATE: You can find David’s presentation here: http://www.makestudios.net/preso/ar/

Make a button from a MovieClip - Tips & Tricks

Movie Clip ButtonIn our first User Group meeting I showed a tip about creating the up, over and down states of a button using a movie clip. I thought that it was time that I should put it up here as a reference for everyone.

An easy way of creating a button from a MovieClip is to give the names of the frames with the different states of the button “_up“, “_over” and “_down“.

Add a stop(); frame on frame 1 of the movie clip. Then out on the main timeline, open the actions panel and write: myButton_btn.buttonMode = true;

Just change myButton_btn to the instance name of your movieclip.

Now test the movie and roll over the button and It will now go to the over state. Press down on it and it will go to the down state.

So you do not need to write the code for on roll over, on mouse down and on roll out. Flash will automatically detect what you are wanting to do and do it for you.

Now you may be asking “Why should I do it this way? Why can’t I just make it as a regular button?” Well you can still do it that way if you like, however the benefit of doing it this way is that a movie clip is more light weight then a button. This means that flash can run a bit faster.

Update: Here are the files for this example buttonmovieclip.zip

Cheers,
Ed

« Previous PageNext Page »