flash

Are there any way to use custom font file in my site ?

I can use @font-face but it does not work in all browsers. Are there any way to use custom font file in my site ? ...

Flash Command Line Interface

I am looking to build a Flash/ActionScript 2 Command Line interface simulator which acts like a Unix/Dos CLI. Does anyone know how to do this, or have a good resource like a tutorial about it. I've been scouring the web for a solution, but only seem to be able to find a tutorial about the effect, not actually having it interactive. A ...

Why is Jflow not work in Safari when using a fullsreen FLASH background

I am using a full screen flash background that changed images after 5 seconds, and when I use Jflow on top of that, it fails to work in safari, but works fine in Firefox and Chrome, Anyone have any ideas what could be wrong <script type="text/javascript" src="JS/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="JS/jq...

Recorded two users chat playing issue

I am using flash as3 and red5 to record a live chat.I recorded live chat as two flvs they are user0.flv and user1.flv i started the second video to play in exact position.But while playing that recorded videos it's unsync due to streaming.Both video streaming separately how to solve this. ...

How to fill a textfield in later frames from the first frame?

Hello, I have a case where I can change the contents of an actionscript class which fills the dynamic text fields in a flash movie. The class function is called from the first frame in the movie and fills all visible fields. I need to fill a dynamic text field in the n-th frame (say 100, or so) but when I call tagline2.htmlText = "hell...

Can't programmatically control FLVPlayback with ActionScript

Hello, I'm trying to control the video playback of a live video stream using ActionScript 3 code in Flash Professional. There's a FLVPlayback component on my stage titled "flvPlayer", and in Frame one of my "Actions" layer, I have the following code: import fl.video.FLVPlayback; import flash.display.Sprite; var vidURL:String = new St...

Alternatives to javascript Rich Text Editors

Hi, Having tried many javascript RTEs, I always seem to run into one or more showstopper issues. I was wondering if there were techniques other than the HTML designMode to build an RTE and work around these in a clean manner.. Maybe in Flash, or as a Java Applet or something? PS: Things that are usually problematic in javascript RTE...

Playing an FLV video with a fallback on HTML5

I told my boss to use HTML5 with a fallback on FLASH. But he said he wants FLASH as the first option, and if the browser (ipad or any other) can't recognize the FLASH , it should play the MP4 file we got. I suggested HTML5 with fallback on Flash. But he wants the opposite. How can I get that done ? Do you guys have sample code ? So...

timeout for getting crossdomain.xml?

Hi, Is it possible to set a timeout for getting crossdomain.xml in Flash web application for Socket class? Flash tries many ports to get this file and it takes too long when the file is absent (for example blocking firewall is also causing this situation). It would be perfect to set timeouts for every port separately (destination port, ...

Stop metthod of AxShockwaveFlash com component thorws Attempted to read or write protected memory

Hi, I'm using AxShockwaveFlash com component to show a flash file in windows application. , I call the method Stop() to stop that flash. But some of the users, its throwing the exception "Attempted to read or write protected memory,This is often an indication that other memory is corrupt ". Please let me know why this is happening f...

Open source flash MMS maker

I am looking for a flash application which gives me the ability to make an MMS with my picture and video files. I want to make a website and give the user the ability to make an MMS message online and send it. i wonder if there is an open source flash application to give me the ability. Here is an example of such website. Thx in adva...

Flash Player 10.1: Controlling audio channels in video playback using NetStream.appendBytes?

Hi! Would it be possible to programmatically control the audio channels (effects, mix multiple channels etc) of a video playback using the NetStram.appendBytes possibility introduced in Flash player 10.1? ...

Paste rich text into Flash?

Is it possible to capture rich text when pasting into Flash? Using a Flex TextEditArea, I can paste richly formatted text within Flash itself, but if I try to paste from an external source (say web page, microsoft word, etc) it comes in as plain text. Same for the reverse: if I copy rich text from within Flash, and paste to an external s...

Insert text at cursor in a TLF-based Flex Spark RichEditableText?

I want to programmatically insert formatted text at the current cursor position in a Flex 4 (Spark) RichEditableText control. I could just modify the .text property.... But that doesn't allow me to insert formatted text. So I believe I need to interact with either .textFlow or .textFlow.interactionManager somehow? However, TLF is quite c...

Change Flash Player stage quality in AIR apps

How do I change the stage quality to improve rendering performance in Flash Player AIR? StageQuality doesn't seem to have any effect at all. Is this a known bug or am I doing something wrong? I'm using this in the Main() app class constructor: stage.quality = StageQuality.LOW; Edit: I found the answer in the Adobe Livedocs: For...

Keep track of score, then give result.

Hello. I want to create a very simple game for school. The user chooses answers based on questions, at the end the software presents some choices to the player based upon what they said. They have to choose food they like to eat, and the game tells them about the diet, they have 9 choices. I wonder how I should keep track of what the...

RTMP Streaming Server implementation: connect/createStream/play message sequence passed, but no video/audio in flashplayer

Hi! Writing RTMP Streaming Server for streaming AVC+AAC video. And it works fine with rtmpdump. But I can't force it to work in flowplayer and other flash video players. The message sequence after handshake is similar to FMS / RED5 / erlyvideo / haxevideo servers: I've tried a lot of variations. From Chrome debug console I can see, wh...

Handbrake generated M4V/MP4 files with Flash Streaming Server over RTMP

We are attempting to transcode some video to a format suitable for our Flash Streaming Server. In the past we have used Adobe Media Encoder (AME) CS4, but we are working with *.VOB files this time, and AME CS4 does not support them. We are attempting to use Handbrake now, as it has great support for h.264 and MP4 files. Unfortunately wh...

AS2 - Controlling a tween from outside a function

Hi everyone. I'm working in Actionscript 2, and I am trying to do something that seems to be basic. Basically, i've defined a Tween object within a function, and i want to control that tween from another function. What's the best way of doing this? This is the basic way i have the code set up currently: // Define the function with m...

Persistent MP3 player using SharedObject

I'm trying to create a persistent MP3 player using SharedObject. Initially I tried using frames and while it worked, frames suck so I continued looking into it. I came to find out about Flash's SharedObject. It seems easy enough but I can't nail down the logic correctly. I've attached a sample .fla for anyone interested to look at. I ne...