Updating Flash Professional CS6 to support 11.5

One of the improvements to Flash Professional CS6 is the ability to manage AIR SDKs. But unfortunately you still have to manually add support for the latest version of Flash Player. Since a public beta of Flash Player 11.5 was just release, this short article might be useful.

Download Flash Player 11.5 for Desktops from adobe labs

You can get the Flash Player 11.5 Beta from http://labs.adobe.com/downloads/flashplayer11-5.html. Download the version for your operating system and install the plug in. Although you will be able to target the new player, you will not be able to test your movie by using the Run Movie command.

Download PlayerGlobal.swc

This is file can also be found on http://labs.adobe.com/downloads/flashplayer11-5.html. Once this file has downloaded, rename the file to simply playerglobal.swc. Navigate to “/Applications/Adobe Flash CS5.5/Common/Configuration/ActionScript 3.0/” and create a new folder named “FP11.5”. Place the playerglobal.swc in this folder.



Updating Player Profiles

Player profiles are xml files that define the attributes of each Flash Player’s capabilities. They are located in “/Applications/Adobe Flash CS5.5/Common/Configuration/Players/”.

Duplicate the last FlashPlayer11_X.xml file you have, and rename it to FlashPlayer11_5.xml. Open this file in you favorite text editor and make the following three changes:

becomes

Flash Player 11.4
becomes
Flash Player 11.5

becomes

Save this file, and launch Flash Professional. You should see FlashPlayer 11.5 as an option in the Publish Setting dialog.

Publish Setting Dialog

Now go build some awesome content with the new features in FlashPlayer 11.4

Note: You test your project in Flash use command + F12 in order to publish to browser (Where you should have the Flash Player 11.4 Beta plugin installed by now).

CF Schedule Issues

I am trying to set up a ColdFusion schedule task on Linux, been having problems. Now I am trying to write the log, to see if the task was ran or not. If anybody can help, as my code does not write the output file 🙁

<!—scheduler.cfm—>

<cfset getDate = DateFormat(Now())>
<cfset getTime = TimeFormat(Now())>

<cfschedule action="update" 
			url="http://localhost/schedule/date.cfm" 
			task="CF Schedule Test" 
            operation="HTTPRequest" 
            interval="Daily" 
            startDate="#getDate#"
			startTime = "#getTime#"
			file="scheduletasklog">

<cflog log="scheduletasklog" text="It Ran!" file="/Applications/WebServer/Documents/schedule/output.cfm" >

<!— date.cfm—>


  <cfset tipdate = #CreateODBCDate(now())#>

<cfquery name="GetMembers">
  SELECT *
  FROM email_alerts
</cfquery>


<cfloop query="GetMembers">
  <cfmail To="#GetMembers.email_address#"
    From="johnbarr@hawaii.edu"
    Subject="CF Schedule Test"
    type="HTML">
		
	 <html>
		 <head>
		 </head>
		 <body>
		
	   	 	<cfoutput>
				Hello #GetMembers.name#<p>
				Today's date is <em>#DateFormat(tipdate, "mmmm d, yyyy")#</em><br />
	  		</cfoutput>
	
		 </body>
     </html>
  </cfmail>
</cfloop>

Hep C Hawaii

After finding out that I contracted Hepatitis C in 2009 I wanted to help others in Hawaii and elsewhere and I am trying to develop a network of resources for hepatitis C and to increase awareness about the Silent Epidemic in Hawaii to help to stop their spread and promote early testing, vaccination and treatment.

Most people, who are infected with Hep C, may wait to be tested until they feel ill without earlier intervention education. They often will not feel ill until it may be too late to be treated. Most people have Hep C and don’t even know it. Please get tested!

There should be gatherings so people can learn & gain knowledge to care, nurture and help others are trying to educate people about their need to be tested, vaccinated and possibly be treated before spread these diseases to other and before it is too late for them to be treated.

I am thinking about having on-line meetings to educated the public about Hep C, and to advocate early testing.

Jelly Bean Update for Samsung S III

