I’m very pleased to announce that this website is now aggregated by the Adobe Macromedia XML News Aggregator. I encounter a lot of unique situations in my work and do imagine that many will be able to benefit from my writings. After gleaning so much from this community over the past few years, I hope to make a worthwhile contribution in the days ahead.
I recently stumbled upon a really nice trick while using the BitmapData object. The problem occurs when attempting to use the draw() method on a MovieClip instance source that had a mask applied via setMask(). Either nothing would be drawn, or the content would be drawn incorrectly. I’ve found that setting the cacheAsBitmap property to ‘true’ for both the source content and the mask itself will get around this issue.
1 2 3
leftContent.setMask(leftMask); leftContent.cacheAsBitmap = true; leftMask.cacheAsBitmap = true;
DUVAGAII is an application which heavily relies on a number of Flash modules written in ActionScript 2.0 for delivery of images, audio, and video content. We have also integrated the Flash Media Server to produce some really amazing video editing tools. The only people who have access to the system right now are faculty and students who are using it in the classroom for the organization, arrangement, editing, and presentation of digital objects. There will be a public side to DUVAGAII once we complete the core functionality and build up our collection of copyright free objects. A PDF of the newsletter can be found here.
I’ve been working with Flash since version 4 but only came across this trick a few weeks ago. Normally, when using the XML object in ActionScript to load data into your application, if the XML file has been cached, Flash will not reload updated XML data until the cache is cleared or expires. For many applications I’ve worked on, this has been a small issue as data can be updated many times during the day. To force Flash to always retrieve a new version of the XML, you must append a unique identifier to the URL in the load method. For instance, using getTimer(), you can say:
1 2 3 4
var myXML:XML; myXML = new XML(); myXML.ignoreWhite = true; myXML.load("http://somewebsite.com/data.xml?"+getTimer();
Welcome. This is the central contact point and information center for Joseph Labrecque, Multimedia Developer and ActionScript Programmer. My goal for this website is to author an information hub with points leading to related websites, projects, and interests of mine. There will always exist here an up-to-date resume and contact information.
While this website is powered by WordPress, I am trying very hard to manage things here as one would a traditional website. In that sense, I will not be posting articles on what I’ve had for breakfast, my current mood, day-to-day activities, or anything like that. What I will be posting about are occurrences in my professional life dealing with many of the projects I’m involved with, conferences I’m presenting at or attending, and anything I discover in my work that I believe others will either find interesting or helpful. I have gathered some very useful tricks from other weblogs and it’s about time I give back. I will also post upon any extraordinary news that I find appropriate for inclusion. This includes news on technology, software, relevant cultural trends, and matters of universal importance.