URLStream and unicode
Hi, I am trying to send info using USLStream from flash client to JAVA server. Some of the info is Chinese so i have to use Unicode. How can i do that? now the Unicode info retrieved in the server is corrupted. ...
Hi, I am trying to send info using USLStream from flash client to JAVA server. Some of the info is Chinese so i have to use Unicode. How can i do that? now the Unicode info retrieved in the server is corrupted. ...
I am attempting to build a generic XMLLoader class with a static LOAD method, with the intent to use it as follows... private var _data:XML = XMLLoader.LOAD("path/to/xml_file.xml"); Then I could use it in any client and go-to-town with e4x. The general problem I am having is with the URLLoader's COMPLETE event, which necessarily cal...
I am having an issue loading an external swf into my as3 project. I have created both swfs and both were creating using as3. In the one file I am trying to load the other swf, just for testing purposes. It works fine but for some reason I am getting this error: TypeError: Error #1009: Cannot access a property or method of a null object ...
This is for a scroller, I've been trying to figure out why it's pushing a particular movie clip off stage for a particular clip, when the others are working fine. Tracing the numbers, the clip is off at y -76000 and Flash thinks the height is somewhere in the neighborhood of 20 million, 20133131.85 to be exact. Any thoughts? ...
I need the dynamic created MC to have a standard name, so that I could target its type (MC / TextField) when its inside a MC holder. But at the same time, I would like it to have a unique name of its on (random numbers) so that I could know which one I should be targeting correctly. Exp: objectMC.name="object" objectMC.name2="3480945" ...
i done as follows i have a method with brings data of particular table, as given my parameter to that method, now i want to fetch data from corresponding table and it too list, and send back flex and form dynamically Grid & add dataprovider dynamically as for its corresponded table colomns in flex side ? Remote objec(java class) pu...
I added a custom class for a custom font in the flash project library. Now when i try to embed the font and use it from actionscript , the text is not getting visible. There is no error being thrown. Here is my code. var tabfont:Font = new tabHeaderFont(); var format:TextFormat = new TextFormat(); format.font = tabfont.fontName; ta...
Here is my problem, fairly obvious: [img at bottom] The problem, as you can see, is that the text (height and width) is nothing like the Height and Width of the compoent (Spark TextArea) that I have set via the Main.mxml file in Flex 4. This is pissing me off so much because nobody can tell me why this is happening, or how to fix it. ...
Hi, I have a advanced datagrid and displying the 10 records. but when loading the data, the first record should be selected. Can you please help me how to do it. Thanks, Ravi ...
hi, I'm working on a Actionscript 3.0 to Javascript-converter. I tried to find a way to circumvent the problem with the order of definitions, because it doesn't matter in AS, which package is defined first. To my surprise the following code works, although the prototype of A is defined after BA inherits from A: javascript (example outp...
Dear friends, I am confused about the order of systen events. As per the book, 'childAdd' event of parentcontainer should be triggered after triggering of 'PreInitialize' and 'Initialize' event of childcontianer while as per the program out put it seems otherwise. Please help. What I found in books is as below: \ Container----------C...
hi, this is a part of my code [Embed(source='dmr/images/icones/icnPresenceInline.png')]; [Bindable] private var presentAuBureau:Class; [Embed(source="dmr/images/icones/icnVacancesInline.png")]; [Bindable] private var enCongeAujourdhui:Class; override public function set data (val...
I am using Flash CS3 (Actionscript 3.0) and when using the standard combobox control, i am able to adjust the row height and font size of the items in the combobox, but the scrollbar is still a puny 16 pixels wide, and I want to make it wider. How does one change the scrollbar control thickess? Do i have to swap the skin? or can I scale ...
Hi Can anyone point me to online tutorials, parsing apps, etc for converting C code into actionscript3? ...
I'm trying to use an array to add a click listener to an existing Button. Black,Blue...etc are the button Names. the location of the nested button would be: this.mc1.mc2.contents.m3.black.addEventListener(MouseEvent.CLICK, doThisFunction); var myArray:Array = new Array ("black","blue","green","orange"); for(var k:int =1; k<myArray.len...
Hi, I've got a scrolling gallery in AS2, I'm converting to AS3. I changed the noticable AS2 stuff. I don't know how to replace getProperty and setProperty. How do I migrate this code? Thanks in advance, /* 1180 and 1060 Migration Issue getProperty and setProperty no longer used */ //SCROLLING GALLERY addEventListener(Event.ENTER_FRAME, ...
Hello, This is an AS3 scroller I've been trying to convert from AS2. I appreciate the help, but I'm still getting '#error 1137 incorrect number of arguments'. How do I get this scroller to work? Thanks, //SCROLLING GALLERY addEventListener(Event.ENTER_FRAME, masterLoop); function masterLoop(e:Event){ var mouseMin:int = 0; var ...
Hey I'm so use to timeline code, that this baffles me. How do I get a button class to recognize a button instance on stage? Please help. ...Just revised Buttons.fla Class: 'Buttons' Button with instance name placed on stage Buttons.as package { import flash.display.MovieClip; public class Buttons extends MovieClip { ...
Alright, so I'm playing several different videos at different sizes with the FLVPlayback component and something odd is happening that I don't remember happening before... Now, when I switch from video to video, the FLVPlayback physically resizes to match the height of the video... I don't remember this happening before. Before, the FLV...
this function will create the colum chart... private function columnChart():void { var columnChart:ColumnChart = new ColumnChart(); columnChart.dataProvider = getDataProvider(); columnChart.percentWidth = 100; columnChart.percentHeight = 100; columnChart.showDataTips = true; var catAxis:CategoryAxis = new CategoryAxis...