Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

flexcoders · RIA Development with Adobe Flex

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 12335
  • Category: Development
  • Founded: Mar 17, 2004
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 144901 - 144930 of 165719   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#144901 From: "christophe_jacquelin" <christophe_jacquelin@...>
Date: Wed Jul 1, 2009 7:54 am
Subject: Button with skin
christophe_j...
Send Email Send Email
 
Hello,

I am searching example on how to make a gradient skin on a button with an image
for the button.

Thank you,
Christophe,

#144902 From: Sam Lai <samuel.lai@...>
Date: Wed Jul 1, 2009 9:14 am
Subject: Re: The Blueprint Eclipse plug-in is live on Adobe Labs
samuel337
Send Email Send Email
 
I'm surprised at the lack of reaction for this on this list.

I'm impressed - looks to be quite useful; just need to add it into my workflow.

The examples are good when dealing with completely unfamiliar classes,
but I often forget what a certain property/method in a certain class
does/returns, and the code hinting/completion in FB3 isn't very
helpful most of the time.

It would be neat if there could be a quick shortcut button to switch
between examples and a condensed version of the flex class reference
(allow me to select if multiple classes are relevant), similar to how
Netbeans and to a lesser extent Eclipse Java works. That would save me
a lot of time going back and forth between FB3 and my browser as I do
now.

