flash

How do I run a line of actionscript when a flash video has finished playing?

I am including a video within a flash banner. When the banner loads, in the space where the video will play I have prepared 'click to play' graphics, with a button which invokes nextFrame – taking the main flash movie's play head to the frame where the actual video is. The video then plays fine, but finishes on a blank, black screen. W...

SWF to Image

Currently i'm using SWFToImage to convert my charts dynamically generated in a swf to an image. But it crashes a lot when several images need to be created at the same time. Are there better solutions available to generate an image from an SWF file? ...

Flash file Link

Hi, I have a flash file menu i am having problem while link it to my other web pages the code is below. <div id="flashcontent"> <a href="http://www.Yahoo.com.com"&gt;Home&lt;/a&gt;| <a href="http://www.gmail.com"&gt;Products&lt;/a&gt;| <a href="Home.htm">Downloads</a>| <script type="text/javascript"> var so = new SWFObject("10.swf","10...

flash ExternalInterface sniffer

i want to see all the calls that a flash object is doing to the javascript on my browser is there an ExternalInterface sniffer? ...

ExternalInterface.addCallBack not working?

I have a Flash/AS3 project I am trying to add a call back on, I added the call back like so: ExternalInterface.addCallback('force_refresh',force_refresh); and I am calling in from JS like this: function thisMovie(movieName) { if (navigator.appName.indexOf("Microsoft") != -1) { return window[movieName]; } else { ...

Activating a button underneath the mouse: how do you capture the OVER event?

Observed behavior: I have a page of UI sliding onto the screen. On slide complete, activate buttons. If mouse already over a button, the rollover does not happen (since MOUSE_OVER hasn't technically occurred) Desired behavior: 1, 2 the same, but on 3, I see my rollover. Is there any way to easily do this, aside from something brut...

Flex: Points to pixels and back again

So I have extended the PlotChart that comes with Flex to have the ability to draw trend-lines. To do this, I have to get pixel positions. How can I convert (100px,100px) in pixels to a point on the graph, such as (0.7,1.0)? ...

Change MovieClip width along with dynamic text field's size inside it.

Hi, I am a newbie in Flash CS3. I was wondering if anyone could tell me how resize the width of of a movie clip according to the size the size of dynamic text inside it. I did it by creating a text field 'myText' and then converted it to a MovieClip symbol and named the MovieClip as myClip. The text in myText is assigned at run-time an...

Solution to skew bitmaps in flash

I'm looking for a solution to skew images. Flash only allows skewing of vector-based objects. I tried to use matrices but could not get a propriate solution. The goal is to do something like a threefold-brochure which folds out in two steps. Does someone have a hint or example code for this? UPDATE! Maybe my message was a little bi...

ActiveX Flash component in C# .NET 2.0 Application causes memory leak?

We have a C#/.NET 2.0 WinForm with an ActiveX ShockwaveFlashObject control on it. The program loops through a schedule of content and displays it over and over on the control, fullscreen, like this: axFlash.BringToFront(); axFlash.Movie = scheduleItem.FilePath; axFlash.Show(); axFlash.Play(); This works great, but after a couple of da...

What could be causing display corruption in a flash video player?

We're seeing some really gnarly display corruption in our flash video player. Here's an example: We're using fl.video.VideoPlayer for displaying our video, and it seem like perhaps this bug appears most when we're switching between different instances of VideoPlayer, particularly when there's something else above the VideoPlayer that...

Flash (as3) printing .. data ? html ?

I need to add a print button to my page that should print a certain page the best way should be that i add an html and that it would print from out flash or is it possible to open a html page and automatically open the print dialog box? it's in AS3 ...

Graph drawing library for Flash

I have a bunch of numeric stats data gathered over time. I need to show it as a line graph to user in a HTML page. I want to render graph on client. It would be perfect if graph would be interactive (allowing user to scale, scroll, toggle graph lines visibility etc.). Is there any decent free graph drawing library for Flash / Flex (or...

Online Flash Mp3 Player Music Button

So I have a website that queries a database with information about music, with id3 information and file location information. I would like to use THIS to add a little playable mp3 player beside each of the search results, but I can't figure out how to do this without generating the xspf file, which would mean I would need an xspf file f...

How to get different country time into single page using flex or flash (action script 3) because getTime() used for get current time only.

i am beginner dont know how do display all country time into a single page using action script 3 in flex . do u know any example time code refer me . i will try that code . ...

Flash: Antialiasing characters on dynamic textfields without embedding fonts, in japanese

Hi, I'm trying to achieve antialiasing on dynamic textfields in flash on a Japanese site. The content of these textfields is not fixed data. I don't have the option to embed the fonts, since embeddeding all characters will result in a very heavy swf file(3000kb+ just for the fonts). This is due to the fact that there's a large number o...

file.asc and file.far

Could you let me know the difference between .asc and .far file extensions? What are the contexts in which each is used, and can .far be used in place of .asc? ...

How to implement a flash based jabber client?

we are trying to develop a flash based jabber client. How can we minimise the issue of polling to the server when a new page is loaded without implementing an iframe? ...

new to flash, errors in actionscript compile

Hello all. I'm adding a small .swf object (XSPF Web Music Player) to a site I'm working on. I need to add two lines of code to make external javascript calls, so, I guess I need to re-compile to actionscript (please forgive me, I'm extremely new to flash). I'm using MTASC to compile at the command line. I'm getting errors at the start of...

matrix transforms on adjacent sprites causing subpixel gaps

I have three sprites, stacked on top of each other. I modify their transform.matrix to give the appearance they are growing in unison. However, small cracks sometimes appear between the tiles depending on the scaling factor. I am wondering how to fix this. I know that text objects in AS3 have options for sub-pixel rendering. May...