flash

play multiple flv file in single swf object

Hi, I have one swf object in my site. I have to read data from database and after fetching data of video names, I need to play those video in single swf object one by one, means after completion of first video second video will start. Thanks in advance. ...

What headers does a SWF file send when requesting data from a URL

When requesting data with: <param value="data-file=http://url-to-my/json.script" name="flashvars"> via an SWF file, what request type would "http://url-to-my/json.script" receive. It doesn't seem to be a "xmlhttprequest". Is it the same as a request from a browser? ...

artificial slowdown

Hi everyone, I've got a flash clip that is known to behave weird if user has slow internet. Now I want to troubleshoot that. Is there a way to slowdown the load speed? Preferably with local apache or may be even with firefox only. ...

How do I find the natural size/dimensions of a Flash SWF file?

I've been given a Flash file (.swf extension) to put into a web page. Opening the file in my browser makes it quite blurry, so I'm assuming there is a natural size for the file, same as an image. It's also rectangular so I need to work out the aspect ratio if I don't have an exact size. How would I find this information out? ...

Use Localization for DataGrid datafields

Hi there I have implemented my own ResourceManager for localizing my application by using <mx:Label text="{resourceManager.getString('myResources','Spot')}" /> instead of <mx:Label text="Spot" /> Now I want to be able to use this in dataFields in a data grid which use a xml file as datasource <mx:DataGrid width="100%" height="10...

HTTP authentication using htaccess/htpasswd ...dialogue box comes up twice...

I have a site that has the main path under password protection. I also have a subfolder that have a separate (htaccess/htpasswd) password protection. For some reason, when I access the subfolder, I'm asked to put in my id/password twice. All of the files that are referenced are under the subfolder. What should I be doing to troublesh...

Race condition firing events in AS3

Hello I have some troubles firing and removing events in the right chronicle order. The code below gives the following output: save poster into db, and dispatch event calling service, dispatch event removed = false calling service, dispatch event removed = false calling service, dispatch event removed = true save poster into db, and d...

Estimating Flash project hours

Hi. I'm trying to estimate the hours required to build a group of 5 simple children's games in Flash. They will include such things as having kids drag and drop healthy food items into a basket; choosing the healthy and unhealthy food items by marking them in some way; etc. I have no experience building games in Flash, but I have progr...

IE Keyboard focus being stolen in popup window

I have a Flash application that integrated Facebook friend connect. When the user initiates Facebook Friend Connect it pops up a new window that prompts the user to log into facebook. On internet explorer when I type in my username and password I intermittently lose key strokes. If I remove the flash page from the HTML content and do th...

HTML on Flash/Flash on HTML Toggle

HTML on Flash/Flash on HTML Toggle Hi. Does anyone know a Javascript API or some good way to launch HTML over Flash and then when the user interacts with the flash part it becomes Flash on HTML. It only needs to turn to html over flash when the user interacts with the flash part. ...

Flash : How to read data from shape/graphics object.

Hallo, I am wondering if it is possible to get the data that is stored in a shape/graphics object in flash using actionscript 3? In my project I would like to be able to draw a shape and then read all the points in that shape into my script. The reason for that is that I need go generate lines from those points that I later can use to ...

As2 Benchmarking

I've been looking for a took or a method of benchmarking as2 code specifically individual functions. I've looked at Grant Skinners Performance Test which is for as3 so it does me no good. Does anyone know of an as2 version or a good way to time functions? Thanks in advance! ...

sIRF, could use some help

It works perfectly when pulled within labels like in the demo <label class="title">I'm no image. I'm Avenir! </label> However, how can I achieve this within the code below (nothing loads)? <div id="zoomcontent"> <span style="margin: 0 10px 0 0" id="slidesbigtext" ></span> <a class="icon2" style="margin: -10px 30px 0 0; font-size:...

Flash Loaded Movie Clip Problem

If anyone feels this question is inapropriate please remove it or notify me and I will. Im having trouble figuring out this one, Im loading several movieclips into one. One movieclip as the base of the website and the others as individual pages. My problem is that now 3 of those movie clips when loaded appear to have been put off by a p...

Flash, AJAX or something else for a web-based demo interface?

My company has some software which we use to acquire data and interact with some hardware. If we wanted to put a mockup on a website which allows the user to get a feel for the UI (gather some data, change some settings etc.), what are some good methods to do so? I'm thinking either some clever javascript or flash. I've done some JS bef...

Flash Actionscript Timer - what happens when an event doesn't finish in time?

Hi, I'm using the Actionscript Timer class. What happens if I run a function every 3 seconds, but the function takes 4 seconds to complete? Does the Timer object queue up events? I guess this must happen if only 1 thread is being used? ...

Vector shape appears jagged after GlowFilter, and some other problems

Hi, I'm trying to create some MovieClips with a glow effect when you rollOver and the glow effect dissapearing on rollOut. But when the rollOut is finished my background movieclip to which I apply the filter (a simple 20 x 20 vector circle) all of a sudden appears jagged, when before rollOver/rollOut it appeared smooth as it should. Wha...

Load and modify AS3 SWF

Is it possible to load an ActionScript 3 SWF and interact with it, for example by replacing some of its functions or editing variables? Similar to how it's possible in .NET using reflection and code generation. I'm looking to add an extra layer of functionality over an existing 3rd-party AS3 app. ...

Online Image Editor - Ajax or Flex / Flash??

I am working on a plan to build an online image editor with just some basic functions. It should (obviously) contain a canvas working area and support the following functions: 1. Upload an image from your computer or submit a link 2. Resize image (by dragging the corner) 3. Rotate and flip 4. Drag / move / pan 5. Layering (if more then ...

Why an embeded swf won't play on a page under https?

I have one swf banner which I want it into .aspx page. The website runs ok under http and the banner plays correctly. After we set the website to run under https, the banner stopped to load. I've tried to load this banner via http link from inside https running page. Nothing happened as well. Example: Page: https://www.myswebsite.com.b...