2009/6/23 jrunrandy <ranielse@...>:
> If you get a minute, please check out Blueprint, which we released on
> Adobe Labs a couple of weeks ago. Blueprint is an innovative code-centric
> search application, initially delivered as an Eclipse plug-in.
>
> It is a custom search tool that searches only for code (for now, it
> searches just for MXML and ActionScript). So, for example, if you
> search for DataGrid, it returns a set of code examples that use the
> Flex DataGrid control. But what's really cool is that you can easily
> highlight, copy, and paste chunks of code right into your
> application, all without leaving Flex/Flash Builder.
>
> For more information, see the Blueprint page
> (http://labs.adobe.com/technologies/blueprint/) on Adobe Labs
>
> (FYI, Blueprint now works for Flex Builder 3 and Flash Builder 4)
>
> Regards,
> Randy Nielsen
> Flex Doc Manager
>
>
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location:
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f\
6847
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
>
>
>
>

#144903 From: niamath basha <niamathbasha@...>
Date: Wed Jul 1, 2009 9:42 am
Subject: LCDS and JMS topics
niamathbasha
Send Email Send Email
 
hi all,
I have an Active MQ server which will publish messages ( STOCK.NYSE.GOOG, STOCK.NYSE.IBM.....)
and in Flex (using LCDS) i have to dynamically subscribe for STOCK.NYSE.GOOG or STOCK.NYSE.IBM
i hve to get data for the subscribed topics only but now i am not able to subscribe for specific topic
i can just subscribe to STOCK so by this i will get all messages published on STOCK.

With Regards,
Niamath Basha

#144904 From: Jeffry Houser <jeff@...>
Date: Wed Jul 1, 2009 11:41 am
Subject: Re: Re: item renderer in ComboBox not consistent
reboog711
Send Email Send Email
 

  Use the dataChange event.  Even if the data changes, the renderer is not re-created and creationComplete will not run again. 

Mic wrote:
Hi Jeff, what this does is set the background color of the renderer's VBox and therefore the line shading to gray if the label text begins with an asterisk .... we want to highlight these paricular rows in the list. I know what you are saying about creationComplete() only running once, but I was thinking the renderer would have to redo itself on a scroll because the viewable area had changed.
--- In flexcoders@yahoogroups.com, Jeffry Houser <jeff@...> wrote:
It looks like you are trying to change the background color of the label so that you have alternating colors, is that correct? This won't work due to render recycling. Renderers are re-used. There is not a single renderer for every item in your dataProvider. CreationComplete complete only runs once. You might try code like this on the dataChange event. Or using updateComplete. Or google it and discover the alternatingItemColors style: http://blog.flexexamples.com/2007/08/17/alternating-row-colors-in-a-flex-list-control/
Mic wrote:
I thought this might work --- fine until I start scrolling when it gets totally out of wack. The trace does fire occasionally while scrolling but not consistently. Appreciate some hints. TIA,
Mic.
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" horizontalScrollPolicy="off">
<mx:Script>
<![CDATA[
private function labelComplete():void{
trace("Here");
if(label1.text.substr(0,1) == "*"){
this.setStyle("backgroundColor", 0xe8e8e3);
}else{
this.setStyle("backgroundColor", 0xFFFFFF);
}	}	]]>
</mx:Script>
<mx:Label id="label1" text="{data.cmplx_nm}" creationComplete="labelComplete()" />
</mx:VBox>
------------------------------------
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
-- Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711 | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust

------------------------------------
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
<*> 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:flexcoders-digest@yahoogroups.com mailto:flexcoders-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
flexcoders-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

-- Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711 | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust

#144905 From: Kevin Carlson <kevinlcarlson@...>
Date: Wed Jul 1, 2009 7:33 am
Subject: Audio recording using AIR
kevinlcarlson
Send Email Send Email
 
Hello,

I'd like to develop an AIR application which allows users to make audio recordings on their PC with a USB microphone, then either store the audio files locally (for later upload) or stream using Flash Media Server or Red5.

Is this feasible?  Any commercial products to facilitate this? 

Thanks!
Kevin



#144906 From: "markgoldin_2000" <markgoldin_2000@...>
Date: Wed Jul 1, 2009 12:30 pm
Subject: Re: Reading a 2D barcode
markgoldin_2000
Send Email Send Email
 
A quick Googling:
http://www.download3k.com/System-Utilities/Automation-Tools/Download-bcWebCam-Re\
ad-Barcode-with-Web-Cam.html

That means that yes, you can read barcodes with a web cam and the barcode gets
entered into an active appication's active field. Just like if you would read a
barcode with a keyboard scanner.

HTH

--- In flexcoders@yahoogroups.com, Clint Tredway <grumpee@...> wrote:
>
> I have been looking for an actionscript library to read 2D barcodes but I
> have not run across one yet. Does anyone know of a library, and if so, do
> you mind sharing?
>
> Thanks!
>
> --
> "When you choose hope, anything is possible."
> -Christopher Reeve
>

#144907 From: "Jeffrey EF Friedl" <jfriedl@...>
Date: Wed Jul 1, 2009 12:43 pm
Subject: Can I abort a print job after start() has returned?
jfriedl
Send Email Send Email
 
Using flash.printing.PrintJob, after start() I check to see whether the user has
set the exact printing parameters needed for a successful print, and if not, I'd
like to abort the print and send the user an Alert about the print requirements.

However, I can't figure out how to kill the print job, other than to let it time
out. I'd think there'd be a printJob.abort() or the like, but I don't see it.

I'd appreciate pointers to set me on the proper path.
Thanks,
    Jeffrey

#144908 From: Jeffry Houser <jeff@...>
Date: Wed Jul 1, 2009 12:48 pm
Subject: Re: Audio recording using AIR
reboog711
Send Email Send Email
 

 I'm not sure of complete specifics, but I thought Ribbit supported something like this  Wasn't sure if they support computer mics or you have to use a phone. 
 AudioSpike may support something like this, I'm not sure. 
 I thought Digimix also did this sort of thing, but I have no idea if it ever got a release.


Kevin Carlson wrote:
Hello,

I'd like to develop an AIR application which allows users to make audio recordings on their PC with a USB microphone, then either store the audio files locally (for later upload) or stream using Flash Media Server or Red5.

Is this feasible?  Any commercial products to facilitate this? 

Thanks!
Kevin



-- Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711 | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust

#144909 From: j2me_soul <j2me_soul@...>
Date: Wed Jul 1, 2009 12:52 pm
Subject: How apply a closeButtonSkin style to flex Application
j2me_soul@...
Send Email Send Email
 
I use Flash make a Flex skin.
Everythins is fine, but only the closeButtonSkin style can't apply to the Titlewindow component.
I import the Flex skin swc into the project. The CSS is produced automatically. I didn't change anything.
The code is:
TitleWindow
{
 borderSkin: Embed(skinClass="Panel_borderSkin"); 
 closeButtonSkin: Embed(skinClass="Panel_closeButtonSkin"); 
 controlBarBackgroundSkin: Embed(skinClass="Panel_controlBarBackgroundSkin");  
}

 
 


 



200ÍòÖÖÉÌÆ·,×îµÍ¼Û¸ñ,·è¿ñÓÕ»óÄã

#144910 From: "valdhor" <valdhorlists@...>
Date: Wed Jul 1, 2009 1:14 pm
Subject: Re: how can you make the icon in an AdvancedDataGridGroupItemRenderer accept clicks?
valdhor
Send Email Send Email
 
I'm glad you found an easy way to get the functionality you wanted.

According to the docs, mouseEnabled defaults to true. I wonder why the ADGGIR
constructor sets it to false? Also, why don't the docs reflect this?

I just wanted to say that if you still wanted the functionality from
AdvancedDataGridGroupItemRenderer and you wanted extra functionality, you can
extend AdvancedDataGridGroupItemRenderer for your renderer. Best of both worlds
;-)



