flash

DateChooser.. disable year and month?

I want a to user a DateChooser to allow a user to select a date in a given month and year. I want to set the month and year programmatically and only allow the user to select the date/day. I can do this for the year easily by setting the minYear and maxYear to whatever year I want, but I am not seeing a strait forward way of disallowin...

Flash Search Question...

Hi guys... i am trying to make a youtube search bar in my flash site and when users enter the keywords, it will return the list of the videos. Users would be able to watch them if they click them. I checked out the youtube api but still have some trouble understanding the concept. I wish someone here can give me a clean head up and s...

Open Audio File format supported for streaming in flash player.

I am trying to stream audio to my flash application. I got it working with a test MP3 file. But the problem is that MP3 encoders are protected by patents and require license fees.(I am living in Canada) Isn't there a open audio file format supported by flash? ...

How do I attach file information after saving a file

I'm currently working on a Flash application that needs to save files to Drupal. I already saved the file to the Drupal site with the File service, but I can't get to attach the file to the node with the node.save service (Upload module, not CCK file field). The object that I will transfer with node.save looks like this in AS3 : var no...

Using a button within flash movie in flex/flash builder

Is it possible to build a UI with Flash CS5 that contains multiple buttons, and then have flex listen to those button events? My current plan is to load the SWF with SWFLoader and attaching listeners to the buttons in a onComplete event would be the proper way to set it up, however i cannot seem to find a way to access the buttons thems...

Can A .swf loaded with SWFLoader propagate events to the parent application?

I am building a compartmentalized Flex application which uses <SWFLoader > to load additional Flex applications inside it. I am currently planning on using the LocalConnection class to have these two applications talk to each other, but I'm wondering if there's any kind of event driven way to have actions in the internal application pro...

Flash video record on website tutorial

I wanted to make a website that would let users record a small video message through their broswer and save it to my website. As I have never used flash, i wanted to know what softwares would be required and what programming languages would I need? I mean, what should I go about learning to implement such a site. I would prefer open-sou...

Flex 4 Panel Border Skin

I'm trying to create a skin for a Flex 4 spark Panel that will create a border on the left/right side of the panel that matches the header of the Panel. Basically a silver frame all the way around the edge of the Panel similar to the old Flex 3 mx:Panel. I've been experimenting with a skin file all day and can't get anything to work. ...

Loading swf files from memorystream

I have an .swf (e.g. shell.swf) that is being streamed to axShockwaveFlash, but this movie get data from another .swf file (let's say data.swf). I load shell.swf from memorystream with no problem, but it can't load or reference data.swf. Any suggestions? Thanks a lot. ...

How to programatically get the background color of a JSR-186/286 portlet

How can I programatically determine what the background color of my portlet will be before it's rendered? (ie in the init() or doview() functions). I want to make an embedded flash movie look transparent-ish by having it's background color (which I can set programatically) match the background color of the portlet... but the portlet's b...

Equivalent of .send()

Is there an equivalent to LoadVars.send() in AS3 where I just send off variables without waiting for a response? I just send off the variables into cyberspace blindly, and I am happy that way. How do I do it? Or has it been removed for some security thingie in AS3? ...

Joomla - sudden issue with Flash objects?

I developed an entire site using Amazon's flash widgets. Then I applied a class to the widget which made copy flow around it. Everything worked fine. Suddenly, however, Joomla is indicated the OBJECT code with a Flash icon in TinyMCE. That's never happened before. And secondly, I can't apply a class id to the Amazon widget. Has anyone ...

What is the exact difference between both the hitTest methods

What is the exact difference between mc1.hitTest(mc2) and mc1.hitTest(mc2._x,mc2._y,true) ...

How to play MP4 video on window webserver in quick time and flash player(flv player)

I have two mp4 video files on webserver, i wanted to play them in flash player(flv player) on my asp.net page, but i couldn't be able to play them, i also tried to play them in quick time player the same prob occured. but i waz giving the accurate path, there were no spaces in mp4 file names etc. Does it need to have mp4 player(or codec...

php flash highscore system for a games site

Hi, I am currently working on a php/flash/mysql based high score system for a games website. The main obejctive of this system is to submit the scores in the database using flash game. Whenever the user makes the score it will be reflected in the database. While in testing evironment when i submit the scores from flash file the scores a...

Flex 3 Custom UIComponent Disappearing

Extremely frustrated with this. I've created a simple class that extends the UIComponent. I create an instance of this class in a parent class and utilise the 'addChild' method to add it to the parent. I've overridden the 'updateDisplayList' method of the extended UIComponent to add my own drawing routine using the 'graphics' object. ...

Getting flash game to run in VB.

Just trying to use a VB form app to run a flash game from the .swf file. Keeps coming up with weird errors using both the web browser tool and microsoft web browser tool. Thanks. Edit: Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.frmFlasher.("http://website.c...

Is there a way to detect that TCP connection has been refused using flash.net.Socket?

There is a flash movie which is using flash.net.Socket to connect to a server. But there could be a situation when the server is not running, hence nothing is listening on the port socket is connecting to. When I do "telnet hostname port" I get a fast connection refused error. But flash.net.Socket does not invoke any event (see below),...

Backspace a text string, AS3

Hi How do I backspace a text string. If this was a login screen, I should be able to backspace one character if I made an error, and continue my login. I'm not sure how to accomplish this. Please help. Thanks, The sample code is obviously wrong, but may help explain var log:String = "LOGIN_777"; trace(log); b.addEventListener(MouseEven...

facebook actionscript api flash: how safe it is to place the api key and secret key in my flash application?

Hello. I want to write a flash application that uses the facebook javascript api. for the flash application to use it, I'd have to write the secret and api key in the flash application. as far as i know every flash application can be decoded and the api key and secret key can be revealed. is there a way to properly protect those keys? ...