It looks like Android Jelly Bean will finally be hitting one of the most prolific phones in the United States. Samsung has finally acknowledged that a Jelly Bean update is on its way to U.S. Galaxy S3s.

A Samsung update page lists the Jelly Bean update as “Coming Soon!” for AT&T, Sprint, Verizon, T-Mobile, and U.S. Cellular. These are the five carriers that offer the Samsung Galaxy S3 in the United States.

Leaked ROMS of the Jelly Bean update have been available for a while, but for those who wouldn’t like to void their phone, this is good news.

Official Android 4.1 Jelly Bean updates have started rolling out internationally around a  week ago. The first (and only country so far) to receive it has been Poland. More will follow, and it’s a good bet that Galaxy S3 owners worldwide will all have the Jelly Bean update by the end of the year.

For a real-time updated list check out YouMobile.

Android 4.1 Jelly Bean is not a complete overhaul to Android 4.0 Ice Cream Sandwich, but it offers some noticeable improvements. Jelly Bean will introduce a smoother interface without the stutters that often plague Ice Cream Sandwich, and a Siri-like voice assistant dubbed Google Now.

Samsung is also planning on updating its other popular phones such as the Galaxy S2 and the Galaxy Note. Samsung recently listed 16 devices, including a few tablets that will receive an Android 4.1 Jelly Bean update. Samsung’s Galaxy Note 2 will ship with Android 4.1 Jelly Bean right out of the box.

Flash keyboard Shortcuts

Want to cut your Flash development time in half?

If you answered yes, then you’ve come to the wrong place. On the other hand, if you’d like to moderately improve your efficiency and save yourself a little time, then it would be well worth your time to learn a few keyboard shortcuts that will save you many a mouse click. Below is a list of some of the keyboard shortcuts that I use most often. It may be helpful to print these out and thumbtack them to your wall.