--- In flexcoders@yahoogroups.com, Pan Troglodytes <chimpathetic@...> wrote:
>
> Well, the main reason I wouldn't want to write my own itemRenderer is that
> AdvancedDataGridGroupItemRenderer does a lot of stuff I wouldn't want to
> have to reinvent.  It also interacts with stuff like iconFunction that would
> be annoying to re-implement.  Plus, there's the fact that there's a high
> likelihood that what I wrote would be much less efficient.
>
> But good news!  I found a simple way to achieve what I want:
>
> <?xml version="1.0" encoding="utf-8"?>
> <Application
>   xmlns="http://www.adobe.com/2006/mxml"
>   >
>   <Script>
>     <![CDATA[
>       // put any icon you want in the embed below, doesn't matter
>       [Bindable] [Embed(source="imageA.png")] private var imgClass:Class;
>
>       private function geticon(item:Object):Class
>       {
>         return imgClass;
>       }
>     ]]>
>   </Script>
>   <AdvancedDataGrid iconFunction="geticon" itemClick="trace('itemclick')"
> click="trace('gridclick')">
>     <groupItemRenderer>
>       <Component>
>         <AdvancedDataGridGroupItemRenderer mouseEnabled="true"/>
>       </Component>
>     </groupItemRenderer>
>     <dataProvider>
>       <HierarchicalData childrenField="subitems" source="{[{label:'test'},
> {label:'test2'}]}"/>
>     </dataProvider>
>     <columns>
>       <AdvancedDataGridColumn dataField="label"/>
>      </columns>
>   </AdvancedDataGrid>
> </Application>
>
> The key was setting mouseEnabled=true.  It is set to false in the
> constructor for ADGGIR.  I'm not sure why, and I am a little worried that I
> may be messing up something important.  So far I haven't noticed any odd
> behavior.  But if anyone knows a good reason WHY mouseEnabled is set this
> way, please followup.
>
>
> On Mon, Jun 29, 2009 at 11:13 AM, valdhor <valdhorlists@...>wrote:
>
> >
> >
> > Why not just use an itemRenderer?
> >
> > AFAIK. you can't capture a mouse event on a Class object as it does not
> > implement iEventDispatcher. I suppose you could extend Class and implement
> > iEventDispatcher but I have never tried it.
> >
> >
> > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, Pan
> > Troglodytes <chimpathetic@> wrote:
> > >
> > > No ideas on how to do this at all?
> > >
> > > On Tue, Jun 9, 2009 at 4:13 PM, Pan Troglodytes <chimpathetic@>wrote:
> >
> > >
> > > > I've got a bit of a problem and haven't been able to figure it out.
> > When
> > > > using hierarchical views with ADG, I find that the icon can't be
> > clicked on
> > > > to select the row. I can't figure out how to capture a click on the
> > icon at
> > > > all.
> > > >
> > > > <?xml version="1.0" encoding="utf-8"?>
> > > > <Application
> > > > xmlns="http://www.adobe.com/2006/mxml"
> > > > >
> > > > <Script>
> > > > <![CDATA[
> > > > // put any icon you want in the embed below, doesn't matter
> > > > [Bindable] [Embed(source="imageA.png")] private var imgClass:Class;
> > > >
> > > > private function geticon(item:Object):Class
> > > > {
> > > > return imgClass;
> > > > }
> > > > ]]>
> > > > </Script>
> > > > <AdvancedDataGrid iconFunction="geticon" itemClick="trace('itemclick')"
> > > > click="trace('gridclick')">
> > > > <dataProvider>
> > > > <HierarchicalData childrenField="subitems" source="{[{label:'test'},
> > > > {label:'test2'}]}"/>
> > > > </dataProvider>
> > > > <columns>
> > > > <AdvancedDataGridColumn dataField="label"/>
> > > > </columns>
> > > > </AdvancedDataGrid>
> > > > </Application>
> > > >
> > > > If you click anywhere but the icon, the gridclick and itemclick events
> > both
> > > > fire. But if you click on the icon, you get only the gridclick. And the
> > > > gridclick event doesn't get anything useful for target/currentTarget,
> > as far
> > > > as I can tell.
> > > >
> > > > The main thing I really want to do is have clicking on the icon select
> > the
> > > > row, just like clicking anywhere else will do. Tangentially, it would
> > be
> > > > nice to know how to capture the event in case I wanted to do something
> > > > different with clicking on the icon.
> > > >
> > > > --
> > > > Jason
> > > >
> > >
> > >
> > >
> > > --
> > > Jason
> > >
> >
> >
> >
>
>
>
> --
> Jason
>

