[flex_india:17354] Re: Quiz Builder application in Flex

2008-12-12 Thread Venkat Viswanathan
This could be a good starting point: http://blog.flexexamples.com/2007/10/17/creating-a-simple-multiple-choice-quiz-using-the-radiobutton-and-radiobuttongroup-controls/ -- Regards, Venkat www.venkatv.com On Sat, Dec 13, 2008 at 12:18 AM, rjoshicool wrote: > > I want to create a quiz builder

[flex_india:17353] Re: Accessing function of a component from main Application

2008-12-12 Thread Venkat Viswanathan
You can access the function from the component using "parentDocument". Usage: parentDocument.functionName() Just ensure that the function is public. Although you can access it this way, it will make your component more tightly-coupled. And it is always recommended to create loosely coupled compo

[flex_india:17352] Re: Accessing function of a component from main Application

2008-12-12 Thread Ganesh r
create as file and call the component check action script for example On 12/13/08, rjoshicool wrote: > > > I want to access a function, which i have written in the script tags > in my component, from my main application. How can I achieve this? > > Regards, > Rahul Joshi > http://www.rjdesignz.co

[flex_india:17351] Quiz Builder application in Flex

2008-12-12 Thread rjoshicool
I want to create a quiz builder type application in flex in such a manner that, the user can specify what will be the questions, the answers, how many checkboxes, radio buttons and all.. Any idea how should i proceed for the same? like some resources or tutorials i can follow? --~--~-~--~-

[flex_india:17350] Accessing function of a component from main Application

2008-12-12 Thread rjoshicool
I want to access a function, which i have written in the script tags in my component, from my main application. How can I achieve this? Regards, Rahul Joshi http://www.rjdesignz.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

[flex_india:17349] Re: Advanced data grid problem

2008-12-12 Thread Venkat Viswanathan
Hi raj, Can you try doing this.dataProvider.refresh() after say 500 milliseconds after you set the dataprovider? Regards, Venkat www.venkatv.com On Fri, Dec 12, 2008 at 3:25 PM, raj wrote: > > Hi, > > Thanks for ur reply > > But I could not solve the problem > I am using hierarchicalData . I

[flex_india:17348] Re: WebCam port Porblem

2008-12-12 Thread Venkat Viswanathan
Yeah... Doing Camera.getCamera() again is the only solution. Good question Jeethu... why would anyone do that... and if he does that and sees that doing that messes the application.. he wont do it again ;) Regards, Venkat www.venkatv.com On Fri, Dec 12, 2008 at 3:29 PM, Jeethu Karthik wrote: >

[flex_india:17347] Re: How to use flex-messaging.jar in mxml or as file

2008-12-12 Thread Venkat Viswanathan
Hi Kiran, Those JAR files are supposed to be processed at the server. Flex Builder can process only SWC files that are placed inside the lib folder. Basically you can use only SWCs as library files inside Flex Builder. Can you tell us exactly what are you trying to do? Regards, Venkat www.venkat

[flex_india:17346] Re: Sample application with Flex

2008-12-12 Thread Ganesh r
can you paste the code here On Thu, Dec 11, 2008 at 5:00 PM, Vinod M. Jacob wrote: > > Make sure your server is running.Also check what Anand suggested. > Have you set the compiler arguments as -services services-config.xml > > > > On Thu, Dec 11, 2008 at 4:32 PM, > wrote: > > > > it is not

[flex_india:17345] Re: Web Service+Flash+Crossdomain.xml implementation

2008-12-12 Thread Ganesh r
Hi Kir chk this step if it is flash player 9 or above. Right click go to 2nd tab click advance button it will take u to the adobe flashplayer settings it is your local flash player security settings go to gloabl security settings panel always trust files in these locations: edit location add loca

[flex_india:17344] Re: How to add node for ContextMenuItem

2008-12-12 Thread Venkat Viswanathan
Hi Natarajan, Yes, Vinod is right... Flash natively doesn't support sub-menus in contextMenu. However, there is a hack to it. Download Source Let me know this solves your purpose... or you need something else... Regards

[flex_india:17343] Re: Web Service+Flash+Crossdomain.xml implementation

2008-12-12 Thread Ganesh r
Hi Nir 1. just open the page in the browser. 2. right click go to player settings 3. add the folder that you trying to access using option that is fix your security issue. regards ganesh On Fri, Dec 12, 2008 at 4:15 PM, Vinod M. Jacob wrote: > > What is the error you are getting ?Which Server

[flex_india:17342] Re: How to add node for ContextMenuItem

