[flexcoders] flex time-out Issue...????
Hi, I actually want to increase the flex timeout from 15sec to max 60sec. I have tried the following ways. 1)By adding -default-script-timelimit 1000 60 in the Aditional compiler arguments of the project properties - no result. 2)By adding the !-- default-script-limits: default script execution limits (may be overridden by root attributes) -- - default-script-limits max-recursion-depth1000/max-recursion-depth max-execution-time60/max-execution-time /default-script-limits to the flex-config file in the sdk --- no result. 3) By creating my own config file and loading using -load-config in the compiler arguments in the project---no result. I m using flash builder 4.5 version. Any solution or suggestions always welcome.Earliest response is highly appreciated. Thanks Varun
[flexcoders] Flex time out issue
[flexcoders] Error running project from FB3 [1 Attachment]
Hi All, Please see attached image Error: Flash Player Not Found C:\Program Files\MpcStar\mpcstar.exe Flex Builder cannot locate the required version of the Flash Player. You might need to install Flash Player 9 or reinstall FB. After installing a Media Player, I have not been able to run the MXML Apps from my Flex Builder 3. Previously when I used to run, FB used to open up a Flash Player 9 window and run the SWF generated from MXML. Now since I installed the media player, which happens to play SWF files as well, I am unable to run my projects from FB. I have tried uninstalling that media player, installing flash player, rebooting my system, changing default application to open for SWF files. Nothing really worked. If anyone has faced this issue previously and have been able to resolve it, please let me know the trick. It would be of great help. i wish i dont have to reinstall fb. :( Thanks, Varun The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
[flexcoders] Flex Builder 3 XMLDecoding problem
Hi, I recently tried the flex builder 3 'Import web service' feature to generate web service proxy classes that return strongly typed objects. The wizard worked well for simple object types, but when used with complex types it broke down. After investigating, I found that the problem was in the XMLDecoder class. and it wasn't able to decode complex types appropriately. Searching online showed up the following Flex Bug reports filed. http://bugs.adobe.com/jira/browse/FB-12253 http://bugs.adobe.com/jira/browse/SDK-14800 http://bugs.adobe.com/jira/browse/FB-11025 http://bugs.adobe.com/jira/browse/FB-12319 has anyone encountered this and found any appropriate solution to this. any clue when this would be fixed. I am having this problem with Flex builder 3 and Oracle JAXB web services. regards, Varun Shetty
Re: [flexcoders] Re: Flex is time consuming
i usually switch off autobuild on save... and only build when i am ready.. also breaking up into swc files seem to have helped. Flex is definitely slow for me on a 4 GB RAM + 4 Core (Quadro/Xeon)Processor.. i wish there was some tweaks that would make flex use all the processors. regards, Varun On Mon, Aug 18, 2008 at 9:04 PM, Guy Morton [EMAIL PROTECTED] wrote: Maybe someone from Adobe could shed light on this? On 19/08/2008, at 11:00 AM, Douglas Knudsen wrote: I'd assume the DTD gets cached in Eclipse though. It does in other Eclipse tools at least. DK On Mon, Aug 18, 2008 at 8:25 PM, Guy Morton [EMAIL PROTECTED] wrote: Ah. That would make sense. On 19/08/2008, at 10:13 AM, Howard Fore wrote: Maybe it's using the URL in the xmlns attribute to get a DTD? On Mon, Aug 18, 2008 at 5:33 PM, Guy Morton [EMAIL PROTECTED] wrote: In my experience, Flex sometimes takes forever to compile when I'm on a lousy network. I've always wondered if it was due to it doing some http connections or DNS lookups, for reasons unknown (network licence checking perhaps?). __,_._,__ -- Howard Fore, [EMAIL PROTECTED] The universe tends toward maximum irony. Don't push it. - Jeff Atwood -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it?
Re: [flexcoders] Send crypted password
I believe you dont require to encrypt if you are already sending it in HTTPS... well u can .. just to make it more secure.. check this code base out.. mebbe it will help. http://code.google.com/p/as3crypto/ regards, Varun Shetty On Mon, Aug 18, 2008 at 5:20 PM, Aymen [EMAIL PROTECTED] wrote: Hi there, i am trying develop a project that i need to have a inscription form, the user is able to subscribe with (pseudo, password, name, ..) i need to send a encrypted password string to my MySql data base with a MD5 hash via a php server side. can you please propose to me a tranche of code, how can i do this ? Note : i use HTTPService to a php file in my server, and i send params with send method. private function insertHandler(event:UserAddEvent):void { var params:Object = new Object(); params.method =Insert; params.userId = event.slide.userId; params.nom = event.slide.nom; params.prenom = event.slide.prenom; params.pseudo = event.slide.pseudo; params.pass = event.slide.pass; - i want this encrypted inserService.send(params); Alert.show(An insert event was dispatched, Insert event); } A+
[flexcoders] Re: ASDocs problem Unable to locate specified base class
I tried to create a log of the error and here is what I got..!! at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:636) at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:662) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:487) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423) at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137) any clue, what would be the problem..!!! isnt there a ASDoc GUI tool that can just get all this right? regards, Varun Shetty On Tue, Jul 8, 2008 at 9:50 PM, Varun Shetty [EMAIL PROTECTED] wrote: Hi, I am trying to create ASDocs for my project and I am receiving the following error. pnpPanel.mxml: Error: Unable to locate specified base class 'view.panels.customPanel' for component class 'pnpPanel' any clue why would I be receiving this error? I am customizing a panel component with some features and naming it customPanel.mxml. and I use pnpPanel.xml to extend/use the customPanel component. //contents of customPanel.mxml ?xml version=1.0 encoding=utf-8? mx:Panel xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script . . . //contents of pnpPanel.mxml customPanel xmlns=view.panels.* xmlns:mx= http://www.adobe.com/2006/mxml; mx:Script . . . Is there a problem, If I have developed the project in such a manner. How else can we solve this ASDocs 'Unable to locate specified base class' issue. regards, Varun Shetty
[flexcoders] ASDocs problem Unable to locate specified base class
Hi, I am trying to create ASDocs for my project and I am receiving the following error. pnpPanel.mxml: Error: Unable to locate specified base class 'view.panels.customPanel' for component class 'pnpPanel' any clue why would I be receiving this error? I am customizing a panel component with some features and naming it customPanel.mxml. and I use pnpPanel.xml to extend/use the customPanel component. //contents of customPanel.mxml ?xml version=1.0 encoding=utf-8? mx:Panel xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script . . . //contents of pnpPanel.mxml customPanel xmlns=view.panels.* xmlns:mx=http://www.adobe.com/2006/mxml mx:Script . . . Is there a problem, If I have developed the project in such a manner. How else can we solve this ASDocs 'Unable to locate specified base class' issue. regards, Varun Shetty
Re: [flexcoders] fixed sized VBox
specify height in pixels to the VBox and dont keep it blank or in percentage. (percentage should be good too, but can create a problem) regards, Varun Shetty On Sat, Jun 7, 2008 at 11:00 PM, hworke [EMAIL PROTECTED] wrote: Hi I have declared a VBox which is a child of a canvas and the height of the VBox is 30% of the canvas. Now I am dynamically adding linkButtons in this VB. But the buttons total hight exceeds that of VB, the VB starts to expand which I do not want. I want a V scroll bar to appear instead. How do I do that? Regards
[flexcoders] Flex 2 Development on Flex 3
Hi, I want to use some flex 3 builder IDE features and my current project is developed in Flex 2. Can I port my application (Without any changes) and use Flex 3 IDE. I believe I will have to use backward compatibility flags to do this. http://learn.adobe.com/wiki/display/Flex/Backwards+Compatibility+Issues has anyone played with this and found any issues. Flex 3 IDE features that I want to use are. - Refactoring - memory and performance profilers My application is using a lot of RAM, any best practices document that I can use, will be really helpful. Also, is there a way we can check for available ram in flash or javascript and redirect users to appropriate (html) version of the application. thank you Varun Shetty
Re: [flexcoders] pulling my hair out with e4x!!!
make sure that your xml is wellformed it did work for me. --- code ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical initialize=runthis(); mx:Script ![CDATA[ public var debugModel:XML = mergefields display=Merge Fields employees display=Employees node display=Employee First Name data=Employee_234234-234234-234234-234234 / node display=Employee Last Name data=Employee_234234-234234-234234-234234 / node display=Employee First Name data=Employee_1212121-121212-12121-12112121 / node display=Employee Last Name data=Employee_1212121-121212-12121-12112121 / /employees /mergefields; public function runthis():void { var fieldNode:XMLList = debugModel.employees.node.(attribute(display) == Employee First Name); trace(fieldNode); } ]] /mx:Script /mx:Application --- code On Tue, Apr 15, 2008 at 11:43 AM, Derrick Anderson [EMAIL PROTECTED] wrote: can someone please explain why this does not return an XMLList? public var debugModel:XML = mergefields display=Merge Fields employees display=Employees node display=Employee First Name data=Employee_234234-234234-234234-234234 / node display=Employee Last Name data=Employee_234234-234234-234234-234234 / . var fieldNode:XMLList = debugModel.employees.node.(attribute(display) == Employee First Name); but this does... public var thePeople:XML = people person name=Mims Wright suffix=III age27/age akaMims H Wright/aka akaTeh AWesoeomes!/aka bio/bio /person . var fieldNode:XMLList = thePeople.person.(attribute(suffix) == III); i've tried a million different variations and i cannot get it to work with my XML- what am i doing wrong here? thanks, d.
[flexcoders] Loading XML in preloader/ before application onComplete
Hi, I am creating a flex application that has its UI elements and some basic data that are dependent upon a config.xml. Loading the config.xml on application preinitialize/initialize/onComplete would not be appropriate as my application preloading would be complete and I still dont see any UI elements on the screen. Creating second preloader on initialize would not look that great. I am pretty sure we can load the XML in the preloader and delay/deffer the application instantiation. Just not sure how to go about it and what API's should I look for or where exactly should I use them. Appreciate a lead on how to go about it. Thank you, Varun Shetty
Re: [flexcoders] Loading XML in preloader/ before application onComplete
Wow, that is pretty descriptive... thank you very much Rico...! umm.. so Extending the downloadprogressbar class is the way... I will try it out in sometime. Thank you very much for your help.. regards, Varun Shetty On Thu, Apr 3, 2008 at 1:26 PM, Rico Leuthold [EMAIL PROTECTED] wrote: Extend the DownloadProgressBar Class (name it e.g myPreloader) and override the preloader: override public function set preloader(value:Sprite):void { value.addEventListener(FlexEvent.INIT_COMPLETE, FlexInitComplete); // I added my download function to the INIT_COMPLETE event } Write sometihing like this as the event handler: private function FlexInitComplete(event:Event):void { Security.loadPolicyFile([you'll need a policy file I guess]); var getXMLReq:URLRequest = new URLRequest(http:// [whatever].xml); var xmlLoader:URLLoader = new URLLoader(); xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded); xmlLoader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler); try { xmlLoader.load(getXMLReq); } catch (error:Error) { trace(Unable to load requested document.); Alert.show(Security error + error.errorID.toString()); } } Then sth. like this ... private function xmlLoaded(event:Event):void { var loader:URLLoader = URLLoader(event.target); var theXML:XML = new XML(loader.data); } Check the DownloadProgressBar doc for some more events to complete the process In the Application tag set your preloader Application . . preloader=myPreloader . . / Hope that helps somehow ... for me it works. On 03.04.2008, at 17:28, Varun Shetty wrote: Hi, I am creating a flex application that has its UI elements and some basic data that are dependent upon a config.xml. Loading the config.xml on application preinitialize/initialize/onComplete would not be appropriate as my application preloading would be complete and I still dont see any UI elements on the screen. Creating second preloader on initialize would not look that great. I am pretty sure we can load the XML in the preloader and delay/deffer the application instantiation. Just not sure how to go about it and what API's should I look for or where exactly should I use them. Appreciate a lead on how to go about it. Thank you, Varun Shetty
Re: [flexcoders] Re: pause not working in sequence of Iris effects?
can you simulate your problem in someway and post the code.. i am much more efficient in fixing the problem when i see one .. :) regards, Varun Shetty On Wed, Mar 5, 2008 at 1:57 PM, Brian [EMAIL PROTECTED] wrote: Hi, thanks for your reply. What is the importance of ending the effect? I tried creating a canvas outside the main canvas, and putting the iris effects on that canvas. It didn't appear to make a difference. I put the loop in to _simulate_ the work that my app is doing in the middle of the sequence, which I thought was the cause of the delay in the 2nd effect. I'm using the startDelay property. When I use the startDelay property, it almost works. However, during the pause between the effects, the canvas is drawn onto the screen when the updates are done, and then the 2nd effect runs. I thought that setting autoLayout = false was supposed to prevent this. How can I update that canvas and not have it drawn on the screen? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Varun Shetty [EMAIL PROTECTED] wrote: heya ... well couple of things i did.. cleaned ur code.. 'cause i dont like it with warnings on my flex .. :D (u dont have to do it) created a canvas outside the map.. since u are doing too many things on the map canvas . i would recommend keeping it separate from the iris effect.. also you need to end your effects effectively. i would never recommend putting a for loop to simulate a delay. there is startDelay property to make a delay. check the script below .. mebbe it solves ur problem. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=initApp() mx:Script ![CDATA[ import mx.events.EffectEvent; import mx.controls.Button; private function initApp():void { irisHideCanvas.addEventListener(EffectEvent.EFFECT_END, handleIrisEnd); irisShowCanvas.addEventListener(EffectEvent.EFFECT_START, handleIrisStart); irisShowCanvas.addEventListener(EffectEvent.EFFECT_END, resetAll); } private function addImages():void { for(var i:int = 0; i50; i++) { var button:Button = new Button(); button.label = Button + i; button.x = getIntBetween(0, map.width); button.y = getIntBetween(0, map.height); map.addChild(button); } } private function resetAll(event:EffectEvent):void { irisHideCanvas.end(); irisShowCanvas.end(); } private function clearAndNew():void { irisHideCanvas.end(); irisShowCanvas.end(); irisHideCanvas.play(); } private function handleIrisStart(event:EffectEvent):void { map.visible = true; } // try to clear all the map's children AFTER the irisHideCanvas //effect is done private function handleIrisEnd(event:EffectEvent):void { map.removeAllChildren(); map.visible = false; addImages(); irisShowCanvas.play(); } // returns an int 0 = result top private function nextInt(top:int):int { var temp:int = Math.round(Math.random()*1000); return temp % top; } private function getIntBetween(bottom:int, top:int):int { if(bottom = top) { return bottom; } else { return bottom + nextInt(1) % (1+top-bottom); } } ]] /mx:Script mx:Iris id=irisHideCanvas duration=1000 showTarget=false target={outerCanvas} / mx:Iris id=irisShowCanvas startDelay=500 duration=1000 showTarget=true target={outerCanvas}/ mx:Canvas id=outerCanvas mx:Canvas id=map x=10 y=10 width=360 height=201 backgroundColor=#00 visible={cb1.selected} /mx:Canvas /mx:Canvas mx:Button x=58 y=219 label=Add Images click=addImages()/ mx:Button x=160 y=219 label=Clear Images click=clearAndNew()/ mx:CheckBox id=cb1 x=266 y=221 label=visible selected=true/ /mx:Application On Mon, Mar 3, 2008 at 12:36 PM, Brian [EMAIL PROTECTED] wrote: I posted this last Friday. I'm bumping to try to get you smart people to take another look at this, earlier in the week; hope that's ok. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.comflexcoders%40yahoogroups.com, Brian briforge@ wrote: I'm trying to get a sequence of Iris effects working. I think I'm this '' close but just have one bug I can't squash. I made the following example to post here to show what I'm doing, but unfortunately it's not reproducing the error. What I've got is a Canvas full of objects. At a certain point, I want to wipe (not the effect) the canvas clean, and then re-populate it with a few new objects. I'm doing a sequence of Iris effects to hide the canvas, then do the processing of removing objects and adding new ones, then use the iris effect to re-show the canvas. The bug is, there is a delay on the iris effect when showing the canvas. It often re-appears about halfway done, instead of the smooth hide-and-show in this example. I thought the event handling of the handleIrisHideEnd with the pause
Re: [flexcoders] Re: pause not working in sequence of Iris effects?
heya ... well couple of things i did.. cleaned ur code.. 'cause i dont like it with warnings on my flex .. :D (u dont have to do it) created a canvas outside the map.. since u are doing too many things on the map canvas . i would recommend keeping it separate from the iris effect.. also you need to end your effects effectively. i would never recommend putting a for loop to simulate a delay. there is startDelay property to make a delay. check the script below .. mebbe it solves ur problem. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=initApp() mx:Script ![CDATA[ import mx.events.EffectEvent; import mx.controls.Button; private function initApp():void { irisHideCanvas.addEventListener(EffectEvent.EFFECT_END, handleIrisEnd); irisShowCanvas.addEventListener(EffectEvent.EFFECT_START, handleIrisStart); irisShowCanvas.addEventListener(EffectEvent.EFFECT_END, resetAll); } private function addImages():void { for(var i:int = 0; i50; i++) { var button:Button = new Button(); button.label = Button + i; button.x = getIntBetween(0, map.width); button.y = getIntBetween(0, map.height); map.addChild(button); } } private function resetAll(event:EffectEvent):void { irisHideCanvas.end(); irisShowCanvas.end(); } private function clearAndNew():void { irisHideCanvas.end(); irisShowCanvas.end(); irisHideCanvas.play(); } private function handleIrisStart(event:EffectEvent):void { map.visible = true; } // try to clear all the map's children AFTER the irisHideCanvas //effect is done private function handleIrisEnd(event:EffectEvent):void { map.removeAllChildren(); map.visible = false; addImages(); irisShowCanvas.play(); } // returns an int 0 = result top private function nextInt(top:int):int { var temp:int = Math.round(Math.random()*1000); return temp % top; } private function getIntBetween(bottom:int, top:int):int { if(bottom = top) { return bottom; } else { return bottom + nextInt(1) % (1+top-bottom); } } ]] /mx:Script mx:Iris id=irisHideCanvas duration=1000 showTarget=false target={outerCanvas} / mx:Iris id=irisShowCanvas startDelay=500 duration=1000 showTarget=true target={outerCanvas}/ mx:Canvas id=outerCanvas mx:Canvas id=map x=10 y=10 width=360 height=201 backgroundColor=#00 visible={cb1.selected} /mx:Canvas /mx:Canvas mx:Button x=58 y=219 label=Add Images click=addImages()/ mx:Button x=160 y=219 label=Clear Images click=clearAndNew()/ mx:CheckBox id=cb1 x=266 y=221 label=visible selected=true/ /mx:Application On Mon, Mar 3, 2008 at 12:36 PM, Brian [EMAIL PROTECTED] wrote: I posted this last Friday. I'm bumping to try to get you smart people to take another look at this, earlier in the week; hope that's ok. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Brian [EMAIL PROTECTED] wrote: I'm trying to get a sequence of Iris effects working. I think I'm this '' close but just have one bug I can't squash. I made the following example to post here to show what I'm doing, but unfortunately it's not reproducing the error. What I've got is a Canvas full of objects. At a certain point, I want to wipe (not the effect) the canvas clean, and then re-populate it with a few new objects. I'm doing a sequence of Iris effects to hide the canvas, then do the processing of removing objects and adding new ones, then use the iris effect to re-show the canvas. The bug is, there is a delay on the iris effect when showing the canvas. It often re-appears about halfway done, instead of the smooth hide-and-show in this example. I thought the event handling of the handleIrisHideEnd with the pause and resume would have taken care of this, but it acts as if there is no pause, and the removing-and-adding of canvas objects is happening at the same as the 2nd iris effect. Any ideas? Thanks ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=initApp() mx:Script ![CDATA[ import mx.events.EffectEvent; import mx.controls.Button; function initApp() { irisHideCanvas.addEventListener(EffectEvent.EFFECT_END, handleIrisEnd); } function addImages() { for(var i:int = 0; i5; i++) { var button:Button = new Button(); button.label = Button + i; button.x = getIntBetween(0, map.width); button.y = getIntBetween(0, map.height); map.addChild(button); } } function clearAndNew() { irisSequence.play(); } // try to clear all the map's children AFTER the irisHideCanvas effect is done function handleIrisEnd(event:EffectEvent) { irisSequence.pause();
Re: [flexcoders] Re: Move effect
Hi, i am sorry.. i didnt see this reply. here.. check this code for anim with tweener. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute frameRate=60 mx:Script ![CDATA[ import caurina.transitions.*; private function movePanels(xPos:Number):void { Tweener.addTween(panelsBox, {time:1, x:(xPos+10), transition:'easeInOutSine'}); } ]] /mx:Script mx:HBox width={Application.application.width} height={ Application.application.height} horizontalScrollPolicy=off paddingBottom=10 paddingLeft=10 paddingRight=10 paddingTop=10 mx:HBox id=panelsBox paddingBottom=0 paddingLeft=0 paddingRight=0 paddingTop=0 mx:Panel id=panel1 x=10 y=10 height={ Application.application.height-20} width={Application.application.width-20} horizontalAlign=center verticalAlign=middle title=Panel 1 mx:Label text=Panel 1 X Position: {panel1.x}/ mx:Button label=Move to Panel 2 click=movePanels(-panel2.x)/ /mx:Panel mx:Panel id=panel2 title=Panel 2 x={ panel1.x+panel1.width+40} y=10 height={Application.application.height-20} width={ Application.application.width-20} horizontalAlign=center verticalAlign=middle mx:Label text=Panel 2 X Position: {panel2.x}/ mx:HBox mx:Button label=Move to Panel 1 click=movePanels(-panel1.x )/ mx:Button label=Move to Panel 3 click=movePanels(- panel3.x )/ /mx:HBox /mx:Panel mx:Panel id=panel3 title=Panel 3 x={panel2.x+panel2.width+40} y=10 height={Application.application.height-20 } width={ Application.application.width-20} horizontalAlign=center verticalAlign=middle mx:Label text=Panel 3 X Position: {panel3.x}/ mx:Button label=Move to Panel 2 click=movePanels(- panel2.x)/ /mx:Panel /mx:HBox /mx:HBox /mx:Application Change the 'time' value to control the speed. and instead of 'easeInOutSine' you can use the following parameters. linear, easeInSine, easeOutSine, easeInOutSine, easeOutInSine, easeInQuad, easeOutQuad, easeInOutQuad, easeOutInQuad, easeInCubic, easeOutCubic, easeInOutCubic, easeOutInCubic, easeInQuart, easeOutQuart, easeInOutQuart, easeOutInQuart, easeInQuint, easeOutQuint, easeInOutQuint, easeOutInQuint, easeInExpo, easeOutExpo, easeInOutExpo, easeOutInExpo, easeInCirc, easeOutCirc, easeInOutCirc, easeOutInCirc, easeInElastic, easeOutElastic, easeInOutElastic, easeOutInElastic, easeInBack, easeOutBack, easeInOutBack, easeOutInBack, easeInBounce, easeOutBounce, easeInOutBounce, easeOutInBounce umm.. do not forget to have the tweener classes in ur project folder. regards, Varun Shetty www.paranoidart.com On Jan 24, 2008 10:39 PM, jovialrandor [EMAIL PROTECTED] wrote: Varun, this is exactly what I needed! A few questions. 1. Do you have examples of tweener class for movements? 2. Can I set the speed of the movement in the following example? Thanks! --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Varun Shetty [EMAIL PROTECTED] wrote: here... try this out.. mebbe this is something u required. the stuff u required just intrigued me.. so .. jus made one.. Although, I hate the basic flash fx api's... i would rather use the tweener class for movements.. but ..i jus didn't want you to see another bunch of code make this simple for you.. btw. resize the window and try moving too. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ private function movePanels(xPos:Number):void { myMovPans.end(); myMovPans.xTo = xPos+10; myMovPans.play(); } ]] /mx:Script mx:Move id=myMovPans target={panelsBox}/ mx:HBox width={Application.application.width} height={ Application.application.height} horizontalScrollPolicy=off paddingBottom=10 paddingLeft=10 paddingRight=10 paddingTop=10 mx:HBox id=panelsBox paddingBottom=0 paddingLeft=0 paddingRight=0 paddingTop=0 mx:Panel id=panel1 x=10 y=10 height={ Application.application.height-20} width={Application.application.width-20} horizontalAlign=center verticalAlign=middle title=Panel 1 mx:Label text=Panel 1 X Position: {panel1.x}/ mx:Button label=Move to Panel 2 click=movePanels(- panel2.x)/ /mx:Panel mx:Panel id=panel2 title=Panel 2 x={panel1.x+panel1.width+40} y=10 height={Application.application.height-20} width={ Application.application.width-20} horizontalAlign=center verticalAlign=middle mx:Label text=Panel 2 X Position: {panel2.x}/ mx:HBox mx:Button label=Move to Panel 1 click=movePanels(- panel1.x )/ mx:Button label=Move to Panel 3 click=movePanels(- panel3.x )/ /mx:HBox /mx:Panel mx:Panel id=panel3 title=Panel 3 x={panel2.x+panel2.width+40} y=10 height={Application.application.height-20} width={ Application.application.width-20} horizontalAlign
[flexcoders] Customizing DateCooser/DateField Component
Hi, Is it possible to customize DateCooser/DateField component in flex to a calendar component similar to *kayak.com* or many other such sites that would display two month for a date selection.. well i saw the properties/methods of datefield ... and it certainly didnt look possible. I had to hack into the component by duplicating the component and copying some of the framework files to my flex project folder. towrds the end I could do it... but then .. i am worried about the default accessibliity features given by flex and many more things they would have done to get this component to perfection.. me jus hacking and getting it to look like a calendar i want .. would screw up a whole lot of features and i would never have the time to spend on a single component to test it like adobe does. so again... am i missing something.. is there a way to get the default DateChoose/DateField component to look like the calendar component in kayak.com... regards, Varun Shetty
[flexcoders] Accessing Methods of a Custom Components
Hi, I made a custom component and I am populating an hbox with custom component using actionscript. so if 'coptions' is the custom component.. i am doing this for (var i:int=0;i10;i++){ var temp:coptions = new coptions(); hbox.addChild(temp); } now i can view the custom components within the hbox. but i have a public function named 'visState' within the custom component coption. i want to call them through a button. How do i call them? i tried calling like this ... hbox.getItemAt(2).visState(); but it didnt work.. i tried many other options... but none worked.. any clue what should i be doing.. ? also any insights on how to make global eventdispatchers..? regards, Varun
Re: [flexcoders] Accessing Methods of a Custom Components
I love you..!!! Thanks for the lead. well since it was a custom component. I had to use some part of the code from both Tracy and Jim. so it was something like var tempOptions:coptions = hbox.getItemAt(2) as coptions; tempOptions.visState(); // this worked flawlessly after the above line... here this is what I was trying. http://www.paranoidart.com/lab/flex/001/index.html // click on the 'show details' btn.. right click to view the source. I had another question mebbe, i will post it in a different thread.. regards, Varun Shetty On Jan 29, 2008 7:42 PM, Tracy Spratt [EMAIL PROTECTED] wrote: Another way is to maintain a reference to each child you instantiate in some structure. An associative array (Object) is very handy as it simplifies referencing those instances. var uicChildOfHB:UIComponent = oDynamicChildArray[myChildIdString] Tracy -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Jim Hayes *Sent:* Tuesday, January 29, 2008 6:59 PM *To:* flexcoders@yahoogroups.com *Subject:* RE: [flexcoders] Accessing Methods of a Custom Components did you try container.getChildAt(index) e.g. hbox.getChildAt(2) to use your example ? It may of course have other children, and you don't test type in your post, so maybe something like : for (var i=0; ihbox.numChildren;i++) { if (hbox.getChildAt(i) is coptions) { hbox.getChildAt(i).visState(); } } would prevent any errors you might be seeing. but I think adding an event listener to each coptions instance would be a nicer, cleaner way to call that method... -Original Message- From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com on behalf of Varun Shetty Sent: Tue 29/01/2008 23:34 To: [EMAIL PROTECTED] flex_india%40googlegroups.com; flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Subject: [flexcoders] Accessing Methods of a Custom Components Hi, I made a custom component and I am populating an hbox with custom component using actionscript. so if 'coptions' is the custom component.. i am doing this for (var i:int=0;i10;i++){ var temp:coptions = new coptions(); hbox.addChild(temp); } now i can view the custom components within the hbox. but i have a public function named 'visState' within the custom component coption. i want to call them through a button. How do i call them? i tried calling like this ... hbox.getItemAt(2).visState(); but it didnt work.. i tried many other options... but none worked.. any clue what should i be doing.. ? also any insights on how to make global eventdispatchers..? regards, Varun __ This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577. This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person. This email has been scanned for Primal Pictures by the MessageLabs Email Security System. __
Re: [flexcoders] Move effect
here... try this out.. mebbe this is something u required. the stuff u required just intrigued me.. so .. jus made one.. Although, I hate the basic flash fx api's... i would rather use the tweener class for movements.. but ..i jus didn't want you to see another bunch of code make this simple for you.. btw. resize the window and try moving too. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ private function movePanels(xPos:Number):void { myMovPans.end(); myMovPans.xTo = xPos+10; myMovPans.play(); } ]] /mx:Script mx:Move id=myMovPans target={panelsBox}/ mx:HBox width={Application.application.width} height={ Application.application.height} horizontalScrollPolicy=off paddingBottom=10 paddingLeft=10 paddingRight=10 paddingTop=10 mx:HBox id=panelsBox paddingBottom=0 paddingLeft=0 paddingRight=0 paddingTop=0 mx:Panel id=panel1 x=10 y=10 height={ Application.application.height-20} width={Application.application.width-20} horizontalAlign=center verticalAlign=middle title=Panel 1 mx:Label text=Panel 1 X Position: {panel1.x}/ mx:Button label=Move to Panel 2 click=movePanels(-panel2.x)/ /mx:Panel mx:Panel id=panel2 title=Panel 2 x={panel1.x+panel1.width+40} y=10 height={Application.application.height-20} width={ Application.application.width-20} horizontalAlign=center verticalAlign=middle mx:Label text=Panel 2 X Position: {panel2.x}/ mx:HBox mx:Button label=Move to Panel 1 click=movePanels(-panel1.x )/ mx:Button label=Move to Panel 3 click=movePanels(-panel3.x )/ /mx:HBox /mx:Panel mx:Panel id=panel3 title=Panel 3 x={panel2.x+panel2.width+40} y=10 height={Application.application.height-20} width={ Application.application.width-20} horizontalAlign=center verticalAlign=middle mx:Label text=Panel 3 X Position: {panel3.x}/ mx:Button label=Move to Panel 2 click=movePanels(-panel2.x)/ /mx:Panel /mx:HBox /mx:HBox /mx:Application regards, Varun Shetty On Jan 17, 2008 7:09 AM, Hem S [EMAIL PROTECTED] wrote: Irrespective of screen resolution the components can be moved from outside of the flex application. mx:Move id=moveIn xFrom={-can.width } yFrom=0 duration=1000 / mx:Move id=moveOut / mx:Button click=can.visible=can.visible?*false*:* true*/ mx:Canvas id=can width= 400 height=400 visible=false showEffect= {moveIn} hideEffect={moveOut } mx:List/ /mx:Canvas -- Regards, Hemadri S www.hemadri.info On Jan 16, 2008 5:18 PM, jovialrandor [EMAIL PROTECTED] wrote: How can I specify any Flex component to move out of the screen if i do not know the screen resoluction of the end user beforehand? Is there some Move value like '-1' that indicates to move out of any size screen? Thanks
Re: [flexcoders] Killing Browser based popups
i believe it would be best to create some url encoding parameters in the php page that is there. If you send a no parameters which are used in other applications currently. it would open the popup.. but sending a specific url encoded parameter from flex .. can make it stop.. jus an idea.. no clue if u can edit ur php page or not. regards, varun On Jan 17, 2008 5:06 PM, markcavins [EMAIL PROTECTED] wrote: Hey, I have this flex app that accesses an existing backend program to get it's information. One of the fail safes we have in this backend is a browser based pop up that will activate if a user enters the wrong username or password. I don't want to alter this behavior in the PHP because it is needed elsewhere but I don't want to have write a separate login page when this one returns everything I need to make this app work. What I am wondering is if there is a way to have flex override this browser popup so that it doesn't show and just the flex warnings do. Any help would be great Thanks
[flexcoders] How to Access Child Objects and its properties...?
I am creating some flex components through action script. And I want to access the x position of these components. These components are created within an HBox (personDetails) so they get an x position on its own and it is not an absolute value. But I would like to retrieve these x values from an button outside the component. well, i am not sure if u can name components/sprite/movieclips in flex..? currently on the script below.. you can see i have not named them, So how do i access each of these components..? any leads will be really helpful. private function createPassengerMenu():void { personDetails.removeAllChildren(); for (var i:Number=0;itotalPassengers;i++){ var dtiPersonal:dtiPersonalDetails = new dtiPersonalDetails(); dtiPersonal.dtiPersonalId = (i+1); dtiPersonal.driTotPass = Number(totalPassengers); dtiPersonal.addEventListener(nextItem, sharedDataHandler); personDetails.addChild(dtiPersonal); } regards, Varun Shetty
Re: [flexcoders] Re: Moves Flex mouse cursor to a new position in the stage
If you mean to move the system mouse cursor to a new position. no it is not possible. 'cause it would be a security breach to the system. Flash Sandbox would not allow any such activity. Mebbe in Adobe AIR you can .. not really sure about that. regards, Varun Shetty On Jan 17, 2008 4:43 PM, flexawesome [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, flexawesome [EMAIL PROTECTED] wrote: Hey there, Is there a way to move the mouse cursor to a new location in the Flex application? Any sample code please? Cheers any suggestions? thanks
[flexcoders] Styling Custom Components
Hi, how do i style custom components? Well i do realize that I cna have a style on the main application and apply it to the custom component, but what if i want to specify the style within the component itself. e.g. I am making a input field which has 3 visual states. active, active and selected, selected visual state. and of course would love ur comments on the other coding aspect too for the flex mxml below. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical themeColor=haloGreen mx:Style .basicTxt { borderColor: #71a100; color: #055598; fontSize: 10; fontWeight: bold; paddingLeft: 2; padding-Top: -5; } .txtOnSet { borderStyle: solid; borderColor: #8dc900; backgroundColor: #e8f4cc; color: #055598; paddingLeft: 2; fontSize: 10; fontWeight: bold; } .txtInSelection { borderColor: #71a100; color: #055598; fontSize: 10; paddingLeft: 2; fontWeight: bold; } /mx:Style mx:Script ![CDATA[ import mx.controls.TextInput; private function editInTxt(event:FocusEvent):void { event.currentTarget.setStyle(styleName ,txtInSelection); event.currentTarget.text = ; } private function editOutTxt(event:FocusEvent):void { event.currentTarget.setStyle(styleName ,txtOnSet); } ]] /mx:Script mx:Panel paddingBottom=10 paddingLeft=10 paddingRight=10 paddingTop=10 backgroundColor=#e8f4cc height=400 mx:VBox verticalGap=3 mx:HBox horizontalGap=3 mx:TextInput id=titleTxt styleName=basicTxt text=Title focusIn=editInTxt(event); focusOut=editOutTxt(event); height=19 width=65/ mx:TextInput id=frtName styleName=basicTxt text=First Name focusIn=editInTxt(event); focusOut=editOutTxt(event); height=19 width=100/ mx:TextInput id=surName styleName=basicTxt text=Surname focusIn=editInTxt(event); focusOut=editOutTxt(event); height=19 width=100/ mx:TextInput id=bday styleName=basicTxt text=Birthday focusIn=editInTxt(event); focusOut=editOutTxt(event); height=19 width=62/ /mx:HBox mx:HBox horizontalGap=3 mx:TextInput id=telTxt styleName=basicTxt text=Telephone focusIn=editInTxt(event); focusOut=editOutTxt(event); height=19 width=110/ mx:TextInput id=MobTxt styleName=basicTxt text=Mobile (optional) focusIn=editInTxt(event); focusOut=editOutTxt(event); height=19 width=110/ mx:TextInput id=emailTxt styleName=basicTxt text=E-Mail focusIn=editInTxt(event); focusOut=editOutTxt(event); height=19 width=110/ /mx:HBox mx:HBox horizontalGap=3 mx:TextInput id=houTxt styleName=basicTxt text=House Name/Number focusIn=editInTxt(event); focusOut=editOutTxt(event); height=19 width=160/ mx:TextInput id=posTxt styleName=basicTxt text=Postal Code focusIn=editInTxt(event); focusOut=editOutTxt(event); height=19 width=80/ mx:Button label=Get Address width=90 height=19/ /mx:HBox mx:HBox horizontalGap=3 mx:TextInput id=addTxt styleName=basicTxt text=Address focusIn=editInTxt(event); focusOut=editOutTxt(event); height=19 width=243/ mx:HBox horizontalAlign=center width=90 mx:Button id=nxt label=Next height=19/ /mx:HBox /mx:HBox /mx:VBox /mx:Panel /mx:Application what i am trying is to see if i can create an custom text input box, which would have the style built within the custom component itself. regards, Varun shetty
RE: [flexcoders] Using Remoting on Flex 2.0
Thank you, Daniel, Julian and Hank. The links provided was of great help, I could finally make a Flex-OpenAMF connection and use the flex charts to generate a chart too. This link was the best. http://www.adobe.com/devnet/flex/articles/flex2_amfphp_03.html Now next lemmie try Flex with FDS to get the same result.. not really sure how to go about it, but will give it a shot first.. :) Thank you, Regards, VARUN SHETTY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Wabyick Sent: Friday, October 06, 2006 8:33 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Using Remoting on Flex 2.0 Here is a link to another article describing how to connect Flex 2 to an AMF0 back-end implementation. I found it particularly helpful. You can ignore the back-end AMFPHP part of the article, and just use your OpenAMF backend, which I have used succesfully as well. http://www.adobe.com/devnet/flex/articles/flex2_amfphp_03.html Also, I highly recommend getting yourself a robust Flash remoting debugging tool. This will allow you to easily see what Remoting calls (and all other HTTP traffic) that are going over the wires. http://www.xk72.com/charles/ Cheers, -Daniel p.s. to clarify, FDS does provide Flash Remoting capabilities as well. I prefer it to OpenAMF as its better documented and more cleanly implemented. The issue with it is that it is not free if you are creating a multi-CPU application. hank williams wrote: I found the link to renaun's website with the remoteObjectAMF0 tool: http://renaun.com/blog/?p=31 http://renaun.com/blog/?p=31 Hope this helps, Regards Hank On 10/6/06, Varun Shetty [EMAIL PROTECTED] mailto:varun.shetty%40mphasis.com wrote: Thank you Hank, The link provided by greg was too confusing and didn't see it solving my concern. I will try FDS and AMF to generate the chart. I am not really relied or hooked upon only using flex and openamf directly. didn't find anything specific by renaun... but I'll keep searching.. Thanks for the lead. Thank you, Regards, VARUNSHETTY From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com] On Behalf Of hank williams Sent: Friday, October 06, 2006 3:20 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: Re: [flexcoders] Using Remoting on Flex 2.0 I dont think the referenced article here is really on point to the question for a variety of reasons, the most important of which is that it is based on using FDS which he explicitly stated he doesnt want to use. Also the article is for constructing Data Acess Objects, but presumably, since he was already doing this in flash 8, he has remote functions already written which he just wants to use with his new flex code. The issue is a simple question of AMF0 remoting in flex. I gave up on using AMF0 and am currently using FDSExpress and AMF3 to do remoting. But there are some tools and articles about how to do this. There is, I believe, an article on this somewhere on the adobe website. There was also some code written by renaun (I hope I have that spelling right) that will, as I understand it, help you to do this, though, I have not yet gotten it working. That doesnt mean it doesnt work, but just that I have not focused on that part of my app recently. I think if you search the archives for renaun, AMF0 and amfphp and remoting, you will find references to discussions about this that will be helpful. Hank On 10/5/06, greg h [EMAIL PROTECTED] mailto:flexsavvy%40gmail.com wrote: Varun, Congratulations on getting your remoting configuration working with Flash 8. Getting it working Flex 2 likely will be pretty straightforward from here. I currently am not using Java as backend on my Flex 2 apps. But I do think the following article might walk you through the remaining steps: Automatically generating code for Flex 2 data access http://www.adobe.com/devnet/flex/articles/daoflex.html http://www.adobe.com/devnet/flex/articles/daoflex.html The article focuses on using Flex 2 with RemoteObject against Java backends. The article is very tightly written and includes downloadable code. And best of all, the article is a how-to for using DAOFlex, an open-source tool that generates Flex and Java code for you :-) hth, g On 10/5/06, Varun Shetty [EMAIL PROTECTED] mailto:varun.shetty%40mphasis.com wrote: Hi, I do not have a CF server, I have installed OpenAMF on Tomcat server. With flash 8 I have been able to connect to the server and get the data. Data is coming from a Java call which would load return an array of date and values, that I am using to generate a chart custom built by me. Currently I am trying a POC
[flexcoders] Using Remoting on Flex 2.0
Do I need flex data services for Remoting in Flex? Can anyone lead me to an example code for Java - OpenAMF Remoting using FLEX 2.0 Thank you, Regards, VARUN SHETTY -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Using Remoting on Flex 2.0
Hi, I do not have a CF server, I have installed OpenAMF on Tomcat server. With flash 8 I have been able to connect to the server and get the data. Data is coming from a Java call which would load return an array of date and values, that I am using to generate a chart custom built by me. Currently I am trying a POC to generate the chart in flex using the same call. I am a newbie with Flex, and I have managed to learn the builder tools. But I have failed to understand or find any running example to connect to a Remoting service. Any example to the code would be helpful. Also what all calls should I use, then I can use the flex help to understand it more. Thank you, Regards, VARUN SHETTY -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Thursday, October 05, 2006 2:16 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Using Remoting on Flex 2.0 On Thursday 05 October 2006 08:59, Varun Shetty wrote: Do I need flex data services for Remoting in Flex? No, not to CF at least - you only need the latest CF server (7.0.2). -- Tom Chiverton Helping to revolutionarily initiate impactful applications This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Error Opening URL on Flash Remoting. - not a flex question
NOT A FLEX QUESTION, I am using Flash 8 How do I trap an event when the URL doesn't exist i.e. if a server is down? I am doing flash Remoting where I am connecting to a particular server with openamf installed on port 7092 var myURL = http://224.157.15.16:7092/openamf/gateway;; I am not sure if Remoting makes a connection over http like webservice. But apparently if it is not then the connection can get blocked due to some firewall or security software installed on a client's machine. The onStatus function also doesn't throw up an error But the output window would show Error opening URL http://224.157.15.16:7092/openamf/gateway; I tried different tricks but wasn't been able to trap it...!! any clue how I can ? Btw. Currently one of my client overseas cannot see the application running, but the rest can. I am presuming it is the port being blocked. 'cause for testing I change the port or make a wrong connection it too does give me an Error opening URL on output window but doesn't trap the error anywhere else so that I can show an appropriate message. Thank you, Regards, VARUN SHETTY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pat Buchanan Sent: Thursday, October 05, 2006 10:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Open CF generated PDF report in new window from Flex? I'm converting an old CF app over to Flex. I have dozens of .CFR reports I want to call - they generate PDF not FlashPaper. I'm sure this is easy, and I'm over thinking it, but how do I post some data to new window that calls a CFR or other existing web page? What are the different ways people are doing this? I need to POST not GET the data to the pages. My first thought was to use an ExternalInterface call, but I've read that FireFox does not work with this method too well and I'm not sure how to POST with it to a new window. My next thought was to call back to JavaScript in the parent window and have it post for me. However, I'm not quite sure how and if this is a hack. Am I over-thinking this? Is there a simpler way? I've searched for hours. Thanks for your help -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] script running structure
What is the script running structure? Will the MX:Script run and load first before the flex structure loads.. ? Or does the flex structure load first ? I am trying to load an XML using AS 3.0 and then populate it to an datagrid obj on screen? Any good example for that been trying it for sometime..!! And can I load an image in the header tab of the datagrid component? Thank you, Regards, VARUNSHETTY. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___