var snapshot:ImageSnapshot = ImageSnapshot.captureImage(someSprite);
var file:FileReference = new FileReference();
file.save(snapshot.data,'abc.png');
In the above code I am able to capture an image.
But I also want to apply a scalingMatrix(for zoomIn/Out) and a clipping rectangle to it.
How to do it?
I tried capturebitmapdata too...
I've written some fancy Flex app, which doesn't really require any server side integration.
Now if someone took that SWF and put it in their server then it will very well run.
What code can recognize that the SWF is not under my domain and stop from execution during startup? I don't mind making some server side calls just to do a che...
Hi,
I have a Flex AdvancedDataGrid which is fed XML like this:
<documents>
<document>
<name>Jake</name>
<skills>
<skill>Flex</skill>
<skill>Domino</skill>
<skill>ASP.NET</skill>
</skills>
<document>
<document>
<name>Trevor</name>
<skills>
<skill>Flex</skill>
<skill>C++</skill>
<skill>ASP.NET</sk...
HI am new to AMFPHP. am creating flex audio player.
Whenever am playing the song in my player. the song url will be displayed by the use of FIREBUG addons..
How can i encrypt and decrypt that url using AMFPHP or PHP.
Some flash audio players done this job using AMFPH..
Edit/Delete Message
...
Is it possible to tell flex to display a chart with no visible axis? I want the contents of the chart to take up all the available space. I can set the visibility on the AxisRenderer to false which will hide the axis but that leaves an empty space where the axis would usually be. How can I remove this empty space?
<mx:horizontalAx...
How would one create a custom MXML component in flex which is based on an existing component but draws an overlay over this existing component in certain situations.
Ideally, the new component should be based on (derive from) the exiting component so that occurrences of the existing component could just be swapped out with the new one.
...
The FDMSLib for the Flex-AJAX bridge has a load function that renders a flash object to the page where ever it is called. This causes problems when using Ext.JS as the inserted object can either be discarded by another render function or cause conflicts during the rendering of the page, so I'm trying to rewrite the load function so that...
How to get HTML text from inputed and edited text into Adobe Flex Builder RichTextEditor control? I mean with valid HTML coming from the Flex RichTextEditor component
Not Badly formated HTML, with no spaces, with tags not closed!
So we have some text edited with RTE a-la
We want to get its content as HTML. how to do such thing?
...
What is the best way to program an LED number tick. I need to have a number display that goes up to 1,000,000.00. Dynamic text fields are not an option because of symbol instances. How would I make a counter?
ANIMATION
The numbers move in increments like an LED display. This
NUMBERS
The numbers multiple by ten each space over
decima...
I am trying to declare private variables that will be used elsewhere in my flex mxml main application. But I need to only create the variables when their is an equal number in my xml file.
My xml snippet looks like this:
<POIs>
<location>
<name>jane</name>
<lat>12345</lat>
<long>12345</long>
...
How to add images into Adobe Flex Builder RichTextEditor control? I mean using a button =)
So we have some text edior with RTE a-la
We want to get into its content images using some button. How to do such thing?
BTW: I found this http://anotherflava.com/2009/01/12/flex-xhtml-rich-text-editor-w-images/ but I realy do not understand h...
I have a simple datagrid that is importing an xml file. I have an edit button at the end of each row, when clicked it brings up an editable form with that rows information in it. I am using event listeners to pass the information back to the main datagrid. The only think i don't understand is, how do you update the datafield values in t...
I'm searching for at least simple Open Source Flex mxml actionscript Table creator and editor?
I need it to be able to create simple tables and generate some text (xml or HTML ) representation of thair contents
...
I have simple mxml code
<mx:DataGrid id="DGG"
editable="true">
<mx:dataProvider>
<mx:Object scheduledDate="4/1/2006"/>
</mx:dataProvider>
</mx:DataGrid>
<mx:Button id="SetBut"
label="Set Array as Data Provider"
click="SetDP(); AddBut.visible = true;"
x="100.5"
y="1...
Hi--
I want to get this to work:
private function frigganWork(event:MouseEvent):void
{
trace("WTF?");
navigateToURL(new URLRequest("http://stackoverflow.com/questions/ask"), "_self");
}
but I get an error: "Call to possibly undefined method frigganWork."
...
When debugging some container sizes (namely, HBox) in Flex (v. 3.5), I noticed a variable "$height" in the Variables list.
Does anyone know what this variable is? It's marked as protected, but I don't believe I can access it in a child class.
I've noticed it sometimes gets a different value than "height" and "_height". Does anyone kn...
I have an AIR application that uses the HTML component to display a significant portion of content (I set the html myself, it is not loaded remotely). The text displays normally on Mac (I think Mac antialiases all text by default). However, on windows, the text displays anti-aliased regardless of the OS settings. It ends up giving eve...
How to record Audio and Video at the same time into flv in Adobe air 2.0 ? So that Video and Audio will be sinchronised?
Open Source libs and
Blog aricales are wellcomed!)
...
is out there any Open Source phpmyadmin flash user intrface?
...
I'm trying to figure out how to dynamically place numbers around a circle (similar to a clock face) but dynamically so if the number of numbers around the circle is 5 or 27.. they would space out correctly.
I found some code (below) that looked like it might help but I'm having trouble implementing it. I don't know how I actually tie ...