2008-12-12 Thread Vinod M. Jacob
I don`t think Flash Player support nested context-menu items. On Fri, Dec 12, 2008 at 4:48 PM, natarajan santosh wrote: > Hi friends > I need how to add node for ContextMenuItem in ContextMenu > Eg) > here "Add" is the ContextMenuItem . i want to add child nodes for > ContextMenuItem > Add I

[flex_india:17341] Re: Problems with FullScreen.

2008-12-12 Thread Jeethu Karthik
Thats not a bug but a security restriction. In AIR there is full Keyboard support in full screen mode. And in Flash player 10 there is a limited Keyboard support. -- Jeethu Karthik J http://jeethukarthik.com Chevy Chase - "Parrots make great pets. They have more personality than goldfish."

[flex_india:17340] Re: Create custom layout container

2008-12-12 Thread Jeethu Karthik
Simple. Use the addChild() method of the Panel and add the canvas to it as a child. -- Jeethu Karthik J http://jeethukarthik.com Robert Orben - "Older people shouldn't eat health food, they need all the preservatives they can get." On Fri, Dec 12, 2008 at 3:46 PM, Lord wrote: > > Thank, >

[flex_india:17339] Re: Refreshing an image

2008-12-12 Thread Nattu M
Hi santhosh, Please use the code below: private var t:Number = getTimer(); private var imageSource:String = "../images/noImage.jpg?"+t So everytime it will try to load a updated image Check it Nattu On Fri, Dec 12, 2008 at 1:44 PM, dolly wrote: > > Hi, > > I am trying to update an image af

[flex_india:17336] Re: Refreshing an image

2008-12-12 Thread gaurav rai
use this block of code.it'll work.. On Fri, Dec 12, 2008 at 1:44 PM, dolly wrote: > > Hi, > > I am trying to update an image after changing its path, i have turned > off the browser caching, also tried setting > > cacheAsBitmap="false" cachePolicy="off" for the image. > >

[flex_india:17337] Re: Refreshing an image

2008-12-12 Thread gaurav rai
use this block of code.it'll work... On Fri, Dec 12, 2008 at 1:44 PM, dolly wrote: > > Hi, > > I am trying to update an image after changing its path, i have turned > off the browser caching, also tried setting > > cacheAsBitmap="false" cachePolicy="off" for the image. >

[flex_india:17335] Re: Itemrenderer in Datagrid

2008-12-12 Thread kumar
Hi there, To manupulate the data its better to read data in to an ArrayCollection and then assign this to the DataGrid as the dataProvider , where the ArrayCollection is Bindable, so if ur doing this then any changes to the ArrayCollection will reflect the DataGrid as it is binded , so we got man

[flex_india:17334] Re: Problems with FullScreen.

2008-12-12 Thread kumar
Hi there, This is not a problem , this is a feature, when we switch to full screen the text input is restricted and we cannot make a text input on full screen mode, so don't panic its not allowed that's it , so remedy is text input without full screen mode. regards, kumar. On Dec 12, 3:25 pm, "

[flex_india:17333] How to use flex-messaging.jar in mxml or as file

2008-12-12 Thread kiran singh
Hi, I have placed the flex-messaging.jar in flex builder lib path . And i am trying to import the jar in mxml or as file and use it. -- N.Kiran Singh mca --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Flex India

[flex_india:17332] Itemrenderer in Datagrid

2008-12-12 Thread sheetal
Hi, i am using CheckBox as Itemrenderer in a Datagrid.I want the list of items from the grid whose checkboxes are selected.How do i get the row of the datagrid where the check box is selected.Plz share if ne idea. --~--~-~--~~~---~--~~ You received this message beca

[flex_india:17331] Lauch Air app from another air app.

2008-12-12 Thread Saravanan
Hi all, I am in a situation to launch Flex air app from Flash Air app.. the reason is i had done with 90% of project in Flash and i need to use switchboard and merapi in my project... so i could able to lauch Flex air from flash air would be great.. any suggestions or sample... thanks in advanc

[flex_india:17330] Re: Adding two array collections in action script

2008-12-12 Thread kiran singh
Thanks alot Vinod for quick response.It has worked. Thanks, Kiran Singh MCA On Fri, Dec 12, 2008 at 4:19 PM, Vinod M. Jacob wrote: > > Try this: > public function copyArrayCollection (src1:ArrayCollection, > src2:ArrayCollection):ArrayCollection > { > var result:ArrayCollection = new > ArrayColl

[flex_india:17329] Re: Refreshing an image

2008-12-12 Thread Vinod M. Jacob
As Elango suggested add some randomly generated item to your sorce path of the image. On Fri, Dec 12, 2008 at 3:46 PM, Harish S wrote: > > Hi, > > imageSource is a variable and it should be made [Bindable] > > so the code will look somthing like > [Bindable] public var imageSource:String; > > If

[flex_india:17328] Re: Adding two array collections in action script

2008-12-12 Thread Vinod M. Jacob
Try this: public function copyArrayCollection (src1:ArrayCollection, src2:ArrayCollection):ArrayCollection { var result:ArrayCollection = new ArrayCollection(src1.source.concat(src2.source)); return result; } On Fri, Dec 12, 2008 at 2:55 PM, kiran singh wrote: > > Hi, > > Suggest me an example

[flex_india:17327] Re: Web Service+Flash+Crossdomain.xml implementation

2008-12-12 Thread Vinod M. Jacob
What is the error you are getting ?Which Server are you using ? On Fri, Dec 12, 2008 at 10:20 AM, nir wrote: > > Currently i'm working on one project in which i'm using webserive > method with flash to fetch data from SQL server. but when i'm runnig > my HTML page inside which i'm embedded my fl

[flex_india:17326] Applying mask for Images

2008-12-12 Thread mahesh
Hi all, i want to apply mask for images to add the colors at run- time.my images are dragging from one container and it will dropped into canvas and i will apply Transformtool for imagesand i need to select all the images(GROUP, UNGROUP) . I know there is one option "allowMultip

[flex_india:17325] Resize of image on drag and drop.

2008-12-12 Thread purni
Hi all, I cannot able to resize an image while i drag and drop.. Drag and drop alone works fine.. but if i do Resize using a resizehandler i cannot able to provide a soruce property from the xml i use to load the images.. I am having a tile list and a canvas.. from tile list i m dropping images

[flex_india:17324] Re: Create custom layout container

2008-12-12 Thread Lord
Thank, ok it's ok... i created myclass that extend LayoutContainer also i've a panel mypanel tahat extends panel and here i would use myclass... how can i rich this? regards Lord On 12 Dic, 10:55, "Jeethu Karthik" wrote: > As you said, create a class extending the LayoutContainer class. > >

[flex_india:17322] Re: Refreshing an image

2008-12-12 Thread Harish S
Hi, imageSource is a variable and it should be made [Bindable] so the code will look somthing like [Bindable] public var imageSource:String; If that wont resolve your prob then instead of img.load(newPath); do... img.source = newPath; Regards, Harish. On 12/12/2008, Elango wrote: > > try ad

[flex_india:17321] Re: WebCam port Porblem

2008-12-12 Thread Jeethu Karthik
When you create a new Camera object, the object knows the webcam to be in a usb port. When you remove it and connect it to another port, flash player will only look at the first usb port and not the second. A solution would be to reinstantiate the camera object during runtime when you have reconne

[flex_india:17320] Re: Advanced data grid problem

2008-12-12 Thread raj
Hi, Thanks for ur reply But I could not solve the problem I am using hierarchicalData . I am not using GroupCollection. I've pasted my code here. Here after dragging a row from data grid, need to copy n times and display in tree format first time I am getting the answer. but after that this func

[flex_india:17319] Re: Create custom layout container

2008-12-12 Thread Jeethu Karthik
As you said, create a class extending the LayoutContainer class. Next override the protected function updateDisplayList. Call the super.updateDisplayList function. Then write your own custom layout logic. -- Jeethu Karthik J http://jeethukarthik.com Jay Leno - "The reason there are two senat

[flex_india:17318] Re: Design Problem

2008-12-12 Thread Jeethu Karthik
I dont think borderMetrics can be set at runtime. You have to mathematically set the size and update during resize it through the resize event of the canvas. -- Jeethu Karthik J http://jeethukarthik.com Chevy Chase - "Parrots make great pets. They have more personality than goldfish." On Fri

[flex_india:17317] Adding two array collections in action script

2008-12-12 Thread kiran singh
Hi, Suggest me an example for adding two array collection in action script. Thanks, Kiran Singh mca --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email

[flex_india:17316] Re: Refreshing an image

2008-12-12 Thread Elango
try adding a timer to the path. public function refreshImage(newPath):void { imageSource = newPath + "?tme="+new Date(); img.load(newPath); } On Dec 12, 1:14 pm, dolly wrote: > Hi, > > I am trying to update an image after changing its path, i have turned > off the browser caching, also

[flex_india:17315] Design Problem

2008-12-12 Thread reji
Hai all, i created a canvas using createChildern() method.So how can i set left,right,top,bottom property in action script,For anchor for that canvas.If any one know help me out... regards reji --~--~-~--~~~---~--~~ You received this message because

[flex_india:17314] Create custom layout container

2008-12-12 Thread Lord
Hi all, i would create a custom layout container? for example my class customcontainer extends LayoutContainer.. how do this? thanks Lord --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Flex India Community" gr

[flex_india:17313] Re: WebCam port Porblem

2008-12-12 Thread pradeep.pa...@gmail.com
Hi Venkat, Yes, i mean when i unplug the webcam from USB port when the aplication is running and reconnect it to another USB port, the video doesnot resume On Dec 12, 12:19 am, "Venkat Viswanathan" wrote: > Hi Pradeep, > > You mean you remove the webcam from the USB port when your application i

[flex_india:17312] Refreshing an image

2008-12-12 Thread dolly
Hi, I am trying to update an image after changing its path, i have turned off the browser caching, also tried setting cacheAsBitmap="false" cachePolicy="off" for the image. Yet, the image do not get refreshed immediately. I have also tried img.load(newPath). Does anyone know how can this prob