#144911 From: "valdhor" <valdhorlists@...>
Date: Wed Jul 1, 2009 1:20 pm
Subject: Re: date format according to the location client Browser
valdhor
Send Email Send Email
 
date.toLocaleString ?


--- In flexcoders@yahoogroups.com, "mhbmarcos" <mhbmarcos@...> wrote:
>
> Hi!!!,
> how to display date values with the format according the location client
browser?.
> My app is web.
>
> Regards
>

#144912 From: "ACasualObserver" <pofpof@...>
Date: Wed Jul 1, 2009 2:10 pm
Subject: UITextField alignment question
ACasualObserver
Send Email Send Email
 
I need to place a text in a ActionScript 3 project. The supplied X and Y is left
and baseline coordinates. I use UITextField and subtracted its baselinePosition
from Y. This places the text very close to where it should be vertically but not
the exact location (text displayed a little higher). Horizontal position is not
accurate neither and text is positioned a little to the right of supplied X. I
could not find any property in UITextField or TextFormat to correct this.

Any idea?

Thanks

#144913 From: Daniel Freiman <FreimanCQ@...>
Date: Wed Jul 1, 2009 2:24 pm
Subject: Re: UITextField alignment question
FreimanCQ@...
Send Email Send Email
 
Are you accounting for the 2 pixel border of the textfield?

- Daniel Freiman

On Wed, Jul 1, 2009 at 10:10 AM, ACasualObserver <pofpof@...> wrote:


I need to place a text in a ActionScript 3 project. The supplied X and Y is left and baseline coordinates. I use UITextField and subtracted its baselinePosition from Y. This places the text very close to where it should be vertically but not the exact location (text displayed a little higher). Horizontal position is not accurate neither and text is positioned a little to the right of supplied X. I could not find any property in UITextField or TextFormat to correct this.

Any idea?

Thanks



#144914 From: Besite - Bart <bart@...>
Date: Wed Jul 1, 2009 2:46 pm
Subject: Re: LCDS / Tomcat : port 2038 already in use
bart@...
Send Email Send Email
 
Maybe there is someone from Adobe on the list that can answer this question ?
On the change log of Livecycle it was listed as a known bug, is there a solution, workaround ? and will the problem be fixed in the next version of Livecycle ?

Kind regards
Bart Ronsyn


Hello,

We are running a Livecycle application that runs in Tomcat 6 environment (Our livecycle version is 2.6.1).  Our application makes use
of Data Management Service and Messaging Service (and so underlying there are rtmp connections on port 2038 and port 2039)

We are facing a problem restarting tomcat... The Tomcat log shows the following error :

"SocketServer 'my-rtmp-SocketServer' cannot bind to accept client connections on port '2038' because another process has already bound the port. Please ensure that multiple "

This error occurs when clients are still connected to our Application while restarting Tomcat.
Even if we kill the processes that bind to port 2038, the port is not released. 

We now have a "workaround" : we stop Tomcat,  we wait until the port is finally given free (sometimes it takes about three minutes) and then
we start Tomcat again...  However, this is not an option in our production environment, because we want to be able to deploy a new version in less than a minute..

I suppose some of you have encountered this problem ? If you have a solution for this problem,.. please let us know ;

Thank you !
Bart Ronsyn




#144915 From: "vin.flex" <vin.flex@...>
Date: Wed Jul 1, 2009 2:54 pm
Subject: very urgent PlZZZZZZZ Accessing webservices
vin.flex
Send Email Send Email
 
Hi there,

         I got an urgent situation. I have developed a flex app
accessing the data through webservices developed in C# .NET.
webservices and my flex app reside in two different boxes.
and webservices are not available for outside public.

