flash

In-game GUI in a Flash game

Hi! I'm currently working on my first flash title using Flex and AS3. At the moment I'm designing my in game GUI. The game is using double buffered rendereing using bitmaps and I want to add a textbox type control. Is it possible to use one of the flex controls in the rendering pipeline (while maintaining the text editing properties) so...

jPlayer does not play MP3 files

Hello, I tried to set up a playlist with jPlayer, like this demo shows. You can find my code here. I've checked the playList var, everything is okay (it contains all mp3 URLs for each <article> element which represents a track). The swfPath to jPlayer.swf is correct too. So I really don't understand where is the problem ? Any idea ?...

How to override a method for a MovieClip Symbol in Flash CS3

I'm using flash to draw objects, then I export them and use them from flex, and I'm a beginner in flash. I'm trying to do the override a method from the MovieClip I created. The method I'm trying to override is stop() method. I didn't write a single line of code, my movie clip is created using entirely the flash interface. I figured out...

Making SWF (Flash) Banner Clickable

I am using SWFobject. I am creating Banner Management System. I need to integrate Flash (SWF) banners and need to keep track of clicks and impressions. I tried to wrap flash object within anchor tag. Not working :) I gone through http://stackoverflow.com/questions/2243599/best-way-to-implement-a-flash-website-banner The first reply s...

How to turn Flex MXML DataGrid into something like Horisontal DataGrid? (see an Image)

from this (normal dataGrid) into this (horisontal data grid) How to turn Flex MXML DataGrid into something like Horisontal DataGrid? (may be some how with Flash builder 4?) Keeping all stuff DataGrid has like eating data from data provider sortind dragging - droping items etc ...

Selecting text and focusing on a textbox

I'm trying to programmatically select the text in a textbox, and focus on it too, so that when the form is launch the user only has to start typing and it will replace what is already there. I've been using the code: stage.focus = _finalScoreTF; _finalScoreTF.setSelection(0, _finalScoreTF.text.length - 1); but it doesn't work...any i...

Problem: Movie Clip contains just one frame

I'm a newbie at Flash, so started playing with a pretty standard code sample: one layer contains a movie clip with a flying rectangle, another layer has a button to control it. All script code is in Main.as file. The rectangle was named square1 through the Property window. Here is the problem: the constructor for Main has a line: square...

pass a number value to a Timer, XML and AS3

I want to pass a number value to a Timer. How do I do this? My number and integer values for other variables work fine. Error I get null object reference and coercion of value, because I'm not passing to 'timer' properly. I don't want to say my variable's a number, I want to say it has a number value. Variable //what I have now var t...

RangeError 2066, XML and AS3

I'm working with XML and Flash. I tried to pass XML values to my timer and got a Range Error. How do I fix this? My Error RangeError: Error #2066: The Timer delay specified is out of range. at Error$/throwError() at flash.utils::Timer() at svrReadyXML_fla::MainTimeline/frame1() My SWF 'Receives XML for Timer function' impo...

ActionScript 3 Read JPEG quality

I am developing image uploader for Flash 10. Is there a way to read jpeg quality of the browsed images. ...

IntelliJ vs flash builder for Actionscript projects

Would luv to here from developers who have made the switch from Flex-Flash builder to IntelliJ. What are the advantages, if any? ...

How to create a share button in AS3

I was wondering if anyone knew a good way of creating an AS3 Facebook share button? I need to be able to customize the title, description and picture. Thanks! ...

How to integrate shopping cart system for flash application

Hello. I've built a simple flash application that takes a user's photo/image, offers various effects and filters to play with. In the end, the application can write-out the resulting image to a PDF print file (to be purchased and sent to a printer). Currently I'm using PHP to template the web pages, with the Flash app embedded in the ...

Understanding Flash SWC's imported into Flex Builder 3 and key framed animation

I am trying to understand what is going on in a SWC that I am importing from Flash CS4 into Flex Builder 3. Specifically I am using a SWC supplied by a Designer as the animation for a custom preloader (a subclassed DownloadProgressBar). The issue I am trying to understand is, once the FlexEvent.INIT_COMPLETE is fired, I cleanup by remov...

Will Five3d compile and run on Flash lite on any real mobile phone?

Will ActionScript2 Five3d compile and run on Flash lite 3.1 or 3 or 2 or any (not FP10.1) - Will it run (+- with more than 5 fps speed on simple tasks) on any mobile phone we use tooday some nokia E71 (or any other +-old mobile phone)? Has any one tried? (and BTW will it work with video playing for ex simple rotating x y z plane with vi...

Why can't I move a Collada model after I add it to the view in Away3d?

I have a Collada (.dae) file that I found on Google's 3d Warehouse. Using Away3d, I'm able to load the file and display it on my view using the following code: var object3d = Collada.parse(FooXML, { material:"white", x:0, y:0, z:0 }); view.scene.addChild(object3d); The problem is that it's just floating out in space and no matter how ...

streaming in mp4 videos in flash

Hi, Could u please send me the code or any link for doing streaming in mp4 videos playing in a flash player. The mp4 video is playing. But I am not able to do streaming. Please reply soon. I need it very urgently. thanks madhu ...

How to create ActionScript 3.0 component capable of rotate/translate/skew/scale animation for use in Flash CS?

I need a very special component written in ActionScript 3. It is a rectangle filled with a bitmap. The bitmap is loaded from an external URL based on some programmed rules. The textured rectangle is then animated using Flash CS. Animation is performed using rotate/translate/scale/skew tools. How to create such a component and add it to ...

Is it possible to get download progress of video/image in HTML5 ?

Hello, Almost every flash player has an option to display how much of buffer (or % of total video) is downloaded to the client. At the moment I don't see it in any implementation of html5 video player. The real problem I am trying to solve is to have a way of knowing % of downloaded asset (image/swf/video whatever). In flash its easy b...

PHP detecting if flash is installed

Hi, is it possible to detect if flash is installed using PHP. My aim is, that if it is installed it will play a flv file, and if not it will use another player eg; quicktime? If it is possible how do I go about doing it? Thanks Tom ...