I'm not using deep linking, so all the pages/states appear as http://site.com
Is it still possible to implement back functionality in this case? It looks like flex has a browser history feature, but not sure if it would still work given that all the pages are at site.com
The other option is that I would save information in the main fil...
Hi, I want a custom cursor I can edit in the .mxml file. For the moment I got a static one with a class extends Sprite. Is for a SketchPad application, the cursor will be the color and the size of the user choice. Let me know if it possible and how.
Here the class in a .as file :
package project
{
import flash.display.Sprite;
...
I'm trying to load some XML into flash to populate some dynamic text fields. The problem I have is that some of the xml tags seem to be ignored by flash.
Here's the XML I'm loading:
<?xml version="1.0" encoding="UTF-8" ?><xml>
<node>
<nid>2</nid>
<name>Antonia O'Neill</name>
<jobtitle>Director</jobtitle>
<photo>h...
Hi all,
Where does the .x and .y property of a movieclip in actionscript 3.0 measured from? from the centre of the object? or.....?
For instance, given a pro grammatically drawn Sprite:
graphics.beginFill(0x000000);
graphics.moveTo(9.00000000,-7.00000000);
graphics.lineTo(13.00000000,0.00000000);
gr...
I am trying to bind an ArrayCollection result coming in from the server to my DataGrid
created dynamically in AS.
The result data is not getting Displayed in the Grid.
var dg:DataGrid = new DataGrid();
dg.width=650;
dg.dataProvider=someArrayCollfromServer;
I am adding the dgColumn as runtime based on some data from a XML and it is ...
How to control (start / stop encoding) Flash Media Encoder 3.5 using ActionScript 3 (using Flash CS4) ?
UPDATE: Flash Media Server 3.5 is also installed in same server. It includes an Apache server, which I think can run batch script, if CGI is installed. Is it a solution? Seems dangerous.
...
Hi,
I'm working on an custom video player. Got the rest of the elements in place, but cant for the life of me work out how to change the volume component from Horizontal to Vertical. I've tried standard stuff like rotation='90' but no joy on that.
Anyone have any ideas on what I should maybe modify or change to get it to a Vertical Sli...
Hi Guys,
I have a flex application, the display of this application is build with many containers.
I have a FlexEvent.UPDATE_COMPLETE on each of the displayObjects.
What do I want to accomplish?
I want to handle the event only on the top level where it occurred, for instance, if I have a grid and the update occurred in a label somewher...
i'm attempting to draw lines beside each other, but the last line from the first color group takes on the color from the second color group before the second color is assigned. can anyone explain this?
function drawCorner()
{
var corner:Sprite = new Sprite();
corner.graphics.beginFill(0x0, 1.0);
corner.graphics.drawRect...
Hi guys.
Some days ago, I saw this very interesting post:
http://www.uza.lt/blog/2007/08/solved-right-click-in-as3/
and now, I'm sure that a custom right click can be used in Flash, throught JS.
The problem is.. that the guy who coded that, he used a "custom" swfobject (or older, dont know) and a "custom" index.template.html.
The pr...
how can i create an opposite of a hexadecimal color? for example, i'd like to convert 0x000000 (black) into 0xFFFFFF (white), or 0xFF0000 (red) into 0x00FFFF (cyan). those are rather basic colors, while variants of colors can have more complex hexadecimal values, such as 0x21B813 (greenish).
are bitwise operators required for this? m...
Im working with FlashDevelop and have two main projects, all pure AS3 projects.
When trying to load my second project from my main project I get all kinds of errors.
The Main class of the main project extends Sprite and the Main class in the "to-be-imported" project extends MovieClip. Looking at the loading of the swf in the debug wind...
Hello stackOverFlowers,
I'm creating an flex 3 application with 3 togglebuttonbars.
What i would like to do is disable the tooltip of the buttons on one togglebuttonbar.
Does anybody know how i can access the buttons on the togglebuttonbar to disable the tooltips?
I don't want to disable all the tooltips off the total application(Tool...
Hey there, i am quite new to ActionScript, could you describe how to set up 2 pre selected colors to tween a gradient to instead of "random" ones. My Goal would be to use this class as a dynamic background creater and i would like to have different gradient backgrounds on different pages.
thanks in advance!
...
I attached icon to a button using setStyle("icon", myIcon).
Where i try to detach the icon using clearStyle, the button label is not centered (as if the icon is still there).
How should i detach the icon safely?
...
This problem is one I have encountered before, when I mask an dynamic textfield the text disappears, in the past I have embedded fonts in order to make them appear but with a component I am unaware of how to do this. In the following code 'tf' is my text format and leftList is my TileList component. The TileList has not been created usin...
how can i get a title window with all rounded courners, so that i may make it whole round or circular shape ?
i want shape like circle..
...
Is it possible to change the width of an insert TAB character in a Flex TextArea?
I'm capturing FocusEvent.KEY_FOCUS_CHANGE events and manually inserting a "\t" into a text area styled with an embedded monospace font. By default, the TABs are being displayed two and a half monospace characters wide... I need them to display five monospa...
hello!
can i call a class public function from another class?
what's the cleaniest solution to do that?
for example:
Main -------------------------- Menu
|---------- buttonClicks
-------------------------- Thumbs
|--------- showTheThumbs
a button wich is istanced ...
This is a AS3 project created in FlashDevelop. It targets flash player 10.
I have a disturbing problem when running this code:
package
{
import flash.display.Loader;
import flash.display.MovieClip;
import flash.display.Sprite;
import flash.events.Event;
import flash.net.URLRequest;
public class Main extends Mov...