Everthing is working fine within the network. But when I access in
production it is not able to load the WSDL.

Can any body tell me how to make a request to the load webservice
from the box hosting flex app(may be using proxies)?

any help will be really appreciated.

thanks
vin

#144916 From: "lanekelly5" <lkellyv@...>
Date: Wed Jul 1, 2009 3:00 pm
Subject: Navigating to a new child in a ViewStack - how to target the child being hidden?
lanekelly5
Send Email Send Email
 
I'm putting together a prototype of an app and I have a ViewStack that is being
controlled by a button toolbar.  In each of these views there is a video player.
What I need to do is to pause the video in the view that is being hidden.  I see
the change event triggered when I change views, but it seems that the target
reference passed in via the event parameter is the new view.  Is there an easy
way to get a reference to the view being hidden?  Or is there a different event
triggered (something like a deactivate) that I can use to create a handler with
a passed in reference to the departing view?

Thanks.

#144917 From: "ACasualObserver" <pofpof@...>
Date: Wed Jul 1, 2009 3:11 pm
Subject: Re: UITextField alignment question
ACasualObserver
Send Email Send Email
 
Thanks for the quick reply.

I am not counting for the 2 pixels. Are the pixels always there even if no
border is drawn? Is it always 2 pixels?



--- In flexcoders@yahoogroups.com, Daniel Freiman <FreimanCQ@...> wrote:
>
> Are you accounting for the 2 pixel border of the textfield?
>
> - Daniel Freiman
>
> On Wed, Jul 1, 2009 at 10:10 AM, ACasualObserver <pofpof@...> wrote:
>
> >
> >
> > I need to place a text in a ActionScript 3 project. The supplied X and Y is
> > left and baseline coordinates. I use UITextField and subtracted its
> > baselinePosition from Y. This places the text very close to where it should
> > be vertically but not the exact location (text displayed a little higher).
> > Horizontal position is not accurate neither and text is positioned a little
> > to the right of supplied X. I could not find any property in UITextField or
> > TextFormat to correct this.
> >
> > Any idea?
> >
> > Thanks
> >
> >
> >
>

#144918 From: "t0ml33" <design@...>
Date: Wed Jul 1, 2009 2:39 pm
Subject: RSLs & defaults.css
t0ml33
Send Email Send Email
 
I'm including the Flex framework as a linked RSL, and also have another library
that I'm including as a linked RSL.  The custom library contains a defaults.css
file in which I have some styles for the Alert control, using a type selector. 
Oddly, the styles do not apply correctly unless I change one of the RSLs to
"merged into code" - and it doesn't seem to matter which one.  In fact, if I
have a third RSL that does not contain a defaults.css and I merge that one into
code, the other styles apply fine.

Does anyone have experience with this kind of scenario?  See this weirdness
before?  Have any insights into the initialization of RSLs?

Thanks...

#144919 From: Robert VanCuren Jr <robert.vancuren.jr@...>
Date: Wed Jul 1, 2009 3:09 pm
Subject: Re: UITextField alignment question
ag_rcuren
Send Email Send Email
 
Are you using embedded fonts? When you embed a font they will display 1 pixel higher than a non embedded font. There are a couple work arounds if this is the case.

On Wed, Jul 1, 2009 at 10:24 AM, Daniel Freiman <FreimanCQ@...> wrote:


Are you accounting for the 2 pixel border of the textfield?

- Daniel Freiman



On Wed, Jul 1, 2009 at 10:10 AM, ACasualObserver <pofpof@...> wrote:


I need to place a text in a ActionScript 3 project. The supplied X and Y is left and baseline coordinates. I use UITextField and subtracted its baselinePosition from Y. This places the text very close to where it should be vertically but not the exact location (text displayed a little higher). Horizontal position is not accurate neither and text is positioned a little to the right of supplied X. I could not find any property in UITextField or TextFormat to correct this.

Any idea?

Thanks




#144920 From: Daniel Freiman <FreimanCQ@...>
Date: Wed Jul 1, 2009 3:22 pm
Subject: Re: Re: UITextField alignment question
FreimanCQ@...
Send Email Send Email
 
Yeah (subject to scaling/transform/etc), see http://livedocs.adobe.com/flex/3/langref/flash/text/TextLineMetrics.html

On Wed, Jul 1, 2009 at 11:11 AM, ACasualObserver <pofpof@...> wrote:


Thanks for the quick reply.

