flash

copy+paste from eclipse to flash does not work

When I try to copy code from eclipse and paste it in the actionscript editor within Flash (CS3 or CS4) nothing gets pasted. Flash does detect there is something on the clipboard and does try to paste, but no content is added. I can copy paste from eclipse to all other pieces of software running on my computer that have some form of inpu...

Flash coding problem

Hello I recieve the information from php script to flash. And flash display it as: Radioart=Mia Frejman - Ett hjärta - Ett Hjärta The string contain some swedish symbols. How I can normally output it? best Vladimir ...

Is it possible to use iSpring Presenter component in a native x64 assembly?

Works well when set to x86, but don't work when set to x64. Any ideas?. ...

Programming game in flash/as3

Hi, I have a bunch of ideas for different games (for programmers) where you have to write some program to complete the puzzle; The language shouldn't be too complicated and I even started thinking about a graphical language like Scratch (http://scratch.mit.edu/). Anyway, I wanted to explore what people had done already porting various ...

Flash security error - Twitter API

Hey folks, I'm trying to hit the Twitter API in my Flash application. It works in the local Flash IDE, but doesn't work when I upload it to my server. I'm getting this error: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http//alpha.{oursite}.com/flash/twitterticker.swf cannot load data from htt...

AS3 - swfaddress deep linking when someone pastes a url

I have swfaddress (2.4) working fine on my site - the back button works, I can copy and paste urls and be taken to the correct page, etc. BUT, if I copy a url, say "http://mysite.com/#/bio", and paste it into a new browser window, the site always just loads to the home page after the preloader. What am I missing? Do I somehow need to ch...

Flash: How do I make a POST request from within flash to my processing php page?

I basically have a form inside of Flash that I need to submit to a server-side processing page, which will then return either json or xml telling if it succeeded or not ( json, xml I suppose ). My version of Flash is CS4 and I'm wondering if there are any libraries or frameworks I can use to accomplish this. ...

WCF service parameters from Flash are empty

I have a Flash app that needs to save some data in a Database using a WCF web service. The WCF service is configured to use basicHttpBinding. The flash app is being developed by some other guy in a different environment, and there is no connection between flash and the wcf service. So I created the wcf service, saved the corresponding w...

How to expose a method in an interface without making it public to all classes

I have a issue where I'm working with a particular interface for quite a lot of things. However, I have a particular method that I want to be available only to a particular group of classes (basically, an internal method). interface IThing { function thisMethodIsPublic():void; function thisMethodShouldOnlyBeVisibleToCertainClas...

Limiting the number of selectable files in a Flash file upload dialog

Is this possible through flash? I have to create a flash uploader where you can define the maximum number of files that can be selected. ...

AS3 - Accessing attributes of a static variable of an object from another object

I have 2 classes, Display holds the currently selected Component: public class Display { public static var selectedComponent:Component; } Component has an ID string and the selectedComponent variable is set on click: public class Component extends MovieClip { public var id:String; addEventListener(MouseEvent.CLICK, function() ...

Resources for learning Flex using just the open source compiler, not the IDE

I'm interested in learning just enough Flash/Flex to do things that I can't do from HTML and JavaScript alone - play sound files and video, use multiple file upload things, perform cross-domain Ajax requests using the crossdomain.xml file etc. As such, I don't really want to learn (or pay for) the Flex IDE. I'm not much of an IDE guy in ...

how to query if flash has focus

I know I can detect flash gaining and losing focus with these callbacks: stg.addEventListener( Event.DEACTIVATE, deactivateCb, false, 0, true ); stg.addEventListener( Event.ACTIVATE, activateCb, false, 0, true ); But is there anyway to directly query flash if it has focus or not? (Trying to figure out if flash has focus when starting...

Manipulate my flash depending on a URL?

I have a flash map of the UK which is divided up into the counties, a user clicks on a county and is then directed to a new url, eg. www.mydomain.co.uk/region/london. The flash map remains on that new page in case they wish to select a new region. What I want to know: is it possible to manipulate the flash so that if the url is www.mydo...

p2q_EmbedFlash using remotely hosted Flash files

I've embedded a virtual tour on one of my client sites. The site is hosted by Slicehost, and as you can see the load times for the Flash movies are very slow, so my idea was to serve the swf files from Amazon S3 Europe. To test it, I have all swfs uploaded to the same directory / bucket on Amazon, while the index.html and p2q_embed_ob...

AS3 - Child moves parent using startDrag

I have a MovieClip instance which can be moved around the stage using startDrag() and stopDrag(). The instance also has some child MovieClips using addChild(). The parent moves the children when dragging, which is fine. The children have there own startDrag() and stopDrag() which should apply only to the child object, however it also mov...

self-created FLV player does not play videos on production server or other machines

Hi, I created a flash video player using Flash CS3. I exported the player to html and it works fine on my PC. The problem is that it does not play on other machines. It also does not play when the page is opened from our website (web server is on a different machine, hosted), even when using my computer. What could possibly be wrong? ...

Flash socket server only works on local machine

Hi, I have created a basic flash socket server in PHP, it all works fine on my local machine (both in the browser and in the flash sandbox) but as soon as I get another machine to connect to my computer's Site directory, they can't get a connection open to the server! In flash: mySocket.connect("localhost",9999); In PHP $address = '...

Flash parsing XML without loading an external file (as2)

Hi, In my flash, the socket server returns some xml data that I need to parse, but it seems that the only way to start the XML object is with the XML.Load() which loads an external file, but my XML file is already loaded into a variable trace("raw: "+msg); msgArea.htmlText += "update remote player loc"; var playerLocXMLOb = new XML(...

I need to position my movie over my Flash website.

I need to make myself walk in front of my Flash website. All I have is a movie with a white background. Does anyone know the process? Using Flash 8. ...