actionscript

Why multiply by 8 for Flash?

I was playing a flash game when a friend of mine showed me some Cheat Engine trick where you can search for integers in a flash game. eg your score is 100. To find the score, you'll need to search for the value 800 in Cheat Engine—this is probably a popular trick nowadays. I've never played with Cheat Engine before, but I understand tha...

Add '+' sign using Flex NumberFormatter

I want to format a number with the '+' or '-' sign attached to it. When i tried with the useNegativeSign=true, it gave only '-' sign. I want like this : +13%, -12%, ... Thanks in Advance, Cheers,PK ...

ASP.net script to create CSV file

Hi, I have a PHP script which writes a CSV file when a form is submitted from my Flash application. I need the same script for a Microsoft server so if this can be done in Asp.NET, I would appreciate it if someone knows where I can find something like this? What I need it to do is to update the CSV file every time someone submits the f...

How To Setup PurePDF to Send Output Directly to Adobe Reader

I am using PurePDF - an ActionScript 3 library - to generate PDF reports from Flash Player 10.1. The PDFs can be saved to the local hard drive, fine, but I would like to stream the output to Adobe Reader on the user's local computer. How may I do this? ...

Random box of images gallery

Is there any ready built images gallery as shown in this link? https://www257.americanexpress.com/openhome/booming.do?extlink=db-gabmd-2010booming_Digg If I were to build it by retrieve from database contains links to images and display on each containers, would TileList be useful or any idea is appreciate as I'm will be using it for di...

Making DateTimeAxis with weekly labels set ticks on an arbitrary day of the week

I'm using a CartesianChart with a DateTimeAxis to display weekly data in a Flex application. When I set dataUnits="weeks" and labelUnits="weeks" on the DateTimeAxis, it automatically places each major tick on a Sunday. However, I would like to provide users with the option of beginning the week on a Sunday or a Monday. How can I ask the ...

How to convert flash with dynamic data into AVI video

hy, after i upload some images and one mp3 files on my site it will make a slideshow (.avi file)! but nothing fancy, only a simple slideshow! i want to make a stereotyped in flash to load images and mp3 file and make a nice slideshow with some effects! the problem is... how i can save the swf file? (later to convert .swf file to .avi...

Actionscript security sandbox violation

I am writing a Photoshop plugin as an ExtendScript (Javascript) file, that then loads up a Flash window, which I will call plugin.swf - My plugin.swf file uses an element to POST to a certain URL. When I load plugin.swf with Internet Explorer, the HTTP POST is completed successfully. When I load plugin.swf via the Javascript (which is...

How to zoom in/out an jpg image with actionscript?

Is that kind of job easy to do in flash? ...

How can I convert a PDF file to an image?

I'm giving users the ability to upload an image to my Air app, then displaying this image in an image control. But I need to allow for PDF uploading in the same manner, so I need to convert the PDF to an image. I only care about the first page of the PDF they upload for now. What I'm doing is: 1) User browses for a file with the file r...

Flash, actionscript...load and parseXML with scrolling

Hi, I would like to add a component in my flash website which will, 1.load xml data. 2.parse it using stylesheet 3. Have a scrollbar incase xml data is a lot. any suggestions will be helpful ...

Why use Flex instead of HTML/AJAX/PHP frameworks?

Hello all I have some experience of developing in Flex/Actionscript using Cairngorm framework. At that time I had no prior experience of ActionScript/Flex and it took me some good 3 months to get started with seriously developing an application. That time too, I was skeptical developing an app based in Flash, which won't be viewable on ...

Create editable shapes in Flex/Flash AS3?

I need to build a room designer, ultimately in Flex (Flash Builder 4). The part I am having trouble with is creating the room outline AND allowing the user to add/remove/move points to edit the room's shape. See this application for what I mean: http://www.deltaportercable.com/shopdesigner/ I know how to create a normal Rect, but not...

Freely creating BlazeDS RemoteObjects

Hi all, So I know BlazeDS's standard MXML syntax for creating remote objects. Ex: <s:RemoteObject id="sim" destination="SimulationWebService" > <s:method name="getAvailableTargetNames" result="setTargetNames(event)" /> <s:method name="getAvailableToolNames" result="setToolNames(event)" /> <s:method name="ge...

actions vs. avm instructions in actionscript

My questıon is that, what are actions and what are avm instructions. I've been reading these two documents: http://www.adobe.com/devnet/swf/pdf/swf_file_format_spec_v10.pdf http://www.adobe.com/devnet/actionscript/articles/avm2overview.pdf but I couldn't get the concept of it. Could anyone with more understanding of it explain this pl...

how to make button click event to call a function which set another label text?

i am not an action script developer nor flash designer, i just want to have a small action script sample that i will edit a little to make it interact with my javascript code. By the way, i want to have a button and a label on a flash form, when the user clicks on this button the onclick event will call another function 'setText for e...

Flex 4 cursor (special hit area)

How I can make a cursor with an image, but the mouse click area must be at the center of the image In addition, if any way to change the img size this will be great ...

Flash loader demands library files in folder other than folder where main project file is ?

i have situation in which i have some library projects, say "DataProcessors","Lib2" , included in my lets say "MainProject" (a web project) placed on directory "E:\bin-debug\MainProject.swf" , when i build the project it automatically place all the libs .swf in its "E:\bin-debug" folder, but when i debug or run the project ...

main loader [as3]

hello! i made a project in as3. everything works fine but i attach some movieclip from the library, and the size of the swf is 300kb. i have no timeline keyframes, everything is attached dinamically from the library or externally. how can i build a preloader for the root? (yeah i know, root doesn't exist anymore but i'm asking for it ca...

ActionScript dispatchEvent silently fails with 'Asynchronous viewer update' message

I'm manually dispatching a propertyChanged event from my model only to never have it be caught. When I try to debug and step into (F5) the dispatchEvent call I get FlashBuilder error "Asynchronous viewer update" displayed twice. Does anyone have an idea why this might be failing? Possibly cyclical references? I have tried using weakRef...