Changes to stage.displayState: Where's the event? (Flash, AS3)
What event should I be looking for (on the stage:Stage, I suppose) to get changes to the stage.displayState? ...
What event should I be looking for (on the stage:Stage, I suppose) to get changes to the stage.displayState? ...
I have a swf that is being loaded by a third party swf. I have source code and recompile my swf, but don't have code to the third party swf. Somewhere, likely in my code, there's a stack overflow. In a debug flash player, I get a nice popup dialog with a stack trace when the overflow occurs: Error: Error #1023: Stack overflow occurre...
I have a silverlight application, which requires charts with printing. As silverlight does not support printing, I was thinking of including some flash charts inside my application. I know it sounds weird.... But is it possible? ...
Hi all, Probably a problem many of you have encountered some day earlier, but i'm having problems with rendering of special characters in Flash (as2 and as3). So my question is: What is the proper and fool-proof way to display characters like ', ", ë, ä, etc in a flash textfield? The data is collected from a php generated xml file, ...
I am having trouble drawing a very short line with actionscript3: var cSp:Sprite = new Sprite(); var cGx:Graphics = cSp.graphics; cGx.lineStyle( 1, 0xFF0000, 1, false, LineScaleMode.NONE, null, null, 1 ); cGx.moveTo( 2, 10 ); cGx.lineTo( 3, 10 ); This creates two vertically stacked pixels which are not quite red (#7f0000)! (here...
When I start my web browser and I want to view a website or view something on a Flash Player I get this: Your Security settings do not allow websites to use ActiveX controls installed on your computer. This page may not display correctly. click here for options... or I get this: If this site does not load, click here to install Fla...
I've just switched from Windows to Mac and need to find a few tools to replace those that were Windows-only. I'm most familiar with FlashDevelop, which I've used for years, but it is Windows only. SEPY seems to have been abandoned, FlashIDE's editor seems weak, and I don't want to purchase FDT or FlexBuilder right now. I would like an...
Is there any way to resize an entire Flash project using Actionscript or some other method? I have created a 1024x768 Flash CS3 application, but upon closer inspection of the specifications, I now realise it has to be 800x600. Instead of manually making everything smaller, I'd like to resize the window as if someone were dragging the o...
in haxe, how do i pick up param arguments, and how do i find the document context of a flash applet? i'm using actionscript 2 ...
I've got a movie clip on the stage that's rotated 10°, with a dynamic text box inside. I'm loading some text, with an embedded image into it thus: (Using 1st frame AS3 for now, eventually this will go in a class.) var txt:String = '<img src="foo.gif" id="myImg1" /><p>Lorem ipsum</p>'; my_mc.txtBox.htmlText = txt; Which works fine. T...
I was able to smooth the loaded, rotated images in my textbox as discussed in this question. That solution requires that I know the id of the images that are coming in. Is there a way to generalize and get a list of all the images coming in? ...
I have a Flash application that have to detect the mouse wheel event (MouseEvent.MOUSE_WHEEL), I've tested on a stand alone flash player and works perfect, but when i put the swf in a web browser, the mouse wheel stop working. I've tested this in: Internet Explorer 7.0, Mozilla Firefox 3, Safari 3 and Google Chrome; and this behavior ha...
I'm trying to find the best way to rotate a container (or anything for that matter) using the matrix3D features in flash 10 for flex. I have managed to get a container to rotate around a point that is not its registration point but I’ve only managed this by turning off the clipping on a container then placing the contents somewhere othe...
My windows application hosts a Flex application via the IE ocx. I have a button on my flex canvas that when pressed should spawn the users default browser, open to his or her home page. When the click handler looks like this it works fine: private function OnClickedInternetImage() : void { var url:String = "http://stackoverflow.com"...
Previous versions of sIFR allowed users to enter "sWmode: 'transparent'" to avoid the common problem of Flash objects being overlayed on regular HTML objects on screen, no matter the z-index of either elements. How do I replicate this behavior in sIFR 3.0? ...
Flash 8 FileReference API gives you the possibility to check periodically for the number of bytes being transmitted: listener.onProgress = function(file:FileReference, bytesLoaded:Number, bytesTotal:Number):Void { trace("onProgress with bytesLoaded: " + bytesLoaded + " bytesTotal: " + bytesTotal); } (more infos here and here) In ...
I have this code that is supposed to take an array with some words, and apply the tweens to them, one by one, with a specified timeout. I think I have to make an empty movieclip out of them and then animate them with a foreach loop with a timeout, but I'm lost in how I would do that exactly. This is where I'm at: var array:Array = new ...
Is there a way to get the size of a dynamic text box at run time? ...
I have a Flash header with a transparent background contained inside of a relative positioned div with a z-index of 10. The resulting effect allows my Flash movie with a transparent windowmode to overlap and hover over the HTML content. Unfortunately, the HTML that is underneath the invisible Flash is not accessible. For example, the ...
I want to create a simple 'scorecard' like mechanism for some card/parlor style games. The trick is I want this to be a visually stimulating application (WPF/Flash style animations etc.) and available on Mac, Windows and some mobile clients eventually. Any thoughts on framework? Silverlight would be great if I could run it offline, other...