codewala

code it

Adobe Flash Player 11 Video Playback issue

After installing Flash Player 11 – we noticed that audio with-in the FLV video was not playing smoothly.

Here are following solutions

Solution 1

  1. If learner has on his machine RealPlayer application installed , then upgrade it to the latest version.
    solution1  did not work for me

 Solution 2 : if updating the RealPlayer does not solve the issue then

  1. Uninstall the Flash Player 11 and
  2. Install the Flash Player 10.3 version.
    solution2 worked for me

Solution 3:

  1. Install the latest Flash Player (11.3.300.271) released by Adobe.
    http://get.adobe.com/flashplayer/
    solution3 worked for me

August 20, 2012 Posted by | actionscript 2.0, actionscript 3.0, Flash | Leave a comment

New Features of Adobe Flash 11.3 Player

Following are some of the new features provided by Adobe Flash 11.3 player

1. Keyboard input in fullscreen mode
as code

—————————————————————————————————-
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;

—————————————————————————————————–
parameter code which needs to into the HTML page

—————————————————————————————————
<param name=”allowFullScreenInteractive” value=”true” />

—————————————————————————————————

2. right click mouse event
now on clicking right click – the flash menu can be blocked by adding this mouse event.

—————————————————————————————————
stage.addEventListener(MouseEvent.RIGHT_CLICK, function(e:Event){});

—————————————————————————————————

August 10, 2012 Posted by | actionscript 3.0, Flash, HTML | Leave a comment

Flash 8 comboBox dropdown issue

While working with an interactivity which consisted of Flash 8 comboBox component – I am across an unusual problem. While the stand-alone SWF file worked fine – but when this SWF was externally loaded into another SWF file – the comboBox dropdown menu did not show-up when the comboBox down arrow button was clicked.

The solution to fix this problem is to set _lockroot = true on the frame where the comboBox has been placed.

January 15, 2012 Posted by | actionscript 2.0, Flash | | Leave a comment

Flash Resource

Found good website which has listed out all the available resources for Flash

http://www.goldsource.de/

http://www.iyiz.com/

September 8, 2011 Posted by | Flash | Leave a comment

Fullscreen Mode in AS2

To enable fullscreen mode using AS2 for a SWF file embedded within HTML page, add the parameter allowFullScreen in the object and embed tags in the HTML page and set its value to true.

param name="allowFullScreen" value="true"

Note:
1. This only works for SWF files published for Flash Player 9 and above
2. Full-screen mode does not work if wmode is set to opaque or transparent
3. When in full-screen mode, all keyboard input is disabled except for the keyboard shortcuts which exists the full-screen mode.

add a button with the following code which will toggle the browser window between Fullscreen and Normal mode when clicked

on(release)
{
if(Stage.displayState == "normal")
{
Stage.displayState = "fullscreen"
}
else
{
Stage.displayState = "normal"
}
}

June 26, 2011 Posted by | actionscript 2.0, Flash, HTML | 3 Comments

Flash wrapper for Adobe Captivate

Found a nice component build by Andrew Chemey which can used for creating a Flash wrapper for Captivate.
To view the documentation and to download the component click the link given below
http://www.connectusers.com/tutorials/2009/03/flash_wrapper/

May 21, 2011 Posted by | actionscript 2.0, Captivate, Flash | Leave a comment

Disable mouse click events in Adobe Captivate from Flash 8

A friend of mine and myself were looking for a way to disable captivate mouse click events from flash, after hours of RnD on it found a very simple workaround to disable/enable mouse click events of Captivate from Flash8. Below are the steps.

1. Create following objects in Flash
– a movieclip having instance name cpContainer_mc
– two buttons having instance name disableListener_btn and enableListener_btn

2. Place your captivate file on the same path and name it as cp.swf

3. On the first frame of Flash paste this code

// prototype to disable listeners
MovieClip.prototype.disableListeners = function ()
{
// store old listeners
if(this.onMouseUp != null)
{
this.$_onMouseUp = this.onMouseUp;
}
// clear listeners array
this.onMouseUp = null;
}
//
// prototype to enable listeners
MovieClip.prototype.enableListeners = function ()
{
// set listeners back to previous state
if(this.onMouseUp == null)
{
this.onMouseUp = this.$_onMouseUp;
}
}
//
// code for the buttons
disableListener_btn.onRelease = function()
{
for(var i in cpContainer_mc)
{
if(typeof(cpContainer_mc[i]) == "movieclip" )
{
cpContainer_mc[i].disableListeners()
}
}
}
//
//
enableListener_btn.onRelease = function()
{
for(var i in cpContainer_mc)
{
if(typeof(cpContainer_mc[i]) == "movieclip" )
{
cpContainer_mc[i].enableListeners()
}
}
}
cpContainer_mc.loadMovie("cp.swf")

4. Compile and run the Flash file – click the buttons to enable/disable the Captivate mouse click events.

April 29, 2011 Posted by | actionscript 2.0, Captivate, Flash | 4 Comments

Flash error code 148:3

In Flash 148:3 code error appears when – the licensing for the product has stopped working and prevents the application from running.

The repair tool from Adobe can be downloaded from the following path to correct this error.
http://www.adobe.com/support/contact/licensing.html

March 11, 2011 Posted by | Flash | Leave a comment

Gaming Frameworks for Flash AS3

Here are some Flash Framework in AS3 available for gaming purpose – Fixel, Push Button Engine and FlashPunk.

follow the links below to learn more
http://flixel.org/
http://pushbuttonengine.com/
http://flashpunk.net/

March 9, 2011 Posted by | actionscript 3.0, Flash | Leave a comment

MoleHill – 3D APIs for Adobe Flash Player

Adobe announced the long-awaited public release of the Molehill API that’s able to use the hardware resources to render 3D objects on its Flash player. The existing Flash-based 3D engines available utilize the CPU and memory cycles of the computer, something that limited the total number vertices that can be shown inside the Flash player. With the Molehill API, 3D Flash engines like Alternativa3D, Flare3D, Away3D, Sophie3D, Yogurt3D, and others will be able to generate more realistic and more robust 3D graphics.

Click here to learn more…

March 2, 2011 Posted by | actionscript 3.0, Flash | Leave a comment