Note: The following keyboard shortcuts are written for Mac users with PC shortcuts in parentheses.

  • The Help Menu – F1 – Who doesn’t need a little help from time to time? In addition to using this keyboard shortcut, getting acquainted with the Help documentation in Flash can greatly increase your productivity. Instead of thumbing through the indexes of all your Flash and Actionscript books, try searching the Help documentation first. You may be surprised at how much time this could save.
  • The Actions Panel – Opt+F9 (just F9 for PC) – This shortcut will serve to open and close your actions panel. Just click on the frame where you want to add your actions and hit Opt + F9 to open it up.
  • The Toolbar – Each tool on the toolbar (the tall, narrow panel on the left side of the screen with all the drawing tools on it) has a keyboard shortcut of its own. To see what these shortcuts are, simply hover over each of the tools until a tooltip pops up. The tooltip will show the name of the tool, followed by the keyboard shortcut in parenthesis. Even though it may slow things down at first, try to get used to using these shortcuts any time you switch between tools. Before you know it, these shortcuts will become secondhand. One toolbar shortcut you may find yourself using quite a bit is the “V” key, which turns on the Selection Tool.
  • Copy, Cut, and Paste – I almost decided not to include this one, considering these shortcuts are pretty much the same no matter what program you’re using; however, since they’re used so often, I thought I’d go ahead and include.
    • Copy – Cmd+C (Ctrl+C on PC) – Copies a selected object to the clipboard
    • Cut – Cmd+X (Ctrl+X) – Removes an object from the stage and copies it to the clipboard
    • Paste – Cmd+V (Ctrl+V) – Pastes an object from the clipboard onto the center of the viewing area
  • Paste in Place – Cmd+Shift+V (Ctrl+Shift+V) – The “paste in place” command pastes an object on the stage in the exact same location it was in when it was copied or cut. This can save you a lot of time since you don’t have to worry about positioning the object after pasting it.
  • Copy, Cut, and Paste Frames – Copying and pasting frames in the timeline requires a different set of commands than simply copying and pasting objects on the stage. The keyboard shortcuts for these commands are easy to remember. Simply add the Option key (Alt key for PC) to the normal copy, cut, and paste commands.
    • Copy Frames – Cmd+Opt+C (Ctrl+Alt+C)
    • Cut Frames – Cmd+Opt+X (Ctrl+Alt+X)
    • Paste Frames – Cmd+Opt+V (Ctrl+Alt+V)
  • Insert Frame – F5 – Simply click on a frame and hit F5 to insert more. To insert frames for all layers at once, click on the red, rectangular playhead for the desired frame at the top of the timeline and hit F5.
  • Delete Frame – Shift+F5
  • Insert Keyframe – F6 – This inserts a new keyframe that contains a copy of all the contents of the previous keyframe (if one exists).
  • Clear Keyframe – Shift+F6 – This doesn’t remove any frames from the timeline. It simply clears out the selected keyframe, replacing it with normal frames that serve as an extension of the previous keyframe.
  • Insert Blank Keyframe – F7 – If you need a new keyframe but don’t want any content in that keyframe, use the “insert blank keyframe” command.
  • Step to Next Frame – . – By hitting the period key while working on the stage, the playhead will advance to the next frame.
  • Step to Previous Frame – , – The comma key will move the playhead backwards one frame.
  • Test Movie – Cmd+Return (Ctrl+Enter) – This opens a new window with a preview of your compiled Flash file.
  • Group – Cmd+G (Ctrl+G) – This command groups objects together so that other objects on the stage cannot interfere with them.
  • Ungroup – Cmd+Shift+G (Ctrl+Shift+G) – Ungroups grouped objects. Simple enough.
  • Break Apart – Cmd+B (Ctrl+B) – Breaks an object, symbol, or text field down into a raw shape. If you’re dealing with a text field, then the first time you use the “break apart” command, Flash will simply break your text field into multiple text fields . . . one text field for each letter. If you want to break the individual letters down into raw, editable shapes, simply use the “break apart” command a second time. Just make sure you have everything spelled right before you do this. Once you break it down, you can no longer edit the text.
  • Distribute to Layers – Cmd+Shift+D (Ctrl+Shift+D) – If you select multiple objects on the stage and use the “distribute to layers” command, then each item selected will be removed from the current layer and placed in a properly-labeled new layer. If you select only a single object, this command will simply move this object to its own layer.
  • Select All – Cmd+A (Ctrl+A) – If you hit this shortcut and nothing happens, it might help to choose the selection tool (keyboard shortcut “V”), click on an empty area of the stage, and then try the command again. (Also, make sure all the layers that you want to select from are unlocked)
  • Deselect All – Esc – This shortcut deselects everything on the stage. If you’re typing using the Text tool and you hit “Esc” while still in type editing mode, Flash will exit type editing mode, but the text field will still be selected. Hitting “Esc” a second time will then deselect it.
  • Temporary Access to Tools on the Toolbar – The Selection Tool, Zoom Tool, and Hand Tool all have time-saving shortcuts that allow you temporary access to the tool. To gain temporary access to these tools, simply hold down the key(s) listed in the shortcut, perform whatever action you want to perform, and then, when you release the key(s), you will return to the Tool you were using to start with.
    • The Hand Tool – Space – To scroll (pan) around the stage without having to switch over to the hand tool, simply hold down the space key, click and drag the mouse, and then release the mouse button and the space bar when you’re done. If you don’t see the hand cursor when you initially hit the space bar, then you may need to click once on the stage and then try again.
    • Zooming In – Cmd+Space+Click (Ctrl+Space+Click) – While holding onto the shortcut keys, click once on the stage to zoom in, or click and drag over a specific area to zoom in on that area. When you release the keys, you will return to the tool you were initially using.
    • Zooming Out – Cmd+Opt+Space+Click – Simply press the shortcut keys and click once on the stage to zoom out.
    • Zoom to 100% – Cmd+1 (Ctrl+1)

This is by no means a comprehensive list of shortcuts, but these are some of the ones I use most often. It may seem like a lot to remember, but if you can take the time to practice and learn these, it will really serve you well in the long run. Once you become fluent with these shortcuts, you’ll find that your Flash development time is notably more productive.