flash

AS3 Pass Custom Event Data Question...

Hi guys.. I am trying to pass custom event data from 1 class to another class...here is my codes.. a.as private function onClick(event:MouseEvent):void{ dispatchEvent(new YouTubeSearchEvent(YouTubeSearchEvent.CHANGE_VIDEO_READY, videoId)); } b.as private var newVideoID:String; public function get selectedVideoID():String{...

actionscript 3 ULscrollBar Issue!!!!

Hi Guys.. I am trying to create a scrollBar for my MC which contains several mc horizontally. I wanted to apply ULscrollBar for my MC container so I can scroll for move small MC but I couldn't get it to work...I would appreciate if someone can help me about it. (there is no scroll head for me to drag...) Thanks... cont=new videoC...

Extrusion in Away 3D

I am trying to draw a custom 2-d shape on the screen and then create its 3-d model using Away 3-d. I have included the classes that I have used. I am yet to create the 3-d model using extrusion.The problem is that there is always a small offset when making the drawing. When trying out the code please click on the screen at two different...

How to embed images of type 'bmp' in to the flash?

I have an image of type '.bmp' (NOT jpeg or png). I am trying to embed it using the following code. [Embed(source="images/door0091.bmp")] private var door0091_class:Class; private var door91:Bitmap = new door0091_class(); On compiling, the code throws following error. 'door0091.bmp' does not have a recognized extension, and a mimeT...

Is there something like alert() of js in flash world?

I want some text to be displayed(visible for web browser), so it's not trace.. I'm new to this language,what's the easiest solution? ...

Take picture from local video source and submit via PHP form.

How would I go about taking a picture from a video capture card or webcam? Should I use flash to do this? I want to submit the picture via a php form and upload it to my webserver and place a link to it in my MySQL database. Is there a flash app already built that I can use to perform this? ...

I can send variables from flash to javascript, but unable to do the opposite

I have this in AS3 var myName:String = "David"; var result:Number = ExternalInterface.call("methodInJS", myName); trace("Result from JS call is: "+result); And in javascript function methodInJS(name) { alert("Hello to " + name); return 17; } This allows me to send to javascript. What is the method to do the opposite. I want to sen...

Are there any good tutorials / examples for developing a download manager in Adobe AIR using Flash CS4?`

I want to develop an AIR application that will let users of my website download multiple files in a single process. My database stores details of all the files uploaded by a user so I want them to be able to simply choose a location on local disk then download all files they have uploaded to this location. Are there any good tutorials ...

Using Flash to get a verification code

Say I have a flash movie in an HTML page, I want to get the value of a tag in the HTML page (for example, google-site-verification content value). How could this be done? <meta name="google-site-verification" content="12345678978564261321567498789" /> *UPDATE - I want to embed a flash template into an html web page, in this web page...

How to play flv file inside Ext.Window?

I want to play .flv file insede Ext.Window. Do you have any solution? ...

Any way to run JS after swf is finished playing?

I'm working on a project where a SWF will play (as sort of a splash), followed by JS. After the video plays, the navigation and content will appear, and the video will fade out. I'm just wondering what would be the best way to accomplish this? Play the video first and then load everything via ajax behind the scenes? The goal is to be as ...

AS3 The ways to dispatchEvent...

I was wondering the difference between these two dispatchEvent method... //1. eventObj:YouTubeSearchEvent = new YouTubeSearchEvent(YouTubeSearchEvent.CHANGE_VIDEO_READY); eventObj.videoId = theOneVideoId; dispatchEvent(event); //2 dispatchEvent(new YouTubeSearchEvent(YouTubeSearchEvent.CH...

C# stop webbrowser control from loading images, flash, script, etc

Hi, How can i stop the webbrowser from loading/displaying images, flash, script etc? I found this article that deals with it, but i dont know how to implement that "STDMETHODIMP CAtlBrCon::Invoke" function This is the link:article Can anyone point me into the right direction? ...

Turning an image in HTML, Javascript

Is it possible to turn an image? (cross browser, and no plugins) For example a rolling ball, in Flash it is easy, there must be a good alternative since HTML5 is coming etc. ...

AS3 Simple movieclip rollOver question..

hi guys...Simple question.. I have 1 MC with buttonMode=true. There are 2 text fields nested inside 1 button graphic inside the MC. My question is that when I roll over my mouse to my button, the roll over effect is gone if I roll over my text fields....the mouse is still inside the button graphic but the roll over effect is gone....see ...

AS3: AddChild issue -- "TypeError: Error #2007: Parameter child must be non-null."

Hi guys...    My following code gave me TypeError: Error #2007: Parameter child must be non-null runtime error. not sure why...I would appreciate any help... mySb = new ScrollBar(); mySb.x = cont.x; //+ cont.width; mySb.y = cont.y; mySb.height = contMask.height; mySb.enabled = true; add...

Flash loses focus in firefox

On one of the forms in my page i have some input boxes and textareas and also a flash object. When the page loads the flash object is in focus and i can click into the textarea and input boxes and the flash object still has focus, i can tell this because i have a button in the flash that has a roll over effect and when clicking the butt...

How to suppress only [SWF] traces when debugging Flash applications

I'm working on an Adobe Flex application that loads lots of Flex Modules and other Flash sub-applications and Flash resources. Each time one successfully loads the flashlog.txt and Flex Console show a trace like "[SWF] filename.swf - [filesize] bytes after decompression". Specifically: [SWF] Main.swf - 1,361,299 bytes after decompressi...

Creating a flash slide show with buttons in Flash CS5, AS 3.0

I need to create a slide show in Flash using AS 3.0. I want it to have the same functionality basically as http://www.fao.com/home/index.jsp but without the text area on the bottom. I want the images to rotate, but instead of having the numbers rotate and a forward pause and backwards button. Or similar to http://www.auroragift.com/new_w...

remove flash object border

I am embedding swf object into my html document, but its showing border on top and left of swf object, how to remove it? Same result on all browsers. If i increase the dimensions of swf object then border start appearing on all sides. I dont want the border at all. ...