I created this drawing tool in MX2004. I didnt had the time to put the tutorial together. I will post the tutorial in a day or two.
If you like it then put your comments here ![]()
I created this drawing tool in MX2004. I didnt had the time to put the tutorial together. I will post the tutorial in a day or two.
If you like it then put your comments here ![]()
Ok here is one more, lets use XML and CSS to format some text in MX2004 text area component.
See the sample below and later go through the code to understand how this was done:
Step1:
Create a new FLA file. Drag a text area component on stage. Give it an instance name myText.
Go to the first frame and give the following action:
Step: 2
As you see in the code above we have to now create two files: your.xml and style.css.
So lets first see how the xml file looks:
Step: 3
Ok now the CSS style.css:
Thats all, Now you can publish your SWF files and see the results.
Bye for now ![]()
Here is a nice article by Peter Parente on Design patterns on Macromedia Flash MX 2004.
How to use the new OO programming model in Flash MX 2004.
A must read for those interested in OOP in Flash.
Subhashish has displayed some of his photographs here.
I really like some of the pictures he has taken.
JP and I work in the same office. He is a Actionscript Guru
I know he is going to laugh when he reads this.
He started his new blog today Flash-JP , he is an active blogger and his blog should be filled with lots of information soon.
Came across this site with excellent OBEY GIANT MERCHANDISE.
I love the illustration style and the colours used by him.
Also checkout the SOLDOUT section, no wonder why they got sold out on these items ![]()
These are some icons i have designed, enjoy...!!!
Did you try to right click the SWF file below?
In MX2004 you can disable the default right click menu by writing these three lines of code:
You can also create your own custom right click menus.
Some other day...
I am too tired to post any more today.
This feature in MX2004 allows you to find out the Flash Player version for which the loaded MovieClip was published.
Lets say you have a MX2004 Flash movie and inside it you have a MovieClip called 'my_mc'
You load an external SWF which was published as some lower version of Flash player inside this my_mc.
Writing this code will get you the version of the loaded MC which was loaded in my_mc:
You can also put a Dynamic text field in your movie to display this value.
Draw a Dynamic Text field on stage and give instanceName: flashVersion
Write this code in your main timeline:
I was faced with a problem to prepopulate the Date Field component in Flash MX2004. What I wanted was the Date Field component to show a pre-defined date (in the format mm/dd/yyyy) when the movie loades.
Here is what I did:
Step: 1
Drag a Date Field component from the components panel on to the Stage and give it a instanceName: comp
Step: 2
Select the first frame in the timeline and give following action:
This will set the initial date to 01/26/2004, this code will display the date as "26 Jan 2004" which is the default date format.
You can also add one more line of code to change the width and height of the Date Field component:
Making it smaller then 200 by 200 will create some problem unless you change the font size of the dates and months. We will discuss that in later session.
enjoy!