Archive for the 'AS3' Category

Life In Texas & The Flash IMS

Posted by mike@sd-dezign on Mar 23 2008 | AS3, Flash, General, PHP

All very good!  Tiring…but definitely good.  I’ve updated the site again and gone back to a simple blog system again.  I found I simply don’t have enough time for much more than a blurb here and a blurb there.

When I’m not busy at work, I’m busy at home building an IMS (Image Management System).  The principles behind it are very similar to those of a CMS but I’ve added an interesting little twist…

I’ve always been in pursuit of a truly dynamic way to handle image content in Flash.  Traditional methods require that you push content into Flash from text files or XML files.  For the traditional developers and site managers out there, this isn’t much of an issue. 

Let’s say however that a client wants/needs to be able to edit image content inside their Flash site and your client isn’t HTML saavy or have staff on site who can manage the content for them once the site is complete.  What then?  I have recently run into this problem.

The past 5 years, I worked for a small photography studio in a Chicago suburb.  Late last year, I moved to Texas.  Prior to the move, a website change only required a call down to my office (in the crypt…j/k) and I would be able to update the site in minutes.  Now that I am in Texas, when a site change is required, it often entails conference calls, e-mail correspondence and attachments and because I work 100 miles away from home and my labtop, it is almost always hours before I can make any physical change for them.

My solution was to create an OO CMS/IMS coded completely in PHP5 that would run from a MySQL database and give them the ability to change the content inside their site (completely Flash based) without needing to call me for the “simple” stuff.  What I’ve was able to achieve was a uniquely simple admin panel that gives them the ability to edit not only their text based content but also their image content on the fly in the easiest way possible.

Now, instead of Flash having to make a ridiculous number of URLRequests for each image, remembering the entire site structure etc, I’m able to use a single URLRequest inside a custom AS3 Class to bring an array of mySQL stored and PHP generated data back into Flash.  The result was a cleaner, simpler method for handling and controlling what data Flash would recieve and when.

As a result, I’ve also been able to make subtle, appealing visual changes that simply weren’t possible before because of all the content that needed to be stored to render out each menu, gallery or text blurb that were already hammering the system to its peaks.  For instance, the senior menu which contains 7 different galleries, 150+ images (plus their thumbnails) and over 30 plus text blurbs, couldn’t afford much in the way of visual stimuli prior to removing all of these calls and classes from Flash that are responsible for displaying thumbnails, cycling timers, etc.

I’m putting the finishing touches on the system now and plan to bring it online by mid-April when I update the Fedler Studio site.  Once the site goes live, I’ll be back to posting on my blog on a regular basis and hopefully providing insight into what I did as well as the lessons I learned.

Later!

no comments for now

Tutorial Files & Other Updates

Posted by mike@sd-dezign on Nov 12 2007 | AS2, AS3, Flash, General

As many people know, I’ve been working hard on the sd-dezign website.  I’ve been adding content throughout the last week or so and more content is coming.

 I’ve been getting a mass flux of e-mails the past two weeks concerning the old tutorial files which I hosted from my dev blog.  These files are being updated and worked through to make them much more user friendly but like anything, it is taking me time.  I still have the old zip files, and I’m willing to e-mail them to anyone in need.  All you need to do is e-mail me directly and ask for them.  When you are e-mailing, please provide the name of the files you need and whether you need the AS3 or AS2 version (as contact form tutorial).  This will make it much easier to get you the files you need.

As always,
Enjoy!

no comments for now

Vana’diel Clock Up

Posted by mike@sd-dezign on Oct 10 2007 | AIR, AS3, Final Fantasy XI, Flash, Vana'diel Clock, Video Games, X360

I uploaded the AIR installer for the Vana’diel clock.  It is still very early in development and many more features are coming.  I’ve added a page for the clock (accessible from the top of this page) and I’m actively working on the project.  Expect frequent updates daily until it is finished.

no comments for now

Vana’diel Clock AIR Application

Posted by mike@sd-dezign on Oct 08 2007 | AIR, AS3, Final Fantasy XI, Flash, Vana'diel Clock, Video Games, X360

I managed to get the base AIR Application working as well.  This is going to be a great tool for anyone using the Windower to play Final Fantasy XI on their PC. 

I’m surprised at how easy this application is coming along.  Never fear though.  I’m bound to hit a road block eventually.

Screenshot of the AIR Application Running On My Desktop

Vana'diel Clock AIR Application

no comments for now

Vana’diel Clock Working

Posted by mike@sd-dezign on Oct 07 2007 | AS3, Flash, Video Games, X360

I’ve got the base clock working.  A lot more to go yet.

 [kml_flashembed movie=”http://www.sd-dezign.com/files/vanaclock/vanaclock.swf” height=”100″ width=”250″ /]

no comments for now

Vana’diel Clock

Posted by mike@sd-dezign on Oct 07 2007 | AS3, Flash, General, Video Games, X360

I found a new project for myself to commit to.  I’m building a Vana’diel Clock in Flash CS3.  Vana’diel is the fictional universe of Final Fantasy XI.  I used to play this game religiously for quite a few years. 

I recently read a post of someone trying to build one in Flash and figured it would be a bit of a challenge since Vana’diel time is 25 times faster than our clock.  I’ve started working on this and am hoping to have a working demo of at least the base clock by the end of the day.

After I have the base clock written, I will add a new page to this page for the project.  More to come…

no comments for now

Controlling Draggable Clips In AS3

Posted by mike@sd-dezign on Sep 22 2007 | AS3, Flash, Flex

Controlling a draggable clip in AS3 is a pretty simple task.  Back in Actionscript 2, you would have to define the each corner of the draggable area inside the startDrag method.  In AS3, this process was simplified.  Now we define a Rectangle object which defines the top x and y coordinates as well as the width and height of the draggable area. 

Continue Reading »

13 comments for now

Contact Forms Using AS2/AS3 With PHP

Posted by mike@sd-dezign on Sep 20 2007 | AS2, AS3, Flash, PHP

UPDATE : The files for this have been moved to my main site now.  You can find them here

Per request on the Adobe Actionscript Forums, this is the base code I have used for a contact form for some time now.  There are a few things that need to be changed such as $toaddress in the PHP file (should be set to your e-mail address) and the mail.php call in both version of the Flash FLA need to be updated with the full path to the mail.php file after it has been uploaded to your server.  Click Read More for the code.

Continue Reading »

13 comments for now

Chatopica Widget

Posted by mike@sd-dezign on Sep 17 2007 | AS3, Flash, Flex, General

I strongly recommend this to anyone using Flex.  The basic idea is to interconnect as many developers and designers by including the widget on every web page related to Flex programming.  If you are developer or designer that uses Flash/Flex/Actionscript3, please help the community and include the widget on your site thus building a stronger, bigger network of developers.

no comments for now

Using FileReference To Download PDFs (AS3)

Posted by mike@sd-dezign on Sep 14 2007 | AS3, Flash

I recently added functionality to a project that allows downloading of PDF files.  I very much dislike using navigateToURL unless it is absolutely necessary and this prevented me from having to do so.  The example uses the FileReference class introduced in Flash 8.  The code below is for AS3 but could be modified pretty easily to make it valid AS2.

Continue Reading »

no comments for now

Next »