flash

Flash and javascript communication without ExternalInterface

How Can I send data out from flash to javascript without ExternalInterface ...

Showing a large amount of HTML alternative content with swfobject & swffit flash site

I have a full flash site which uses swfobject to embed it 100% height and width. I'm using swffit to force a browser scroll bar for pages with a large amount of content. This is all fine and works perfectly. I also have the content in HTML format, as alternative content and this also works apart from in order to get the flash swfobject t...

Flash AS3 class Object calling methods

HI all, i have a class file named Main.as and another class calledr icon.as package { import icon; public class main { public var _time:String; function main() { _time="01:10"; iconObj=new icon(this); } function timerFunction() { _time=newTime; } } } package { public class...

[AS2] Embedded SWF in Facebook with MochiAds Loader, access FB flashvars?

I have a flash game embedded on Facebook but need access to the flashvars facebook passes to all embedded games. However I am using the mochiads preloader meaning that _root.fb_sig_user is always undefined? How do I get to the variables? stage.loaderInfo.parameters.fb_sig_user Was my best guess and it doesn't seem to have worked. ...

AS3 ExternalInterface call using jquery

I'm calling into a flash app embedded in a html page using the ExternalInterface. The following code works fine (I'm using a button to test): $(document).ready(function(){ $("#button").click(function(){ var app = document.getElementById('ApplicationID') console.debug(app) app.pageUnloading() }) }) So th...

Echo problem with speakers in flash/red5 application for two-way video conferencing

I just tried the below code, and it works fine to reduce the echo on head phones. But the problem of echo remains as it is in case of speakers. public var intCountMilliSec:int = 0; public var intLastActivityLevel:int = 0; public var intLastLowestActivityLevel:int = 100;//07-Dec-09 private function CancelEcho(e:TimerEvent):void...

Photoshop-like, embeddable web based image editor?

http://stackoverflow.com/questions/1841112/online-image-editor-ajax-or-flex-flash The above wasn't really the answer that I was looking for. I'm looking for an online image editor which I can embed into my pages, so users can edit images and submit them. I'm fine with it being Flash or Canvas/JS, no Silverlight or Java pleas...

Resizable Button with background in flash CS4

Hi, I want to create a button which resize dynamically with content. to achieve this, I created a MovieClip in library and added four layers into it namely - text, bg, shadow and border. Problem I'm having is, if I make textfield autosize, only textfield resizes and others stuff remain as it is. if I calculate width required using xxxL...

What optimizations does a browser perform when a DOM element is being rendered off screen?

I control an iframe being rendered on another domain. Is there a clear way of telling whether this iframe is being rendered above or below the fold on the parent page? Obviously, I can't access the parent DOM because of the same origin policy restriction. For example, I tried measuring the speed of rendering on a canvas or VML tag, hopi...

flash cs4 , dynamic text field

Usually i am pretty good at working my way round as3 but this one is really giving me a headache I have this code below and everything works fine i can trace the output but still the text is not showing up on stage any clues?? import flash.display.Sprite; import flash.text.TextField; import flash.display.MovieClip; var xmlLoader:URLLoa...

Token-Based Authentication in WCF

I am creating a website which will contain both ASP.NET pages and a Flash applet. I want to encapsulate my business logic in a WCF service which will be exposed through two endpoints: One accesssible over the Internet through HTTP(S), for use by the Flash client, and one accessible within the data center for use by the application serv...

Does the ExternalInterface, in Flex 3, have a data size limitation?

I am using the ExternalInterface on Flex 3. We are actually using flex to compress a large amount of DOM data, so this is specifically being used with LARGE data. To further investigate, if there is a limitation, is this universal? (IE. Silverlight) First, let me state that this is being done with an application that was made by inexp...

amfphp what versions of flash are compatable?

Newbie to flash so please forgive me if I'm asking a dumb question. just installed AMFPHP on my local dev box and following the tutorials, all says it's installed correctly but the HelloWorld.php example doesn't work. Could this be because I'm running the incorrect version of flash in my browser? or does this even matter and it's anothe...

How do you make maps in Flash CS4 and then use them in iPhone games?

I was watching a video showing an ngmoco rolando2 level designer. He seemed to be using flash CS4 to make the maps. Would anyone know how I would go about doing this? Just in case you need to know, I am an intermediate programmer, I know both Java and Objective-C pretty well. ...

How to detect when video is buffering?

Hi guys, my question today deals with Flash AS3 video buffering. (Streaming or Progressive) I want to be able to detect when the video is being buffered, so I can display some sort of animation letting the user know to wait just a little longer. Currently my video will start up, hold on frame 1 for 3-4 secs then play. Kinda giving the...

Integrate a mp3 player into a page with no reloading issue

Is there any way to integrate an flash mp3 player into a html site where an reload wouldn't stop music playing or make it start from beginning. I wouldn't want to use ajax for the rest of the site cause it's not SEO friendly, and also pop-ups are not a good solution cause every browser nowdays blocks them. ...

can not read xml data into flash

I write a simple xml code, and I try to read the xml file into flash, but I got "undefined" in my output. The codes are as following. Do you know how to sove the problem? Thanks. xml file (test.xml): <?xml version='1.0' encoding='ISO-8859-1'?> <note> <to>Tom</to> <from>Peter</from> <heading>Reminder</heading> <body>Don't forget me ...

psuedo threaded json parsing?

Adobe's JSON serialization library is very helpful, but it can lock up the UI if parsing a large string. I am wondering if it makes sense to parse JSON in a psuedo-thread (aka "chunking"). I am wondering if anyone has implemented, has suggestions for implementing, or arguments against this approach. ...

Can anyone point me to a AMF library in either Delphi or FreePascal?

I've done a simple search on the usual suspects(Google Code, Source Forge, SO) but did not find any hints of a project for AMF or Flash/Flex remoting. Has anyone stumbled on a project of this nature? ...

Convertion bitmapData

I'm trying to load several jpeg images dynamically XML into bitmapdata object in fla. I can see them on the stage of this .swf file. However, I load it into another .swf which is my main to call while clicking on one of menu option. I got this error: Error #1034: Type Coercion failed: cannot convert com::Fashion@1daf4ca1 to flash.displ...