[flexcoders] Re: Module Interface Problems

2007-01-29 Thread kristian_wright2002
*BUMP* Anyone have any ideas? I still haven't found a solution... K.

[flexcoders] Re: Module Interface Problems

2007-01-18 Thread kristian_wright2002
Tried strong typing, but no luck! Thanks though! K. --- In flexcoders@yahoogroups.com, Roger Gonzalez [EMAIL PROTECTED] wrote: For what its worth, it appears at first glance that your code should work. Have you tried strong typing rather than using *? var results:IResults=

[flexcoders] Re: Module Interface Problems

2007-01-18 Thread kristian_wright2002
I tried the following: private function readyModule(evt:Event):void { modResult = new Object; modResult = modMyModule2.child as IResults; if (modResult.searchResults==null){trace(NULL!);} else{trace(NOT NULL!);} modResult.searchResults = arrSearchResults; } but it crashes at the

[flexcoders] Module Interface Problems

2007-01-17 Thread kristian_wright2002
I'm having a problem passing variables from one module to another via an interface. I have an application that calls a module when it enters a specific state, which works fine. The module is loaded through mx:ModuleLoader id=modMyModule1 url=myModule1.swf and it works as expected. Within this

[flexcoders] File I/O Error - Error #2038

2006-11-06 Thread kristian_wright2002
I've seen a few posts on this error but none of them seem to solve my issue. I'm trying to upload some files via a FileReference object, with a CF backend. The CFC works fine with smaller files (eg under 300k), but with files over this size, sometimes it works, sometimes it doesn't. When it

[flexcoders] Creating variable name dynamically

2006-10-04 Thread kristian_wright2002
I'm in a situation where I need to create a number of components at runtime, at different time intervals. A user presses a button and I create a set of components. They press the button again, and another set of the same components is created. My problem is that one of the components created is

[flexcoders] Re: Interlace text over FLV video

2006-09-26 Thread kristian_wright2002
OK, new problem though I've got the text over the video and it looks fine. However I want it to repeatedly scroll from right to left across the video until the video stops playing. I'm using the Move effect, and this works ok, except the height and width of the Panel that the video is added

[flexcoders] Problem with freezing video using slider

2006-09-26 Thread kristian_wright2002
I have a VideoDisplay which loads and plays an FLV file, and an HSlider component that shows the progress of the video as it's playing. I've linked the slider to the playhead, so that if a user clicks somewhere on the slider bar, the slider moves to that position, and the playhead of the video

[flexcoders] Re: Interlace text over FLV video

2006-09-25 Thread kristian_wright2002
properties appropriately. If you have overlapping child components, the component MXML tag that is lower in the code will appear on top of the components whose tags are higher in the code. -- - - - - - Please post back if this helps. g On 9/22/06, kristian_wright2002 [EMAIL PROTECTED

[flexcoders] Interlace text over FLV video

2006-09-22 Thread kristian_wright2002
I have an FLV video which I can play using the VideoDisplay component. I want to be able to interlace some text across this video when playing it (but not have it recorded on the video itself, so I can change it when required). I can't seem to see how this is done. Adding the text as a child of

[flexcoders] Limit length of Webcam video recording

2006-09-20 Thread kristian_wright2002
I'm writing something that lets a user record streaming video from their webcam onto Flash Comm Server. However, I want to be able to set a limit on the time that they can record for (eg 1 min max). I've got the recording sorted out, but how would I go about imposing this time restriction on the

[flexcoders] Re: Limit length of Webcam video recording

2006-09-20 Thread kristian_wright2002
Thanks Abdul. Was looking into that as your answer came up! Works a treat! Cheers, K. -- 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

[flexcoders] Re: Using objects in XML

2006-09-14 Thread kristian_wright2002
@yahoogroups.com, kristian_wright2002 [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: just a guess, in your repeater try mx:ComboBox labelField=data dataProvider={rpComboBox.currentItem.dataprovider} / Didn't work - just returned

[flexcoders] Using objects in XML

2006-09-13 Thread kristian_wright2002
I'm creating a dynamic from via a repeater that creates ComboBoxes surrounded in FormItems on the fly. My XML looks like the following: combo labellabel name/label idid name/id requiredtrue/required dataprovider{arrARRAY}/dataprovider selected1/selected /combo combo /combo I

[flexcoders] Re: Using objects in XML

2006-09-13 Thread kristian_wright2002
--- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: just a guess, in your repeater try mx:ComboBox labelField=data dataProvider={rpComboBox.currentItem.dataprovider} / Didn't work - just returned an empty combobox. Also, my labels and data are different (data

[flexcoders] Re: Using objects in XML

2006-09-13 Thread kristian_wright2002
--- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: sorry i meant labelField=label --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: just a guess, in your repeater try mx:ComboBox labelField=data

[flexcoders] Creating forms at runtime

2006-09-08 Thread kristian_wright2002
I'm trying to create a form based on certain restrictions that are returned from a ColdFusion CFC. I only want certain form elements to be rendered depending on these restrictions, and these restrictions will only be known at run time. Can anyone give me an example of how this might be achieved?

[flexcoders] Re: Connecting multiple projects

2006-09-05 Thread kristian_wright2002
this convoluted description?? ;-) Cheers, K. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 04 September 2006 12:03, kristian_wright2002 wrote: Looking into making the sub apps into Library Projects now, but not sure if this is the right way to go. Been scouring

[flexcoders] Re: Connecting multiple projects

2006-09-05 Thread kristian_wright2002
OK - here we go... I have a Library Project called MyLibrary, containing 2 files: SubApp1.mxml and functions.as. Code for each shown below: SubApp1.mxml - ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute width=403

[flexcoders] Connecting multiple projects

2006-09-04 Thread kristian_wright2002
I have build a couple of different Flex projects (eg a Login project and a Webcam project) and I'd like to link them together, but I'm not sure how. I've tried adding the required projects to my main project in the main projects Project References, tried copying the sub app's application mxml

[flexcoders] Create Sound Spectrum in AS3

2006-08-31 Thread kristian_wright2002
I'm trying to create a spectrum display for microphone input/playback in ActionScript 3 but can't seem to get it to work. I understand that the SoundMixer class does not control dynamically created Sound objects, but surely there is a way around this! Has anyone done this or have any ideas on how