Gradient Map Filter - Pixel Bender for AS3
Hi, i need some help to create a filter in Pixel Bender for AS3 to make this effect in the right side in this image: http://a.imageshack.us/img829/1488/gradientmap.jpg Can you help me? Thank you. ...
Hi, i need some help to create a filter in Pixel Bender for AS3 to make this effect in the right side in this image: http://a.imageshack.us/img829/1488/gradientmap.jpg Can you help me? Thank you. ...
Hi I wish to use a flash menu coded in AS3 in a flex project. The menu in question is at: http://www.oxylusflash.com/flashfiles/horizontal-resizable-ultra-menu-as3 Can this be done? Thanks ...
I'd like to be able to have my SWF compile to different sizes based on whether I'm debugging or creating a final build. Is there a way to accomplish this in Flash Builder? I'm using the [SWF] metadata tag to format my SWF. My initial impulse is to create some sort of logic around said tag, but I've a feeling that won't work. Thanks in...
After setting an control's location to some site. How could I then take a peek at the associated HTML? I notice that as soon as I set Location, htmlText becomes null and vice-versa... So how would one go about looking at the HTML displayed in the control in TEXT form? ...
I have a project ongoing at the moment that uses dynamic text blocks to form menu items and general project information. When loaded and run directly, everything is completely fine. However when i load the same movie through a loader flash, some (not all) of the text fields disappear. All of the textfields are created on stage and have ...
Dear Friends, I want to know a bit more about 'xmlns:mx="http://www.adobe.com/2006/mxml". Generally namespaces acts as the pointers to the component location, but I've always seen them directing resources within local directory structure. When 'xmlns:mx="http://www.adobe.com/2006/mxml"' is used than is a new connection is set with adob...
Dear Friends, Is there some way where I can remove all event listeneres on my components all at once. Expecially when I dont have any prior knowledge of, what all listeners are being attached to my component. Thanks in advance. ...
In as3, I am adding event listener and then attaching the anonymous function to it: myBox.addEventListener(MouseEvent.ROLL_OVER, function(e:MouseEvent):void { Alert.show(count, 'Alert Box'); ); Now this whole piece of code is looped n times. Now, I have n myBoxes and whenever I roll my mouse over the box, it should alert the name. But,...
I have an mxml component "PresentationWindow" that is for brevity's sake, simply: <fx:Script> //... functions here will be explained below </fx:Script> <s:Window> <mx:Canvas id="presentationCanvas" width="100%" height="100%"> <mx:Button label="Test" width="100" height="25" left="0" top="100" /> </mx:Canvas> </s:Windo...
In order to send a POST request I need to enumerate all properties of a given object. This object may or may not be dynamic. I'm looking for the most elegant solution. This is what I've got so far: function createURLVariables(params:Object):URLVariables { // Workaround: Flash Player performs a GET if no params are passed...
Hi, I have an external log file which name changes each session, with the format XXXXX.log I need to load it inside a swf to show its data, but each time the log´s name is different, I need to open the .fla, changing the name of the file and then republishing the swf. So I have made a simple script to load another .txt, to type manual...
This is an ActionScript 3 problem... I am hosting a swf on my.domainA and I am requesting a jpg from my.domainB ( of course I'm obsfucating the domain names ) the using this code: var request:URLRequest = new URLRequest(result.image); request.requestHeaders.push(header); var context:LoaderContext = new LoaderContext(true...
i have a swf file which is a framework file done in puremvc and i m loading multiple swf files. one of the swf file loaded into the main swf file loads multiple sub swf files in it. works fine but in the loaded swf file which loads multiple swf files in it.. button dosent work at all. i m not able to click on any button. i m jst making a...
This adobe's page says that: In Flash Player, full-screen mode can only be initiated through ActionScript in response to a mouse click (including right-click) or keypress. AIR content running in the application security sandbox does not require that full-screen mode be entered in response to a user gesture. I thought ...
When using the code below for uploading files, is there a way to make the file filter exclude the files I want, and include every other file type? I looked through the adobe flash documentation but I could not find a way to do this. var imageTypes:FileFilter = new FileFilter("Images", "*.jpg; *.jpeg; *.gif; *.png"); var textTypes:FileFi...
<script type="text/javascript"> function recieveTextFromFlash(Txt){ document.getElementById('htmlText').value = Txt; } Shadowbox.init({ handleOversize: "resize", overlayOpacity: 0.6, skipSetup: true }); function openShadowbox(content, type){ Shadowbox.open({ ...
I'm pretty positive what I want to do isn't possible with ActionScript, but it would be nice to be wrong. I need to pass a variable reference to a function, and have the function change the value of the variable. So, simplified and not in completely correct syntax, something like this: function replaceValue(element:*, newValue:String)...
How can I implement like button into Flash? Official documentation supports only Javascript solutioon. ...
Does anyone know common programming conventions for Flex? ...
When I preview this the video quality is really bad, and I don't know of anyway to improve it. There is Camera.setQuality but it is only for use with flash media center. import flash.media.Camera; var cam = Camera.getCamera(); var video = new Video( ); video.attachCamera( cam ); addChild( video ); ...