Archive for the ‘AIR’ Category
SeesmicAIR updated to AIR 1.0
Just a quick not to inform you that SeesmicAIR has been updated to the latest version of AIR 1.0.
You can download the update from the SeesmicAIR project page.
Follow @SeesmicAIR on Twitter for updates.
Posted under AIR, SeesmicChanging button icons at runtime using Actionscript
I had to do quite a bit of searching around this morning to figure out how to change the icons on my video player at runtime.
I thought I could easily modify the [button].icon property, but I could not access that at runtime. You can, however, do the following:
// embed your icons [Embed(source='com/images/play.png')] [Bindable] public var imagePlay:Class; [Embed(source='com/images/pause.png')] [Bindable] public var imagePause:Class; // using one button to toggle play and pause of video private function playpause():void { if (seesmicVideo.playing) { seesmicVideo.pause(); btn_play.setStyle("icon",imagePlay); } else { seesmicVideo.play(); btn_play.setStyle("icon",imagePause); } }
Using [button].setStyle() will allow you to change the icon at runtime.
Posted under AIR, ActionScript, Flex, SamplesI need AIR / Actionscript assistance
I have a TileList in my AIR application. Previously, I was including the itemRender directly in the tag like:
<mx:TileList itemRenderer="Timeline" > <mx:itemRenderer> <mx:Component> <mx:HBox verticalGap="0" backgroundColor="{outerDocument.checkUser(data.publisher.value)}"> <mx:Image click="outerDocument.PlaySeesmicVideo(data.flv.value,data.videoUri.value)" /> <mx:VBox width="100%" height="100%" verticalGap="0" verticalScrollPolicy="off"> <mx:Label buttonMode="true" width="100%" textAlign="left" /> <mx:Label text="({data.language.value})" fontSize="9" /> <mx:Text fontSize="10" text="{outerDocument.StripRE(data.title.value)}" /> </mx:VBox> </mx:HBox> </mx:Component> </mx:itemRenderer> </mx:TileList>
I need to move the itemRenderer into it’s own component, but as soon as I do that I get errors on my functions that are fired from within the component. "outerDocument" no longer works.
So, my question, is, how do I reference a function in "main.mxml" from "timeline.mxml" ?
Posted under AIR, ActionScriptFlex and AIR Pre-release Tour with Adobe’s Ben Forta
January 23
6:00pm start time
Railinc,
7001 Weston Parkway
Cary NC 27513
User Group Site: http://www.triangleuserexperience.org
Flex and AIR Pre-release Tour with Adobe’s Ben Forta
Flex 3 and AIR are getting close to launch and in preparation, Ben Forta from the Adobe Flex/AIR product team is traveling to select cities to show off the great new features and help prepare us for this exciting launch.
Flex 3 is a feature-packed release, adding new UI components like the advanced datagrid and improved CSS capabilities; powerful tooling additions like refactoring; and extensive testing tools including memory and performance profiling, plus the addition of the automated testing framework to Flex Builder.
Adobe AIR is game-changing in so many ways, extending rich applications to the desktop, enabling access to the local file system, system tray, notifications and much more. Now you can write desktop applications using the same skills that you’ve been already using to create great web apps including both Flex and AJAX.
Don’t miss out on the opportunity to see and hear about this highly anticipated release of Flex 3 and AIR during this special pre-release tour. Plus, in addition to giving away some one of a kind Flex/AIR branded schwag, we will also be raffling off a copy of Flex Builder 3 Professional (pending availability) and a full commercial copy of CS3 Web Premium at this event!
Posted under AIR, Flex, Presentations, User GroupMeeting Reminder: January 23rd 6-9 / Cary, NC / Ben Forta
Just one of numerous reminders you will receive about Ben Forta’s presentation on Adobe’s Flex 3 and Adobe Integrated Runtime (AIR).
Adobe will be providing some eats and a copy of Flex 3 (upon release) and CS3 Web Premium Suite to be raffled off during the event.
The meeting location is being provided by:
Railinc Corporate Headquarters
7001 Weston Parkway, Suite 200
Cary, NC 27513
Phone: 919.651.5000
Fax: 919.651.5402
We would really appreciate it if you could RSVP for the event so that we have a rough idea of how many will be attending.
RSVP Link: http://tinyurl.com/389zrs
See you there!
Posted under AIR, Flex, Presentations, User Group
