flash

Flash / AS3: Load external swf *with animation*

hi. i load three external swf files into my flash movie, here's the code: import flash.display.* var screens:Array = new Array( 'screens/left.swf', 'screens/center.swf', 'screens/right.swf' ); var loaders:Array = new Array(); function complete_listener(event:Event):void { event.target.content.width = 341; event.t...

Why won't flash allow me to scroll down any further?

I have a very long vertical line of small jpegs, but I can't get to the end of it to add more or take away some! Any help? ...

Detection of a paste event originated from the default ContextMenu in a flash TextField

Textfields currently do not dispatch paste events. When the user is using keyboard shortcuts to paste, there's a way to workaround that shortcoming by listening to various keyboard events in the textfield. Is there a way to detect the paste event when it is originated from a click on the ContextMenu? ...

SWF to image in asp.net

Hi, I am working on a greeting card website in ASP.NET. I need to show the thumbnails of .swf files. I was generating jpg image by the IMAGETOSWF. But it didn't work in 64 bit server. I have gone through their help and tried to fix thing accordingly. But nothing worked for me. Is there any way to generate thumbnails from swf files? ...

Disable caching youtube videos

YouTube achieved quite a feat when they made youtube videos work with cache. However, this is causing a problem on my ajax site and would like to know if there is a way to disable youtube videos being cached. Especially in Internet Explorer. Any one know any solutions? ...

How I can access in Actionscript the "text" property of a TLF text created in the Flash IDE

I created a TLF Text with the Flash IDE in the main document. I've assigned it an instance name with the IDE When I try to access the text with Actionscript I cannot access the text field. Of course if I transform in the IDE the text in classic dynamic text it works as expected I feel very stupid and I suspect it has an obvious solutio...

How can I configure my data services in Flex to call the same domain that the SWF was served from?

Hi All, I've got an HTTP service I defined in Flash Builder, via the "Data Services" tab. I've got an absolute URL in there right now. What I really want is to not define a path that includes a domain name at all--I want the service to simply call an absolute path that's on the same domain as whatever domain the SWF was served from......

ExternalInterface.addCallback does not work right

I have js code: function onFlashReady() { sendToAS("sit"); } function callJS(value) { onFlashReady(); return "Hi Flash."; } function thisMovie(movieName) { if (navigator.appName.indexOf("Microsoft") != -1) { return window[movieName]; } else { return document[movieName]; } }...

Adobe Flash Player - video for playing a given .jpeg image sequence ??

Is there any possible way to play a .jpeg sequence using .flv player on-the-fly ? I mean, by not needing to convert the entire sequence into one single .flv ? Since I´m not familiar with flash neither action script, I was surfing the web in hope to find any templete or tips about similar things to that but I couldn´t... I will be very ...

Rotating a Text Field in as3

I am working on a Flash Project in which i have to rotate a text field.I am Rotating the text field using this function--- **function rotateAroundCenter(ob:*, angleDegrees) { var m:Matrix = ob.transform.matrix; m.tx -= point.x; m.ty -= point.y; m.rotate(angleDegrees*(Math.PI/180)); m.tx += point.x; m.ty += p...

how to embed a flash movie with a full player in a web page?

i want to play some swf movie in my page and i need a player with stop/pause/play and forward/backward button. what is the best option? ...

Retaining advance search functionality criteria stored in Database as XML

Have an advance search functionality, we have dynamically create some components to make criteria as SQL query to search. For example, textbox, combo box are used here with different combinations. After sometime user wants to see that criteria by click the button named 'CRITERIA'. This time send the request to server and get the XML fr...

JQuery hover freezes Flash in Internet Explorer

Situation: Playing Youtube video (flash) on site + thumbnails with a hover effect. Problem: Hover results in the freeze of the Youtube Video when using Internet Explorer 8 (hover and flash works fine in all Webkit browsers & Firefox.) Example: http://listandplay.com/hover/#Search~waka%20waka~~ I've tried to debug the problem with prof...

Equalizer animation is very slow and choppy in Flash AS3 when streaming?

So here's the scenario...sigh...My app makeup goes like this main FLA load mp3Player SWF mp3Player SWF loads mp3's via XML in which the XML is loading the mp3's through a full URL and not locally (url = "http://blahblah.com/song1/mp3, not "/song1.mp3") I have only one frame, no animations, and 2 movie clips for the equalizer. One for ...

What's the most fun: AS3/Flash or ObjC/Cocoa/XCode ?

It's a question for people who know both AS3 & ObjC. I know a little bit of both, but can't decide which would be the easiest language to learn & the most fun to use on a professional level. And why? Fun as in, most exciting & most interesting. ...

InteractiveScene3DEvent not firing in Papervision BasicView

Hi here, I'm using BasicView to setup my PV3D scene, and the scene itself works fine (3d carousel of movie posters) but the InteractiveScene3DEvent is not firing when a poster is clicked or moused over. I set my viewport to interactive... twice. view = new BasicView(stage.stageWidth,stage.stageHeight,true,true); view.viewport.buttonMo...

flash webcam and rails

Hey guys, are there any good guides out there for doing rtmfp and rtmp flash with ruby? I'm really interested in webcam interactions and I'm looking for something all-inclusive that can take me up through the basics. I've been trying to work through some tutorials but with limited success. Any help would be greatly appreciated. Thanks ...

How to render IP camera video with socket by actionscript?

So far the solution I found requires a crossdomain.xml to work,but this is not available on an IP camera: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="init()"> <mx:Script> <![CDATA[ import utils.video.mjpeg.MJPEG; ...

Image recognition via webcam - Augmented Reality with Flash

Hello! I have an image http://img831.imageshack.us/img831/2935/dotn.png which should be recognized via a webcam. So this image is the original which should be included into the swf. If a person show this image in the webcam, an overlay of a video should added and played (augmented reality). How can I do this? I found FLARToolkit, but i...

Loading flash in server code

Hi! I've just recently added a rather large flash header to a customer's website. It works ok, but the flash takes a really long time to load. I was thinking that I might be able to make it load faster by loading it on the server side rather than the client in visual basic. Will this help? If so, how do I do it? If not, how can I impr...