Hi folks,
this q has already come up before but the answers given didn't help me.
I have text input boxes which display the " symbol in place of the @ and vice-versa.
when i test locally my @ and " are appearing correctly only when i upload to the server does the problem arise.
I read that you can have "Use device fonts" set for text...
I want to display the grid control in Flex ( version 3 )
1. with a marker/(or)icon (which acts like a button) in each colum header of the grid.
2. on click of the button i want o popup a textaread to capture some comments.
3. on close of the popup i wan to then change the marker\icon in a way highliting it which would indicate that some...
Now I understand this has been asked to go from Parent to Child before, which is all well and good, but what I want to know is, how do I go about passing from a Child SWF back to the Parent?
The way I do it for Parent to Child is:
In your parent swf you’d put
_global.myvariable = blah;
In your child swf you’d put
this. myvariable =...
I want to make a button flash red in response to an event, and then stop flashing whenever the button is pressed. This would be much like the master alarm button in an aircraft. So the flashing effect needs to be something that I can programmatically stop.
I saw one example using a timer, but I want to avoid using a timer because I do...
Ok. so I'm working on an app that retrieves items from a db and builds a gallery. I've done this a ton of times, and it should be simple.
I'm running into problems, because in this gallery, I get results from a db that includes both image files, and other files. Let's just say I can't change anything but the flash, so I need to detect i...
I have a linechart and dots showing the places where a datatip pops up. I can change the line to any color I want and I can set the inside color of the dot. But the border color still stays orange (from the default color). Someone knows how I can set this property easy?
this is the code:
<mx:LineSeries id="dayEnergieLineSeries"
y...
Hi,
I've had a good rummage around the interweb and can't seem to find any examples of a tri-state checkbox. It doesn't look to be supported in the SDK and I can't find any examples online.
I would imagine this is a common problem, before I embark on writing my own does anyone know of a good flex tri-state checkbox component somewhere ...
Hi there, I'm having some issues with looping a sound in flash AS3, in that when I tell the sound to loop I get a slight delay at the end/beginning of the audio.
The audio is clipped correctly and will play without a gap on garage band.
I know that there are issues with sound in general in flash, bugs with encodings and the inaccuracie...
I am trying to understand the way the AsyncToken works in actionscript. How can I call a remote service and ensure that a specific parameter is available in the result or fault event functions? I think it is the async functionality I want to use.
The following code will hopefully explain what I am trying to do. Feel free to modify the c...
I have a collection of objects and each object throws an event every time its value gets updated. Im trying to capture that event by adding a listener to the arraycollection that holds it (see main class) but its not working. Honestly I'm not sure this is the correct approach.
I'm avoiding using Collection.CHANGE because it fells into a...
How can I load a swf in ActionScript 3 with a higher fps than the instance doing the loading with Loader?
Thanks!
...
I've found it's often useful to special case the first item in a drop-down menu (ie, an instance of Menu). For example, if I want to pick a color from the list provided by a web service:
<mx:PopUpMenuButton id="colorSelelector"
dataProvider="{colorsService.lastResult}" />
I might also want a special-case, which is "enter a new co...
I want to create an invisible drawing surface that sits over top of an image. This drawing surface would be in charge of taking mouse input and passing the coordinates along to a sprite that sits on the layer between the drawing surface and the image. The drawing surface is an empty Sprite.
According to the docs, a display object that...
Normally if you were loading an image from a URL you would do the following:
m_image = new Image();
m_image.addEventListener(Event.COMPLETE, image_completeHandler, false, 0, true);
m_image.source = "http://www.example.com/image.jpg";
private function image_completeHandler(event:Event):void
{
// Image content has now loaded, we need...
Given a Function object, can you get its name as a String? See example:
function doThingWithCallback(callback:Function):void {
trace("i'm going to run " + callback); // outputs "i'm going to run function Function() { }"
}
function foo():void {
...
}
doThingWithCallback(foo);
This example is sort of arbitrary, but it would be ...
I am looking to get as close as I can to parsing out an AS3 file into objects or XML. For instance, imagine the following class:
package {
class SomeClass extends AnotherClass {
private var someVariable:Number
public function someMethod(someParameter:Number = 4):void {
var someLocalVariable:Number = someParamet...
I have a simple object defined by an object literal, and have a couple functions assigned to this object. Inside the functions, I try to access global variables, and it only gets undefined. The Flex debugger tells me the variables are just right up the scope tree.
Yes, I know I can access Thing by using 'this', that doesn't solve my s...
I have a flex/actionscript based project. The project has various view stacks and tab navigators and a few popup windows. The whole thing is managed in pureMVC framework.
When transitioning between various view states, opening a popup, switching a tab, etc, I find the app to exhibit various redraw glitches. Parts of views will be partia...
Hello,
is it possible to make a Flex-application to only run from my domain? So a user can't copy the .swf and start it locally.
...
Now I do know that obfuscation is never 100% safe, but it's better than nothing when attempting to avoid others from decompiling your .swf files.
I googled and found one which only changed variable names and removed comments. I need something more advanced. Any recommendations?
...