flash

Flex: Printing PDFs

Up until now I have found several solutions for generating PDFs including AlivePDF and Jasper. Now they work in the way that they generate a PDF and the user can save it. The main issue that I am facing is that when you implement a download method after the user choses the path where to save it, the file gets saved, and that is it... t...

Div wider than browser without browser scrolling.

I'm working on a layout where the main content div will have a with of 970px. Behind this div, I want a div with dimensions 1200x600px (it will contain a flash object) positioned like so: width:1200px; height:600px; position:absolute; left:50%; margin-left:-600px; The problem is when the browser is sized to a width smaller than 1200px...

what's the difference between MXML and Actionscript3

what's the difference between MXML and Actionscript3 when we need to use MXML ?? ...

How to copyPixels() on AS3 from a huge BitmapData?

I need to load a very big image on AS3 (currently sized at 8192x8192). I am aware that it does not fit any of the limits imposed by Flash regarding drawing to screen or creating a BitmapData of that size. I just want to load the image so I can copyPixels() some parts of it here and there. The thing is, I'm loading the .jpg file of that ...

print screen of flash movie and save as image

Hi all, I am developing a small flash application. In my application users should be able to drag different elements from a toolbox into a canvas. At some point a user will be able to save the different elements he dragged as a picture. I wanted to know if there is a functionality that prints the screen in flash. thank you ...

Is it possible to create this chart using SVG Graphics and Javascript?

http://www.stockmapper.com/NDXtrac.html Would be possible to develop the above chart using SVG and Javascript or some other lightweight technology i.e HTML5.0 technologies? What sort of effort would be involved (man days)? Would the SVG version be as fast/smooth as it's flash counterpart? ...

How can I determine what page is hosting my swf?

I have a SWF that can be hosted in several different places on the web (including facebook.com). How can I determine which page is hosting my SWF from within Actionscript? ...

jQuery VS Flash

MOST of what the Flash is capable of jQuery can do that too... plus jQuery has its own advantage of being light and its integration and interaction with HTML directly... forget about falsh games for a while.... just consider flash based websites only for website designs and their interaction i am thinking jQuery + AJAX is VERY ENOUGH...

how to get flv frame rate in as3??

Well, i have to set the stage frame rate according to the frame rate of the flv and I will have differnet flv with different frame rate so i have to get frame rate of FlV using action script ?? Is there any method available in Video Class of ActionScript?? ...

As2 jpg preloader pulled from xml

Hi All, I am trying to build a simple preloader. I have 4 movieclips on stage and on each one i am adding an image that comes from an xml file theMap = new XML(); theMap.ignoreWhite = true; theMap.onLoad = function(success){ if (success) { theNodes = theMap.firstChild.childNodes; for (i=0;i < theNodes.length;i++) {...

python failed to call flash loaded html page

I tried to render html page which contains flash content. But it not responding. Loads endless. Text and image contents are OK. Here is my code. self.response.out.write(template.render('ieerror.html', dict())) html file contains: <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>flash content</title>...

how to integrate betweens flash (action script 3) and JavaScript

how to integrate betweens flash (action script 3) and JavaScript ...

How do I fix this potential bug with the ComboBox Component in Flash ?

When I add a ComboBox component into a Sprite, the height of the container is larger than it should. Here's what I mean: import fl.controls.ComboBox; //add combo box inside a container sprite var combo:ComboBox = new ComboBox(); var container:Sprite = new Sprite(); addChild(container); container.addChild(combo); //draw the outline of t...

Flash - Record user's action and save as movie

Hi all, I am developing a small flash application. In my application a user can draw a painting. I want to capture the drawing process as a video, and later allow him to view how he painted the drawing. Is such a thing possbile? If so how (do I need flash media server for this)? Thank you! ...

how to make this animation in flash

Hello, I'm building a web site for a client. He asked me to make an animation on the homepage to show at start a world image / a globe (just the company logo) that "expands", like if it opens (from behind) into a plain map (which is another image) of the world and then show a text over it. Now.. I know and develop in PHP / MYSQL / Photos...

Error using removeChild (AS3)

I am creating a pacman-style game. I am trying to remove an instance of a MovieClip using removeChild(). When the MovieClip instance "box" hits the MovieClip instance "circle" --circle will be removed from the stage. I am receiving the following error below: ArgumentError: Error #2025: The supplied DisplayObject must be a child of the c...

ActionScript 3 - Draw two shapes on the same movie clip's graphics avoiding alpha blending between them

for example: var mc:MovieClip=new MovieClip(); mc.graphics.beginFill(0x000000,0.5); mc.graphics.drawRect(0,0,100,100); mc.graphics.endFill(); mc.graphics.beginFill(0x000000,0.5); mc.graphics.drawRect(0,0,100,100); mc.graphics.endFill(); with this i will get a box with an alpha value darker than 0.5. I want a 0.5 alpha square without...

Dynamic images from LIBRARY!

Trying to load images dynamically from library NOT externally since i want these images to be loaded when the site is launched. Basically i have several buttons, each button returns an event that throws a specific image name to grab. Here is the function; function sendDisplayData(e:MouseEvent){ display_mc.displayName.text = e.curren...

Is there a server application that converts aiff to mp3?

I'm developing an application for the iphone where it sends recorded files in aiff format to a server. The audio files need to be reproduced in the server with a flash player. Flash only can import audio files in mp3... so is there a server application that I can install that can do this automatically? Also, I'm using a shared server so...

Flash automation using selenium

I m struggling a lot to automate flash using selenium. Can any one please give me a sample flash application code (methods) and the selenium code to automate the same. ...