Re: [flexcoders] hideing a tab in a TabNavigator
editing the display list is a way, or simply trying to set the tabNav children visible to true/false is also a goal you can create your UI with a method, and so perform checks to see who will be added at run time or not you can create item renderers that uses XML, and perform further checks based on the UI or, or... HOWEVER, I would not remove and add child without a more developed way of doing this so (what about the info you may have in this tab container?) On 31 Dec 2008, at 15:46, btroop202 wrote: How can I hide a with AS3 when a if condition is true. So it would show in the TabNavigator sometimes. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo ! Groups Links
Re: [flexcoders] Re: positioning custom toolTips?
I would look up the ToolTip class (if yo haven't already done it!) http://livedocs.adobe.com/flex/3/langref/mx/controls/ToolTip.html or $35 for these guys might do! http://www.afcomponents.com/components/tooltip_flex/ On 22 Oct 2008, at 22:29, djbrown_rotonews wrote: > > > anyone? > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Alternative FAQ location: > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo > ! Groups Links > > >
[flexcoders] persistent server-side shared objects
what is deal with writing persistent server-side shared objects with AMF3 object encoding? fair enough, in FMS3 everything should be server-side scripts, but why can't I flush it? Language reference says I could, but how!? http://livedocs.adobe.com/flashmediaserver/3.0/hpdocs/help.html?content=Book_Part_34_ss_asd_1.html //an simple example that should work!!! //main.asc application.onAppStart = function() { trace("I'm ok"); myShared = SharedObject.get("server_so", true); }; application.onConnect = function(client) { var varName; application.acceptConnection(client); client.storeIt = function(dataNow) { myShared.setProperty(varName, dataNow); //myShared.lock(); myShared.flush(); //nor SharedObject.flush(); //myShared.unlock(); //light please! } client.setVarName = function(aVar) { trace('aVar: '+aVar); varName = aVar; trace('setVarName: '+varName); }; }; can someone throw some light please cheers
[flexcoders] SoundChannel in a NetStream, the audio holy grail
Does anyone knows the of the anatomy of the flash.media objects, and the mx SoundAsset well enough to suggest an architecture that would achieve getting the a SoundChannel out of o NetStream object? Cheers Mario
Re: [flexcoders] Call container functions from swfloader?
haven't done this in AIR, but with Flex generated swfs, I have used the content object of the swfloader, and I have embedded the swf loader (AIR might have to do anyway) private var _downMeter:MovieClip; _downMeter = meter.content.getChildAt(0).getChildAt(0).getChildByName (Consts.DOWN_METER_MC); however, meter is loading a AS3 swf, exported to ActionScript. Indeed, I can talk to my meter.swf methods hope it helps worked with AIRnot sure about the AIR / Flex SWF published for web On 21 Jun 2008, at 10:52, zhuyuzhou wrote: I have made a flash menu in Flash with actionscript 2.0, and i put a swfloader in my AIR application, and load that menu swf file. How can i call the function in AIR from my flash menu? (click on menu item, and do certain staff in AIR. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.comYahoo! Groups Links
Re: [flexcoders] controlling a swf from SWFLoader
spot on Alex! that did the job! On 12 Jun 2008, at 06:23, Alex Harui wrote: I would try meter.content.meter_mc.gotoAndStop(), but meter.swf must be an ActionScript 3 swf published for player 9. Any player 8 or earlier content cannot be directly talked to. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mario Vieira Sent: Wednesday, June 11, 2008 3:15 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] controlling a swf from SWFLoader I'm working in a ISP Costumer Service page that allows the users to upgrade/downgrade their bandwidth. I have a swf that is a meter display, and this has a movie clip whose timeline changes this meter pointer (like a speddedometer) in accordance with the bandwidth value I kinda got Flex controlling this loaded swf movie clip, but only if the user clicks on it. Like an event that catches the movie clip. but that still doesn't do the job :o any thoughts would be well appreciated: //it's called when its respective state is reached private function getMeter():void { meter.addEventListener(MouseEvent.MOUSE_DOWN, updateMeter); } /* it finds the movie clip, and assigns it an object */ private function updateMeter(e:MouseEvent):void { //this works, but I needed it to be reachable without a click! var swfMovieClicked:Object = e.target; swfMovieClicked.gotoAndStop(_meterValue); //the loaded swf movie clip is not found through the SWFLoader object at all: //meter.meter_mc.gotoAndStop(_meterValue); }
[flexcoders] controlling a swf from SWFLoader
I'm working in a ISP Costumer Service page that allows the users to upgrade/downgrade their bandwidth. I have a swf that is a meter display, and this has a movie clip whose timeline changes this meter pointer (like a speddedometer) in accordance with the bandwidth value I kinda got Flex controlling this loaded swf movie clip, but only if the user clicks on it. Like an event that catches the movie clip. but that still doesn't do the job :o any thoughts would be well appreciated: //it's called when its respective state is reached private function getMeter():void { meter.addEventListener(MouseEvent.MOUSE_DOWN, updateMeter); } /* it finds the movie clip, and assigns it an object */ private function updateMeter(e:MouseEvent):void { //this works, but I needed it to be reachable without a click! var swfMovieClicked:Object = e.target; swfMovieClicked.gotoAndStop(_meterValue); //the loaded swf movie clip is not found through the SWFLoader object at all: //meter.meter_mc.gotoAndStop(_meterValue); }