I am not counting for the 2 pixels. Are the pixels always there even if no border is drawn? Is it always 2 pixels?



--- In flexcoders@yahoogroups.com, Daniel Freiman <FreimanCQ@...> wrote:
>
> Are you accounting for the 2 pixel border of the textfield?
>
> - Daniel Freiman
>
> On Wed, Jul 1, 2009 at 10:10 AM, ACasualObserver <pofpof@...> wrote:
>
> >
> >
> > I need to place a text in a ActionScript 3 project. The supplied X and Y is
> > left and baseline coordinates. I use UITextField and subtracted its
> > baselinePosition from Y. This places the text very close to where it should
> > be vertically but not the exact location (text displayed a little higher).
> > Horizontal position is not accurate neither and text is positioned a little
> > to the right of supplied X. I could not find any property in UITextField or
> > TextFormat to correct this.
> >
> > Any idea?
> >
> > Thanks
> >
> >
> >
>



#144921 From: "Jake Churchill" <jake@...>
Date: Wed Jul 1, 2009 3:31 pm
Subject: RE: very urgent PlZZZZZZZ Accessing webservices
reygeek
Send Email Send Email
 

Maybe a crossdomain policy issue?

 

Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
http://www.cfwebtools.com
402-408-3733 x103

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of vin.flex
Sent: Wednesday, July 01, 2009 9:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] very urgent PlZZZZZZZ Accessing webservices

 




Hi there,

I got an urgent situation. I have developed a flex app
accessing the data through webservices developed in C# .NET.
webservices and my flex app reside in two different boxes.
and webservices are not available for outside public.

Everthing is working fine within the network. But when I access in
production it is not able to load the WSDL.

Can any body tell me how to make a request to the load webservice
from the box hosting flex app(may be using proxies)?

any help will be really appreciated.

thanks
vin

Checked by AVG - www.avg.com
Version: 8.5.375 / Virus Database: 270.13.1/2212 - Release Date: 07/01/09 05:53:00


#144922 From: "valdhor" <valdhorlists@...>
Date: Wed Jul 1, 2009 3:40 pm
Subject: Re: very urgent PlZZZZZZZ Accessing webservices
valdhor
Send Email Send Email
 
If the web service box is not available to the outside public, then the Flash
player running on the clients machine won't be able to load the WSDL.

Either open up the web service box to the outside public or rewrite your app to
use remoteobject to connect back to the server hosting the Flex app and then use
that server to connect to the web service and return data.


--- In flexcoders@yahoogroups.com, "vin.flex" <vin.flex@...> wrote:
>
> Hi there,
>
>         I got an urgent situation. I have developed a flex app
> accessing the data through webservices developed in C# .NET.
> webservices and my flex app reside in two different boxes.
> and webservices are not available for outside public.
>
> Everthing is working fine within the network. But when I access in
> production it is not able to load the WSDL.
>
> Can any body tell me how to make a request to the load webservice
> from the box hosting flex app(may be using proxies)?
>
> any help will be really appreciated.
>
> thanks
> vin
>

#144923 From: "ACasualObserver" <pofpof@...>
Date: Wed Jul 1, 2009 3:46 pm
Subject: Re: UITextField alignment question
ACasualObserver
Send Email Send Email
 
Thanks. This solved my problem. You saved me hours of work.


--- In flexcoders@yahoogroups.com, Daniel Freiman <FreimanCQ@...> wrote:
>
> Yeah (subject to scaling/transform/etc), see
> http://livedocs.adobe.com/flex/3/langref/flash/text/TextLineMetrics.html
>
> On Wed, Jul 1, 2009 at 11:11 AM, ACasualObserver <pofpof@...> wrote:
>
> >
> >
> > Thanks for the quick reply.
> >
> > I am not counting for the 2 pixels. Are the pixels always there even if no
> > border is drawn? Is it always 2 pixels?

#144924 From: Angelo Anolin <angelo_anolin@...>
Date: Wed Jul 1, 2009 3:55 pm
Subject: Re: Time Difference between two columns in DataGrid using itemrenderer
angelo_anolin
Send Email Send Email
 
I think you would find it better to do the calculation on the database itself.

All database have a lot of date/time diff functions which you can use. That way, you all simply bind the data retrieved in your datagrid without the need for calculating it.

hth


