[flexcoders] Help needed -- Reloading SWFLoader leads to Unexpected Behaviour
Hi, I have an application with multiple states. Each state changes the source of a SWFLoader present in the base state. Switching between states forces the SWFLoafer to reload the source file. Such reload results in some unexpected behaviour such as the contents of the individual SWF files are displayed incorrectly with wrong positioning. Any pointers to this issue would be helpful. Thanks & Regards, Sudha.
[flexcoders] Re: problem with the flex application in MAC
Yeah, the same link works in Windows machine. Any idea why this can happen Thanks, Sudha. --- In flexcoders@yahoogroups.com, "Sherif Abdou" <[EMAIL PROTECTED]> wrote: > > I am using a PC and getting a blank screen too and nothing happens, just wanted to let you know. > -- > Sherif Abdou > http://VadexFX.com > http://Sherifabdou.com > ----- Original Message - > From: sudha_bsb > To: flexcoders@yahoogroups.com > Sent: Monday, September 22, 2008 12:46 PM > Subject: [flexcoders] problem with the flex application in MAC > > > Hi, > > We have a strange problem with the flex application. > > We have a website developed in flex and it simply doesn't work in MAC. > > http://www.sportzhubmedia.com/arc2008/ > > The application makes extensive use of flex states. When viewed via a > Mac Osx any verion firefox or safari...gives a blank screen. > > What's been tried so far... > > --Random strip down to no states, It's only by removing all states > that it works on Safari, we do know at which point the problem is > cleared... > > Can some help us why this can happen with flex.only with MAC... > > Please help... > > Thanks, > Sudha. >
[flexcoders] problem with the flex application in MAC
Hi, We have a strange problem with the flex application. We have a website developed in flex and it simply doesn't work in MAC. http://www.sportzhubmedia.com/arc2008/ The application makes extensive use of flex states. When viewed via a Mac Osx any verion firefox or safari...gives a blank screen. What's been tried so far... --Random strip down to no states, It's only by removing all states that it works on Safari, we do know at which point the problem is cleared... Can some help us why this can happen with flex.only with MAC... Please help... Thanks, Sudha.
[flexcoders] accordion component
Hi, Is there any component out there which is similar to accordion, except that initially all accordion items will be collapsed. As we click on each accordion itemthe corresponding one expands and the rest collapse. Only initially, all the accordion items will be collapsed. Please help if there are any pointers to this or guide me in building this component... Thanks, Sudha.
[flexcoders] Re: application hangs while inserting data into sqlite database
Application still hangs even when i use asynchronous mode Any idea why this is happening... Thanks, Sudha. --- In flexcoders@yahoogroups.com, "Johannes Nel" <[EMAIL PROTECTED]> wrote: > > use sqlite asynchronous mode.also when doing several inserts getting them > into a transaction in synchronous mode speeds things up a lot > > On Sun, Sep 14, 2008 at 7:09 PM, sudha_bsb <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I am trying to insert images into sqlite database from an air > > application. The images are of size 1MB. I want to show a loading > > animation while the insert is happening. > > > > But the application just hangs while inserting data into database. It > > returns into normal mode only when the insert is complete. How can I > > make sure that the application doesn't hang while the insert happens. > > > > I want to show an animation during this time > > > > Please help, > > > > Thanks, > > Sudha. > > > > > > > > > > -- > j:pn > \\no comment >
[flexcoders] application hangs while inserting data into sqlite database
Hi, I am trying to insert images into sqlite database from an air application. The images are of size 1MB. I want to show a loading animation while the insert is happening. But the application just hangs while inserting data into database. It returns into normal mode only when the insert is complete. How can I make sure that the application doesn't hang while the insert happens. I want to show an animation during this time Please help, Thanks, Sudha.
[flexcoders] mac osx skin is flex
Hi All, Can one some one share OSX skin or css if there is anything out there. I know the following one is existing http://weblogs.macromedia.com/mc/archives/2006/05/mac_os_x-lookin.html but this has many bugs in flex3, and not available for all components. but I need a full fledged one for all the components. Please help.. Thanks, Sudha.
[flexcoders] Re: Actionscript based Modules
Hi Simon, Thanks for that one..it works now :) Thanks & Regards, Sudha. --- In flexcoders@yahoogroups.com, Simon Bailey <[EMAIL PROTECTED]> wrote: > > Right click the Project > Properties > Flex Modules > Add... add the > AS module :-) > > Cheers, > > Simon > > On 18 Aug 2008, at 11:36, sudha_bsb wrote: > > Hi, > > I was going through Livedocs about Modules in Flex and I have a few > questions. I created an ActionScript project with a few modules, > compiled them and everything works fine. > > My question is, is it possible to have both ActionScript based modules > and MXML Based modules in the same project (Flex Project). If yes, how > can I compile the Actionscript based module using Flex Builder? > > Looking forward to your replies, > > Regards, > Sudha. >
[flexcoders] Actionscript based Modules
Hi, I was going through Livedocs about Modules in Flex and I have a few questions. I created an ActionScript project with a few modules, compiled them and everything works fine. My question is, is it possible to have both ActionScript based modules and MXML Based modules in the same project (Flex Project). If yes, how can I compile the Actionscript based module using Flex Builder? Looking forward to your replies, Regards, Sudha.
[flexcoders] FlexBuilder Design View Speed
Hi, I am currently working on a project which requires me to work extensively on the design view. My project has couple of states and when I switch between states in the design view, Flex Builder stops rendering anything at all in the design view. This is crippling my productivity very seriously. I work on a system with Windows XP and a RAM of 2 GB. I have a library project open in flex builder along with the current project since my project uses the library. Is there any way I can speed up the performance of Flex Builder 3 design view? Thanks & Regards, Sudha.
[flexcoders] Re: Parsing MultiLevel Array
Hi, Thanks for the help..I cannot convert it into any other format, not even ArrayCollection. I had to parse it manually as for each( var childObj:Object in obj.children) for each of the individual object and then create the buttons accordingly. Thanks & Regards, Sudha. --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > Use a setter function to pass the data into the component, and in tht > function, perform whatever logic you need. > > Tracy > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of sudha_bsb > Sent: Wednesday, July 30, 2008 2:51 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Parsing MultiLevel Array > > > > Hi, > > I have a requirement wherin I have to parse a multilevel array. > Suppose we have an array like > > > > > > > > > > > > > > > Now, this array is a dataprovider for a component that basically > creates a list of buttons. When an array object has children the > component creates the children as well. > My question is how do I let the component know that a particular > object of its dataprovider has children? And how do I let it know > what those children are? > > I do not have the option to convert the array into XML or XMLList and > then parse it..I have to let the array remain as it is > > Thanks & Regards, > Sudha. >
[flexcoders] Parsing MultiLevel Array
Hi, I have a requirement wherin I have to parse a multilevel array. Suppose we have an array like Now, this array is a dataprovider for a component that basically creates a list of buttons. When an array object has children the component creates the children as well. My question is how do I let the component know that a particular object of its dataprovider has children? And how do I let it know what those children are? I do not have the option to convert the array into XML or XMLList and then parse it..I have to let the array remain as it is Thanks & Regards, Sudha.
[flexcoders] air sqlite image loading
Hi, I am trying to store an image into Sqlite database from an air application and also trying to display the image by reading data from the database. I am using blob datatype for this. I am getting the following error while doing it... Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type. This is what i am doing while loading the image from database...resultData is the array result from database var imgData:String = resultData[i].image; trace('imgData'+imgData); var decoder:Base64Decoder = new Base64Decoder(); decoder.decode(imgData); var byteArr:ByteArray = decoder.toByteArray(); trace('bytearr'+byteArr); var img:Image = new Image(); img.load(byteArr); obj.image = img personData.push(obj); Similary while inserting the data... var byteArr:ByteArray = new ByteArray(); byteArr.writeObject(person.image); var encoder:Base64Encoder = new Base64Encoder(); encoder.encodeBytes(byteArr); var encoded:String = encoder.toString() trace('encoder string'+encoded); var sqlInsert:String = "insert into Person values('"+person.name+"','"+person.email+"','"+encoded+"');"; Please help Thanks & Regards, Sudha.
[flexcoders] air sqlite example with BLOB datatype
Hi, Can someone share a simple example on how to store and retrieve the BLOB data from SqLite using AIR. I want to store images in the database using BLOB type, retrieve them and show them as images. Please help, Thanks, Sudha.
[flexcoders] PopUpMenu Button item click....
Hi, I am having strange problem with PopupMenuButton. I am having a popupmenubutton with submenus as its items. When I click on the parent menu item( not on the sub menu item), how can i get the index of the parent menu item on which it is clicked. Which event gets triggered for this. The itemClick event is triggered only when we click on the sub menu item which is in the last hierarchy. Similarly when i click on the submenu item, i need the index of its parent menu with respect to popumenu button. Here is the code... When I click on Inbox or Calendar menu..i need its index(0 or 1)..Similarly when I click on Personal menu item...I need Inbox index(its parent menu index.) Please help http://www.adobe.com/2006/mxml"; layout="absolute"> Thanks, Sudha.
[flexcoders] Air Desktop Gadget in vista sidebar
Hi, I want to add air widgets to the desktop sidebars like by default 1) Vista Sidebar, 2) Google Desktop 3) Yahoo Widgets. Any idea on how to achieve this... Thanks & Regards, Sudha.
[flexcoders] dispatching hitdata manually: bubble chart
Hi, I have a requirement like I need to show data tips in my chart manually, not only when the mouse is passing over data points. How to use the HitData Object so that I get the data points of the object? Basically I need to a way to dispatch the hit data manually without the mouse passing over the data point? I have a datagrid and a bubble chart. I want to click on an item in the datagrid and dispatching some kind of event/function to show datatip on the bubble chart. Please help... Thanks & Regards, Sudha.
[flexcoders] fisheye dataprovider change
Hi, I am doing this adding of images and removal of images at run time to the fisheye data provider. While adding the images fisheye works fine but after removal of one of the items...the fisheye doesn't adjust itself so that all the images occupy the space availableThe removed image space is left with out getting occupied. How can i make sure that fisheye adjusts itself after adding and removal of items at run time. Another question is, I am changing the fisheye direction ( horizontal to vertical)..fisheye width and height alignment at run time... After changing all this, if I add one more item at run timeor remove one of them... All the images overlap one over the other, and the alignment doesn't happen proper... http://flexaired.googlepages.com/ObjectDock.air This is the component I am working...if you find some time...Can you please right click on it change the dock direction and then do add docklet or remove docklet. You will know the problem more clearly. Please help Thanks & Regards, Sudha.
[flexcoders] changing AIR application width and height
Hi, How to change an AIR application width and height at run time. Also how to change the x and y coordinates at run time. I am trying to change them by accessing with this.. this.width this.height this.x this.y This is not helping always... Please help... Thanks, Sudha.
[flexcoders] Re: adding images to a panel
Thanks a lot Tim Sudha. --- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > > Sorry Sudha, > > I've never done this, but you can also set layout="absolute" on a Panel. > oops. > > -TH > > --- In flexcoders@yahoogroups.com, "Tim Hoff" wrote: > > > > > > Hi Sudha, > > > > A Panel container uses relative positioning. For absolute positioning, > > use a Canvas. > > > > -TH > > > > --- In flexcoders@yahoogroups.com, "sudha_bsb" sudha_bsb@ wrote: > > > > > > Hi, > > > > > > I have a long horizontal panel. I want to add images to it at a > > > particular position for each image. > > > > > > Say I have a panel of width 250 and height 50, with x as 0 and y as > 0 > > > > > > I want to add images at (0,0) (50,0), (150,0), (200,0) > > > > > > Setting the x and y for images is not helping. > > > > > > for(var i:int =0;i > > { > > > var img:Image = new Image(); > > > img.source = "img/separator_vert.png"; > > > img.x = i*50; > > > img.y = 0; panel.addChild(img); > > > } > > > > > > please help...am I missing something or do I need to use some other > > > container for this... > > > > > > Thanks, > > > Sudha. > > > > > >
[flexcoders] adding images to a panel
Hi, I have a long horizontal panel. I want to add images to it at a particular position for each image. Say I have a panel of width 250 and height 50, with x as 0 and y as 0 I want to add images at (0,0) (50,0), (150,0), (200,0) Setting the x and y for images is not helping. for(var i:int =0;i
[flexcoders] Fisheye component.
Hi, I am using Ely greenfield Fisheye component. I have a requirement like some of items in fisheye menu should be not be zoomed and some of them should be zoomed. I just want to keep an image divider between menu items which should be not be zoomed when the mouse moves over it. Also, is there are way to make the fish eye component more smoother than the existing one... Thanks, Sudha.
[flexcoders] Re: Flex Builder 3 Extending Design View for Custom Components
Hi Anirudh, Thank you for your reply. The link was helpful. However I was looking forward to more information on changing the design view from the swc file generated. More specifically, some information on Library functionalities such as design.xml, and changes to etc. Any information on the same would be very useful. Thanks & Regards, Sudha. --- In flexcoders@yahoogroups.com, "Anirudh Sasikumar" <[EMAIL PROTECTED]> wrote: > > Hi Sudha, > > I'm not particularly sure if this is what you're talking about: > > (Customizing components based on if it's being shown in design view or in a app) > > http://blogs.digitalprimates.net/codeSlinger/index.cfm/2007/4/9/Ah-design-view > > Cheers, > -- > Anirudh Sasikumar > http://anirudhs.chaosnet.org/ >
[flexcoders] Flex Builder 3 Extending Design View for Custom Components
Hi, For a project I have created certain custom components and compiled them into a swc. When I use this swc in a different project I would like to have a custom design view for the components inside the swc. Can I do this without using additional plugins? Also, in the following link http://www.adobe.com/products/flex/upgrade/ I find that "Design view extensibility for third-party products" is supported for flex builder 3. However, I am unable to find any documents related to the same. Any pointers would be helpful. Thanks & Regards, Sudha.
[flexcoders] Issue with PopupButton in full screen
Hi, I have an issue with popup button in full screen. I have a horizontalList in the popup window of the popup button. In Normal Screen mode the popup window comes up. But in Full Screen mode, the popup window doesn't turnup. Once u came from full screen mode to normal mode..even then the popup window doesn't show up. I am using stage.fullScreenWidth and stage.fullScreenHeight for changing the bounds of my application.( basically a flv player). But when I use stage.width and stage.height for changing the bounds, everything works fine. The popup window shows when u click on the popup button. I just want to know the difference between stage.width, stage.height and stage.fullScreenWidth and stage.fullScreenHeight...and why is it not able to show popup window when I use fullScreenWidth, fullScreenHeight. Please help... The player is at... http://tekkies.premapix.com/rambabu/flvplayer/MyVideoPlayer.html Thanks, Sudha.
[flexcoders] popupbutton direction
Hi I have a popup Button which displays a popup window when clicked. The popup window comes always below the popup button. I want the popup window to come above the pop up button. How can we achieve this. I don't want the arrow to be shown in the popup button and trigger the show and hide of popupwindow in the click of the button. I tried setting the arrowwidth to 0 but the arrow is shown when the mouse moves over it. Thanks, Sudha.
[flexcoders] Horizontal List Focus Children
Hi, How to get the focussed children component of the horizontal list. I mean when I move the mouse over the horizontal list, how can i know which children item renderer have the focus... Also how to avoid showing focus rectangle when I click on one of the children. Appreciate your help Thanks, Sudha.
[flexcoders] Air application background transparent color
Hi, I am using Ely Greenfield's Fish Eye Component. I am using that in an AIR application. I have made the application window transparent and had set the background color and background image as empty. However it is taking the default color as black and the entire window comes in black color. Also the BitmapData for each image is given as var bdata:BitmapData = new BitmapData(_imageWidth, _imageHeight, false, 0X); in BitMapTile file where 0X is the fill color. How do I specify the fill color as transparent so that only image is visible. I am using transparent jpg images in the fisheye component.
[flexcoders] Re: How can I launch windows applications like wordpad and notepad from AIR?
Hi, Thanks...That helped for outlook demo and CaptureDemo DotNetSample...I am still running out with the same error... Also Could you please explain me how to launch the System Calender Thanks, Sudha. --- In flexcoders@yahoogroups.com, Carlo Gulliani <[EMAIL PROTECTED]> wrote: > > build air file and launch it. I've got the same errors on testing level > > > - Original Message > From: sudha_bsb <[EMAIL PROTECTED]> > To: flexcoders@yahoogroups.com > Sent: Monday, May 12, 2008 9:28:30 PM > Subject: [flexcoders] Re: How can I launch windows applications like wordpad and notepad from AIR? > > > Hi Zoli, > > Thanks a lot. That was really a cool framework. > > I am facing problems with some of the applications. > > Fault: [RPC Fault faultString= "Invalid UUID apdotnet.Sample" > faultCode="Aperture .Error.InvalidUU ID" faultDetail= "Invalid class > string"] for Dotnet Sample. > > Fault: [RPC Fault faultString= "Error loading library apoutlook" > faultCode="Aperture .Error.LoadLibra ry" faultDetail= "Could not find the > key in the registry"] for OutlookDemo. .. > > Fault: [RPC Fault faultString= "Error loading library apimaging" > faultCode="Aperture .Error.LoadLibra ry" faultDetail= "Could not find the > key in the registry"] for CaptureDemo. .. > > Also could you please explain me what each sample program does... > > Thanks in Advance, > Sudha. > > --- In [EMAIL PROTECTED] ups.com, "zoltan" wrote: > > > > On windows you can do through this framework > http://aperture. fluorinefx. com/ > > > > Zoli > > > > _ > > > > From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] On > > Behalf Of sudha_bsb > > Sent: Monday, May 12, 2008 5:00 PM > > To: [EMAIL PROTECTED] ups.com > > Subject: [flexcoders] How can I launch windows applications like > wordpad and > > notepad from AIR? > > > > > > > > Hi, > > > > I have this requirement like launching native windows applications > > like Windows wordpad and notepad from an application. > > > > How Can I go about it? Is there a facility to do this in AIR 1.0? > > > > Thanks, > > Sudha. > > > > > > > > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ >
[flexcoders] Re: How can I launch windows applications like wordpad and notepad from AIR?
Hi Zoli, Thanks a lot. That was really a cool framework. I am facing problems with some of the applications. Fault: [RPC Fault faultString="Invalid UUID apdotnet.Sample" faultCode="Aperture.Error.InvalidUUID" faultDetail="Invalid class string"] for Dotnet Sample. Fault: [RPC Fault faultString="Error loading library apoutlook" faultCode="Aperture.Error.LoadLibrary" faultDetail="Could not find the key in the registry"] for OutlookDemo... Fault: [RPC Fault faultString="Error loading library apimaging" faultCode="Aperture.Error.LoadLibrary" faultDetail="Could not find the key in the registry"] for CaptureDemo... Also could you please explain me what each sample program does... Thanks in Advance, Sudha. --- In flexcoders@yahoogroups.com, "zoltan" <[EMAIL PROTECTED]> wrote: > > On windows you can do through this framework http://aperture.fluorinefx.com/ > > Zoli > > _ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of sudha_bsb > Sent: Monday, May 12, 2008 5:00 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] How can I launch windows applications like wordpad and > notepad from AIR? > > > > Hi, > > I have this requirement like launching native windows applications > like Windows wordpad and notepad from an application. > > How Can I go about it? Is there a facility to do this in AIR 1.0? > > Thanks, > Sudha. >
[flexcoders] How can I launch windows applications like wordpad and notepad from AIR?
Hi, I have this requirement like launching native windows applications like Windows wordpad and notepad from an application. How Can I go about it? Is there a facility to do this in AIR 1.0? Thanks, Sudha.
[flexcoders] Re: Webservices problem
Hi, My code looks like below: public function useTest():void{ WSTest.GetData.resultFormat="e4x"; WSTest.addEventListener("load", loadHandler); WSTest.GetData.addEventListener("result", resultHandler); WSTest.addEventListener(FaultEvent.FAULT,faultHandler); WSTest.loadWSDL(); } public function loadPostsHandler(event:LoadEvent):void{ WSPosts.GetData("Get Result"); } private function resultHandler(event:ResultEvent):void{ Alert.show(""+event.result); } private function faultHandler(event:FaultEvent):void{ Alert.show(""+event); } WSTest is the id of my WebService. I have also specified useProxy="false" I am passing in the parameters correctly. useTest() is called on every button click. The webservice works fine on the first call. It is only on the subsequent calls that an error is thrown. Thanks & Regards, Sudha. --- In flexcoders@yahoogroups.com, subeesh a <[EMAIL PROTECTED]> wrote: > > Are you passing in the parameters correctly ? . How are you passing the vaues to the webservice method. Post your code snippet here . > > > - Original Message > From: sudha_bsb <[EMAIL PROTECTED]> > To: flexcoders@yahoogroups.com > Sent: Thursday, 20 December, 2007 12:15:36 PM > Subject: [flexcoders] Webservices problem > > Hi, > I have a webservice that I invoke back to back on a button click. > On the first click the webservice returns the expected result. > However, on successive clicks, I get the following error: > > [FaultEvent fault=[RPC Fault faultString= "Array of input arguments did > not contain a required parameter at position 2" > faultCode="Client. Input" faultDetail= "null"] messageId=null > type="fault" bubbles=false cancelable=true eventPhase=2] > > I am using Flex 2.0.1 > > Could anyone help me out to resolve this issue? > > Thanks & Regards, > > Sudha. > > > > > > Chat on a cool, new interface. No download required. Go to http://in.messenger.yahoo.com/webmessengerpromo.php >
[flexcoders] Webservices problem
Hi, I have a webservice that I invoke back to back on a button click. On the first click the webservice returns the expected result. However, on successive clicks, I get the following error: [FaultEvent fault=[RPC Fault faultString="Array of input arguments did not contain a required parameter at position 2" faultCode="Client.Input" faultDetail="null"] messageId=null type="fault" bubbles=false cancelable=true eventPhase=2] I am using Flex 2.0.1 Could anyone help me out to resolve this issue? Thanks & Regards, Sudha.