RSS
email
9

Fullscreen browser in Flash



Here is a nice trick to make flash full screen from browser
Code here is for flash8, soon you can expect for AS3

1) Create New document save it some where in local drive

2) Create button in flash and be sure the button is selected and hit F9
Paste the below code

on (press) {
if (Stage["displayState"] == "normal") {
Stage["displayState"] = "fullScreen";
}else
Stage["displayState"] = "normal"
}


3) Press Shift + F12 (or) file->publish
This will create swf and html file

4) Edit html file usinh notepad; find param tags add the param tag below to the params in html and save
<param name="allowFullScreen" value="true"/>

5) Run the html


Code Explanation:
Stage["displayState"] this holds the fullsceen or normal value of the flash player
And we simply toggling these values


Note:
This will work only if flash player 9, no problem if u have flash8 software

Install flash9_player
Read more
0

Adobe’s latest online offering codenamed "Share"



Welcome to a preview of Adobe’s latest online offering codenamed "Share", a free web-based service that allows you to easily share, publish and organize your documents.

With Share you can:


  • Send documents without email attachments.

  • Access your documents from anywhere.

  • View all the documents you have shared or received in one place.

  • Post a link to your document on a wiki or blog.

  • Embed a Flash® preview of your document on any website.

  • Limit access to a document to a list of recipients.

more..

Read more
0

Android - An Open Handset Alliance Project



Android is a software stack for mobile devices that includes an operating system, middleware and key applications. This early look at the Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language.

Features
Application framework enabling reuse and replacement of components
Dalvik virtual machine optimized for mobile devices
Integrated browser based on the open source WebKit engine
Optimized graphics powered by a custom 2D graphics library; 3D graphics based on the OpenGL ES 1.0 specification (hardware acceleration optional)
SQLite for structured data storage
Media support for common audio, video, and still image formats (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF)
GSM Telephony (hardware dependent)
Bluetooth, EDGE, 3G, and WiFi (hardware dependent)
Camera, GPS, compass, and accelerometer (hardware dependent)
Rich development environment including a device emulator, tools for debugging, memory and performance profiling, and a plugin for the Eclipse IDE


The Open Handset Alliance, a group of more than 30 technology and mobile companies, is developing Android: the first complete, open, and free mobile platform. To help developers get started developing new applications, we're offering an early look at the Android Software Development Kit.


More..
Read more
0

Adobe Flash Player -Code names



Some of the interesting code names for Adobe Flash Player

MovieStar---->it includes H.264 standard video support – the same standard deployed in Blu-Ray and HD-DVD high definition video players. In other words, the quality of video has been substantially improved from the previous version of Flash Player 9. Also added to the mix is High Efficiency AAC (HE-AAC) audio support and “hardware accelerated, multi-core enhanced full screen video playback”.

FrogStar ----->That new feature is the ability for the Flash Player to cache the Flex framework on the local machine, meaning the file size of a Flex based SWF will be dramatically smaller.

Astro--------->Flash player 10
Read more
0

Flash player 10 (Astro)



Hi ,

Adobe moving towards flash player 10, with some extra features that includes

1)Live video preview in flv player

2)More filters

3)Rigging like feature for objects

4)More text features

5)3d features


i got some links of these features , hope you will enjoy these features too

1-sneak peek
2-sneak peek
Read more
0

Button Events in Flex2.0



Create new Flex project in flex editor..select basic radio and choose next then enter project name and finish..


Wow you are in flex coding part

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Button id="button1" label="Click me" x="100" y="100" />
</mx:Application>


this is way for creating button in flex we have given

id name which is used to refer the button later in actionscript or mxml

Label is the text displayed in Button

Then x y values to position button



Handling Events


<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
import flash.net.URLLoader;
import flash.net.URLRequest;
public function launch(evt:MouseEvent):void{

navigateToURL(new URLRequest("http://sara-intop.blogspot.com"));

}
]]>
</mx:Script>
<mx:Button id="button1" label="Click me" x="100" y="100" click="launch(event)"/>
</mx:Application>



Here we are going to write our button handler using Actionscript using mx:script tag
we are calling launch method in click event.

and navigating to url similar to getURL in flash8
Read more
0

Flex Basics



HI,
Every body know what Adobe Flex is , if not

Flex2.0 (open_source) is a framework uses MXML language to output swf , that contains series of process.

Flex uses flexbuilder(Built using Actionscript classes) to convert
MXML ---> Actionscript ---> Bytecodes---> SWF which will be run by flash player.

Flex is used for application building. Thats for application developers.

MXML is an markup language .. and uses AS3 for handling events.

okie friends lets start learning flex2.0, its time for some basics...


Download Flex2 SDK

There is some nice video tuts for basic..gear up guys

Video Tutorials
Read more
 

Recent Posts

Recent Visitors

Donate Me

About Me

My photo
Chennai, Tamil nadu, India
Nothing more to say about me.. Just a Action Script programmer / Flex developer having 4.5 years of experience.