From: Don Kerr <fusionpage@...>
To: flexcoders@yahoogroups.com
Sent: Monday, 29 June, 2009 8:51:22
Subject: [flexcoders] Time Difference between two columns in DataGrid using itemrenderer

I have two columns in a datadrid, startTime (e.g. 04:30 PM) and endTime (e.g. 06:00 PM). Both are strings and varchar in the database.

I want to add a column to the datagrid that displays the difference between these two times expressed in hours (e.g. 1.5 Hours).

I'm trying to use an itemrenderer to do this calculation, but I've yet to be successful. Having trouble converting the strings to date, then calculate the hours. Can anyone help?

Thanks,
Don



#144925 From: "valdhor" <valdhorlists@...>
Date: Wed Jul 1, 2009 3:58 pm
Subject: Re: item renderer in ComboBox not consistent
valdhor
Send Email Send Email
 
Try the following as a starting point...

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:ComboBox itemRenderer="MyLabel">
        <mx:dataProvider>
             <mx:String>*United States</mx:String>
             <mx:String>Australia</mx:String>
             <mx:String>England</mx:String>
             <mx:String>*Ireland</mx:String>
             <mx:String>*Scotland</mx:String>
             <mx:String>Wales</mx:String>           
        </mx:dataProvider>
    </mx:ComboBox>
</mx:Application>


MyLabel.as:
package
{
    import flash.display.Graphics;
    import mx.controls.Label;
   
    public class MyLabel extends Label
    {
        public function MyLabel()
        {
            super();
        }

        override public function set data(value:Object):void
        {
            if(value != null)
            {
                super.data = value;
                text = value as String;
            }
        }
       
        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
        {
            super.updateDisplayList(unscaledWidth, unscaledHeight);
            var g:Graphics = graphics;
            g.clear();
            if(text.substr(0,1) == "*")
            {
                g.beginFill(0xE8E8E3);
            }
            else
            {
                g.beginFill(0xFFFFFF);
            }
            g.drawRect(-2, -2, unscaledWidth + 4, unscaledHeight + 4);
            g.endFill();
        }
    }
}




--- In flexcoders@yahoogroups.com, "Mic" <chigwell23@...> wrote:
>
> I thought this might work --- fine until I start scrolling when it gets totally out of wack. The trace does fire occasionally while scrolling but not consistently. Appreciate some hints. TIA,
>
> Mic.
>
> <?xml version="1.0" encoding="utf-8"?>
> <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" horizontalScrollPolicy="off">
> <mx:Script>
> <![CDATA[
> private function labelComplete():void{
> trace("Here");
> if(label1.text.substr(0,1) == "*"){
> this.setStyle("backgroundColor", 0xe8e8e3);
> }else{
> this.setStyle("backgroundColor", 0xFFFFFF);
> }
> }
> ]]>
> </mx:Script>
> <mx:Label id="label1" text="{data.cmplx_nm}" creationComplete="labelComplete()" />
> </mx:VBox>
>

#144926 From: "valdhor" <valdhorlists@...>
Date: Wed Jul 1, 2009 4:08 pm
Subject: Re: Navigating to a new child in a ViewStack - how to target the child being hidden?
valdhor
Send Email Send Email
 
You probably want the hide event (Dispatched when an object's state changes from
visible to invisible).


--- In flexcoders@yahoogroups.com, "lanekelly5" <lkellyv@...> wrote:
>
> I'm putting together a prototype of an app and I have a ViewStack that is
being controlled by a button toolbar.  In each of these views there is a video
player.  What I need to do is to pause the video in the view that is being
hidden.  I see the change event triggered when I change views, but it seems that
the target reference passed in via the event parameter is the new view.  Is
there an easy way to get a reference to the view being hidden?  Or is there a
different event triggered (something like a deactivate) that I can use to create
a handler with a passed in reference to the departing view?
>
> Thanks.
>

#144927 From: Zach Stepek <zach@...>
Date: Wed Jul 1, 2009 4:22 pm
Subject: Re: Audio recording using AIR
zstepek
Send Email Send Email
 
Digimix was acquired, and though I'm not 100% sure, I think it was Aviary that made the acquisition. It did what you're lookin to do, but without the FMS and Red 5 component. I'm not sure that there are FOSS, or even licensable options for AS3 audio encoding, but here are a few other thoughts. 

You may want to take a look at Alchemy for this, now that it's available, as you may be able to get a C library for audio encoding to run in AIR. Ogg Vorbis is one of the sample libraries on Labs. Also, if you're going to have the server capabilities there anyway, you could send to the server to encode, and deliver the file back to the client. Or use Merapi to have Java do the encoding. Not sure if any of these fit your use case, but I hope they help. 

- Zach

On Jul 1, 2009, at 7:48 AM, Jeffry Houser <jeff@...> wrote:


 I'm not sure of complete specifics, but I thought Ribbit supported something like this  Wasn't sure if they support computer mics or you have to use a phone. 
 AudioSpike may support something like this, I'm not sure. 
 I thought Digimix also did this sort of thing, but I have no idea if it ever got a release.


Kevin Carlson wrote:

Hello,

I'd like to develop an AIR application which allows users to make audio recordings on their PC with a USB microphone, then either store the audio files locally (for later upload) or stream using Flash Media Server or Red5.

Is this feasible?  Any commercial products to facilitate this? 

Thanks!
Kevin



-- Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711 | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust


#144928 From: "valdhor" <valdhorlists@...>
Date: Wed Jul 1, 2009 5:01 pm
Subject: Re: Web Service Question (Help!)
valdhor
Send Email Send Email
 
Error 1009 is "Cannot access a property or method of a null object reference.".
Try calling event.fault.getStackTrace() in the fault handler to see what the
problem is. You may have a null XML object returned.


--- In flexcoders@yahoogroups.com, Angelo Anolin <angelo_anolin@...> wrote:
>
> Hi FlexCoders,
>
> I am totally confused with the error I am having at the moment. Been banging
my head on this for the past 3 hours..
>
> In one of my function, I am trying to call a WebService method passing an
ArrayCollection.
>
>
> var svcDP:WebService = new WebService();
> svcDP.addEventListener(ResultEvent.RESULT, getRH);
> svcDP.addEventListener(FaultEvent.FAULT, getFH);
> svcDP.loadWSDL(_appWebService);
> svcDP.Method2(myArrayColl);
>
> Calling the webservice, I always get an error, which is defined in the
faulthandler event, registering Error 1009.
>
> But when I do another web service call before the Method2, say:
>
> var svcDP:WebService = new WebService();
> svcDP.addEventListener(ResultEvent.RESULT, getRH);
> svcDP.addEventListener(FaultEvent.FAULT, getFH);
> svcDP.loadWSDL(_appWebService);
> svcDP.Method1(myArrayColl);
> svcDP.Method2(myArrayColl);
>
> The Method2 gets called (I know because am doing a trace on the web service).
>
> Now I don't have any idea why when only Method2 is called, the web service is
not triggered, but calling another webservice before it, the method is
triggered.
>
> Any idea?
>
> Thanks and regards,
>
> Angelo
>

#144929 From: "valdhor" <valdhorlists@...>
Date: Wed Jul 1, 2009 5:03 pm
Subject: Re: Is license required to deploye the flex chart application
valdhor
Send Email Send Email
 
Sorry, I think I put you wrong there. If you have the Flex Builder license then
when you deploy the SWF file you do NOT need a license to distribute with it.


--- In flexcoders@yahoogroups.com, Krunal Panchal <panchal_kru@...> wrote:
>
> thanks for response.
>
> i read somewhere that to develope the flex application license is required but
to depoly the application on server it does not required. Let me help to clear
my understanding.
>
>  
> Regards,
>
> ________________________________
>
> Krunal Panchal 
>
>
>
> ________________________________
> From: valdhor <valdhorlists@...>
> To: flexcoders@yahoogroups.com
> Sent: Tuesday, 30 June, 2009 21:21:51
> Subject: [flexcoders] Re: Is license required to deploye the flex chart
application
>
>
>
>
>
> Yes
>
> --- In flexcoders@yahoogro ups.com, Krunal Panchal <panchal_kru@ ...> wrote:
> >
> > Is license required to deploye the flex chart application? 
> >  
> > Regards,
> >
> > ____________ _________ _________ __
> >
> > Krunal Panchal | Senior Software Engineer
> >
>

#144930 From: Tom McNeer <tmcneer@...>
Date: Wed Jul 1, 2009 5:58 pm
Subject: Re: Time Difference between two columns in DataGrid using itemrenderer
tmcneer
Send Email Send Email
 
You could also look at using the Flex Date Utils on RIAForge.

But you'll still need to turn the strings into valid date objects first.



--
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560

Messages 144901 - 144930 of 165719   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help