[flexcoders] Re: changes between b2 and b3

2007-12-17 Thread camlinaeizerous
I finally found a fix for this. Shell.shell was replaced by
NativeApplication.nativeApplication



[flexcoders] changes between b2 and b3

2007-12-17 Thread camlinaeizerous
I have fixed most of the issues I have run into with the changes but
what is the replacement for Shell.shell?



[flexcoders] Re: Flex on Vista?

2007-05-16 Thread camlinaeizerous
I grabbed Vista Ultimate when it was released. I'm running a custom
built liquid computer at home and the nice aero glass theme etc and
some of the flashy stuff is quite nice running on it. Flex was a non
issue to install and get running.

CF MX7 wasn't exactly strait forward though as you need to change a
few things to get it to work properly on IIS7. I spent a while
browsing trying different things to get it to work properly and I wish
I kept a list of everything I had to do to get it to run properly
because there wasn't a single lone fix that worked I had to combine
them all together.

Vista has its own set of issues like the voice recognition
vulnerability where audio played over the speakers can be picked up by
the voice recognition executing voice commands form the audio file.
This is and isn't a vulnerability but every where I see it brought up
it is a vulnerability and not a feature unless it is a message form MS. 

Side Note: For a laptop stick with XP as Vista eats more ram then XP
did just like what ever comes after Vista will eat even more.



[flexcoders] Re: How to stop and start a wipe effect at a specific place?

2007-05-03 Thread camlinaeizerous
--- In flexcoders@yahoogroups.com, Ian Skinner <[EMAIL PROTECTED]> wrote:
>
> I assume I use the xFrom, yFrom, xTo, and yTo properties.  But I'm not 
> sure I understand how to use them to stop a wipe left effect at 20% the 
> width of the container and start the subsequent wipe right effect at
the 
> same 20% position.
>
Try wrapping the wipe left and rights in a sequence and using the
to/from properties and just make the left's to location meet the
rights from location.



[flexcoders] FlashPaper CFR's prinitng pure black pages ??

2007-05-02 Thread camlinaeizerous
I have a flex application that is calling on a few different cfr's.
The pdf versions of them are saving directly to the hardribve from the
application and can be opened and printed normally besides the
development edition of coldfusion watermark in the backgroud. I
recently  made flashpaper versions of all of the cfr's and instead of
writing them to the hard drive i'm opening them within the application.

They appear normally in the application like I would expect but when I
print them as a pdf or directly from flash paper to the printer all I
get as a result is a few pages of a pure black box excluding the
margins. Is this because the version of coldfusion I'm running is
development or is there another cause for this. I would test it on our
live server with a full version of coldfusion but it is being moved
and can't access it for a while.

I'm hoping someone will know if this is the cause or if there is
another hidden issue.



[flexcoders] A way to click "through" chromless components?

2007-04-23 Thread camlinaeizerous
Using Ben Stuki's cool reflection component I was playing with a
chromeless Apollo application putting the reflection over the desktop.
I really like the result but only with one issue. the reflection
remains click able for the whole application.

For example if there is an icon behind the reflection you can't
actually click on the icon. I have tried reassigning the hit area for
the component to a different location but it still block the desktop.
Also set mouseEnabled to false. Is there a way to make a component
like this so you can click through it and click on the icon behind the
reflection while still rendering the reflection overtop?



[flexcoders] Parsing Streaming Audio Headers.

2007-04-17 Thread camlinaeizerous
I have seen multiple discussions about mp3 players and streaming audio
and I figured I'd take a stab and building a small player that could
be used as a banner on a webpage. I found a few sample players and did
a kind of mix and match of them and came up with my own.

www.izerous.com/rantplayer/rantamp.html

I have to admit the ID3 events make parsing the mp3 headers extremely
simple but I'm not looking at a mp3 source but instead shoutcast which
doesn't trigger the ID3 functions, however I try to do it.

Does anyone happen to know a solution for parsing shoutcast headers or
can at least point me in the right direction?



[flexcoders] question about colopicker dropdown

2007-03-16 Thread camlinaeizerous
I'm currently working on a miniature sized flex app and I have a
couple color pickers however there is a issue of them being cut off by
the applications boundaries. Is there a simple way to spawn the popup
at a different location then underneath the button?



[flexcoders] Data Binding Console Warning (flogging a dead horse)

2007-03-07 Thread camlinaeizerous
I have read posting which state how to eliminate the warning of "'X'
on class 'Object' (class is not an IEventDispatcher)" and that the
individual objects within the array need to be converted to an
ObjectProxy instead of a regular Object. 

Now I have a remoteobject returning a large database query and convert
the results into a ArrayCollection so I thought the following would
work...

private function getMasterQuery_result(event:ResultEvent):void 
{
myArrayCollection = event.result as ArrayCollection;
for each(var tArray:Object in myArrayCollection)
{
for each(var item:Object in tArray)
{item = new ObjectProxy(item);}
}
...
}

however doing that does not reduce he amount of binding warnings as
comapred to just...

private function getMasterQuery_result(event:ResultEvent):void 
{
myArrayCollection = event.result as ArrayCollection;
...
}

I assume there is something simple that I'm overlooking. And i'm
hoping someone can point it out to me.




[flexcoders] Quick Question: Conditional Operator ?:

2007-02-27 Thread camlinaeizerous
I know using ?: does the same thing as if else but is there an actual
benefit of one over the other besides a difference in typing a few
characters? Not that I would go through all my code an chance one to
the other just curious if someone knows.

something really simple for example

return (a==b)?"Yes":"No"

vs

if(a==b)
{return "Yes"}
else
{return "No"}



[flexcoders] Re: Annoying IE Error (Works in All other browsers!)

2007-02-27 Thread camlinaeizerous
I just ran it without the issues you just described. Using IE 6,
Firefox 2 and IE Tabs in Firefox.

I was receiving the following errors before being able to login. When
i refreshed only received the loginform state error but even using log
out it never actually logged me out when i refreshed the browser.

ArgumentError: Undefined state 'LoginForm'.
at mx.core::UIComponent/::getState()
at mx.core::UIComponent/::findCommonBaseState()
at mx.core::UIComponent/::commitCurrentState()
at mx.core::UIComponent/::creationCompleteHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/set initialized()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/::callLaterDispatcher2()

TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at main/::updateStats()
at main/__membersRegistered_result()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at ::DirectHTTPMessageResponder/completeHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()

TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at main/::updateStats()
at main/__forumPostCount_result()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at ::DirectHTTPMessageResponder/completeHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()



[flexcoders] Re: Keyboard issues on VISTA

2007-02-27 Thread camlinaeizerous
Have you been able to try it on home basic or professional? It is odd
that it would only happen on premium and not ultimate.



[flexcoders] Re: Array Collection Column Value

2007-02-15 Thread camlinaeizerous
use .getItemAt() instead of []

--- In flexcoders@yahoogroups.com, "sanjaypmg" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I have an ArrayCollection with various columns. I need to populate 
> different combos using this array collection columns.
> 
> I have a method where I am passing only column name as a parameter 
> like:
> 
> public function initArra(curColName:String):void{
> 
> var totalLen:int = tempArrCol.length;
> Alert.show(tempArrCol.toString())
> for(var i:int =0; i   var t:String = this["tempArrCol["+i+"].Gold"]//+this[curColName]
>   listArray.push(t);
>   //t = tempArrCol[i].curColName;
>  comboBoxes_curColName.dataProvider = listArray;
>   Alert.show(t)
> }
> 
> }
> 
> But here I am not able to get the list of ArrayCollection using this
> [].
> 
> How can I get the list of the respected columns?
> 
> Pls suggest.
> Thanks in advance..
> Sanjay sharma
>




[flexcoders] Re: How to create navigateToURL http links with non ascii characters??

2007-02-14 Thread camlinaeizerous
http://www.w3schools.com/tags/ref_urlencode.asp

If you follow that link it is a list of HTML encoding. 
replace Á with %c1 and hopefully it should work for you.

--- In flexcoders@yahoogroups.com, "e_baggg" <[EMAIL PROTECTED]> wrote:
>
> Hello.
>   I have the situation where some of the URLs that I need to link to
> have non-Ascii characters in them. 
> 
> So, for example...
> 
> if I have a directory structure like this (hopefully the "A" comes
> through with the accent above it): non-ascii Á/test/
> 
> the URL that gets generated is:
> http://mydomain.com/non-ascii%20%C1%2Ftest
> 
> I receive a 404 error on this URL. It looks like the URLs though are
> encoded in Windows-1251, not UTF-8. How do I fix this to be UTF-8? 
> 
> Thanks.
>




[flexcoders] Re: CFC issue with fresh install of Flex 2.0.1

2007-02-14 Thread camlinaeizerous
It is the stand alone install. Even under available internal editors
the only thing that comes close is text editor. 

-AS Editor
-CSS Editor
-Default Compare Editor
-Flex Start Page
-Internal Web Browser
-MXML Editor
-No Source Found
-RDS Query Editor
-Source Not Found Editor
-Text Editor
-Web Browser
-Welcome

I have been using dreamweaver for the time being as an external editor
but I never had these problems with the 2.0.0 installer.



[flexcoders] CFC issue with fresh install of Flex 2.0.1

2007-02-13 Thread camlinaeizerous
The machine I have been working on was imaged from win2k to XP. When I
installed a fresh copy of flex from the 2.0.1 installer I also
installed the CF extensions that are included.

First thing that I noticed is that I had to un-select "Ignore features
not applicable to this environment".

So install the zip extension included with the download and restart.
It included the wizard but not cfc support. I can force the creation
of a cfc by typing in sample.cfc but it reacts like a basic text file
with none of the type prompting available and other features.

Before the computer was imaged I had installed 2.0.0 and the cf
extensions then upgrading to 2.0.1 with now issues and I would simply
do the same thing but I don't have a 2.0.0 installer. Has anyone else
run into this yet or know a way around it?

Any help would be appreciated.



[flexcoders] Re: OFFTOPIC: Flexmascard

2006-12-20 Thread camlinaeizerous
Wonderful idea an great way to spread around some of the Christmas cheer.

--- In flexcoders@yahoogroups.com, "wesubotnix" <[EMAIL PROTECTED]> wrote:
>
> Here is our Christmas card made in Flex: Merry Christmas everybody!
> http://www.delc.dk/julekort2006/ 
> Would be nice to see other flexmascards
> Thanks!
> Fredrik
>




[flexcoders] my -debug.swf is not changing.

2006-12-14 Thread camlinaeizerous
This just started happening this morning and needless to say I was
a bit confused. I was getting totally different results from the debug
and non debug versions of my current project. Any changes I'm making
are being reflected in the non debug version however the changes are
not showing in the debug version.

To make sure I wasn't loosing my mind I removed an image from my
main view, the non debug no longer displays the image but the debug
does. I have tried cleaning and rebuilding the project but with no
avail. I also checked the folder where the swf files are and they both
show the same last modified date and time.

Any idea's as I'm confused.



[flexcoders] Re: Disable Application Blur in Popup window

2006-12-14 Thread camlinaeizerous
it works perfectly is you do it on the mxml page of the title window.







--- In flexcoders@yahoogroups.com, "Simon Janssens" <[EMAIL PROTECTED]> wrote:
>
> Hi John,
> 
> I haven't done it personally, but you might have some luck using the
> styleManager.
> 
> 
mx.styles.StyleManager.getStyleDeclaration("style_name").setStyle("modaltransparencyblur",
> 0);
> 
> Cheers,
> 
> Simon
> 
> On 12/14/06, John Kirby <[EMAIL PROTECTED]> wrote:
> >
> >Doug -
> >
> > Tried this after the PopUp create
> >
> > Application.application.setStyle("modalTransparencyBlur", 0);
> >
> > Still a blur
> >
> > Doug Lowder said the following:
> >
> >  There's a style on mx.core.Application called modalTransparencyBlur
> > that seems promising. You might be able to set setStyle() to switch
> > values back and forth.
> >
> > --- In flexcoders@yahoogroups.com , John
> > Kirby  wrote:
> > >
> > > I'm sure this is a simple answer... (hopefully). I have some
> > > TitleWindows launched via the PopUpManager. If the modal is set
> > to true
> > > it blurs the Application.
> > >
> > > What I want to do is have the modal functionality of a window
> > without
> > > the blur sometimes?
> > >
> > > Can this be done? How?
> > >
> > > .j
> > > --
> > > /Whether you think that you can, or that you can't, you are
> > usually right./
> > > - Henry Ford
> > >
> >
> >
> > --
> > *Whether you think that you can, or that you can't, you are
usually right.
> > *
> >  - Henry Ford
> >
> >  
> >
>




[flexcoders] Re: Nearly-Off-Topic: Flex Apps on PDAs?

2006-12-13 Thread camlinaeizerous
Watch the versions of Flash Lite. Currently it is the equivalent of
FP7. I imagine it is just a matter of time before it will support FP9
and AS3.

--- In flexcoders@yahoogroups.com, "Pablo Apanasionek"
<[EMAIL PROTECTED]> wrote:
>
> Last night I was planning my incoming "self xmas gift" and I found
> myself wondering about PDA support for Flex-Built Apps. Is there any
> PDA-browser/plugin that supports FP9/AS3?
>  
> Pablo Gustavo Apanasionek
>




[flexcoders] Re: Firefox - TextInput Bug

2006-12-12 Thread camlinaeizerous
I never noticed that before but yes it is happening and it is
definitely strange.

--- In flexcoders@yahoogroups.com, "Jerome Clarke a.k.a sinatosk"
<[EMAIL PROTECTED]> wrote:
>
> Ye I get the same problem too. I'm using firefox 2.0 what you using?
> 
>
http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer.html
> 
> then just select form elements and go from there to test it :p
> 
> On 12/12/06, polonycjunk <[EMAIL PROTECTED]> wrote:
> >
> >   I tried submitting this message around 9Am but still hasn't gone
> > through. I'm posting this again.
> >
> > The Bug:
> >
> > Accessing a compiled .swf file containing a TextInput Box through
> > Mozilla FireFox. Click on the address bar, click on the text input
> > box, click on the address bar again, and then start typing. Instead
> > of typing into the address bar, you are actually typing into the text
> > input box.
> >
> > This doesn't happen when I access the same .swf file through Internet
> > Explorer.
> >
> > I haven't submitted the bug to Adobe yet, I just wanted to run it by
> > you guys first to see if it's just me.
> >
> >  
> >
>




[flexcoders] Re: How to disable a mouse over?

2006-12-12 Thread camlinaeizerous
If I understand your issue, there is the single pixel thickness
between items where the mouse is not actually on anything but you
don't want this and even if your mouse is over top the grid line you
want to technically be on the button? 

I'm not sure how hard this would be with how your rendering the time
blocks but maybe try giving them specified hit areas. The seperate hit
area could extend the button 1 pixel in two directions. Say one pixel
down and one pixel right. That way your not getting overlap other
buttons but your still covering the grid lines. This will also remove
the dead area's near the corners if you use non rounded corners for
the hit areas.


--- In flexcoders@yahoogroups.com, Van De Velde Hans
<[EMAIL PROTECTED]> wrote:
>
> Some extra info to facilitate any response,
>  
> so I have a container for the timeslots :
>  mouseFocusEnabled="false" />
>  
>
//---
>  
> and a function to create the timeslots:
>  
>private function createTimeslots():void
>{
> var timeSlots_ar:Array =
>
["6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21"
> ,"22","23","0","1","2","3","4","5"];
> var nbTimeSlots:int = timeSlots_ar.length;
> for(var t:int=0; t  var ts:EPGTimeslot = new EPGTimeslot();
>  LineDrawer.drawDottedVerticalLineTo(ts.graphics, 0x66, -1, 20,
> 330);
>  ts.timeNotation = timeSlots_ar[t]+":00";
>  timeSlotContainer.addChild(ts);
> }
>}
>  
>
//---
>  
> EPGTimeslot is this:
>  
> 
> http://www.adobe.com/2006/mxml
>  " 
>  height="322" 
>  width="120" 
>  verticalAlign="top" mouseEnabled="false" mouseFocusEnabled="false">
>  
>  
>   
>  
> 
>  
>
//---
>  
> and the static function in the LineDrawer class is :
>  
>   public static function drawDottedVerticalLineTo( 
>g:Graphics,
>dotColor:uint, 
>x : Number, 
>yStart : Number, 
>yEnd : Number 
>) : void
>   {
>g.lineStyle(0,0xff,0); // invisible line (!)
>g.moveTo(x, yStart);
>for( var y : Number = yStart; y < yEnd; y += 1)
>{
> if( y % 2 == 0 )
> {
>  // lines are too fat, so we draw a square of 1 pixel (!)
>  g.beginFill(dotColor, 1);
>  g.lineTo(x+1, y );
>  g.lineTo(x+1, y+1 );
>  g.lineTo(x, y+1 );
>  g.lineTo(x, y );
>  g.endFill();
>  g.moveTo( x, y + 1 );
> } 
> else 
> {
>  g.moveTo( x, y + 1 );
> }
>}
>   }
> 
>  
> What I want is to avoid a mouseOut below when rolling over a dotted
line,
> thanks in advance.
>  
>  
>  
>  
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Van De Velde Hans
> Sent: maandag 11 december 2006 18:32
> To: 'flexcoders@yahoogroups.com'
> Subject: [flexcoders] How to disable a mouse over?
> 
> 
> 
> 
> 
> Hi,
>  
> I have a whole list of clickable boxes and I draw grid lines over these
> boxes.
>  
> Problem : when I mouseOver the grid lines with the mouse, it causes a
> mouseOut on the boxes below.
>  
> Check   www.belgacom.tv > chose English >
Maximize
> "my TV guide" portlet window :
> > when you mouseOver a grid line cutting a program box, it causes a
> mouseOut on that program box :-(
>  
> Is there a way to completely ignore the mouseOver on the drawn grid
lines?
>  
> To draw the vertical grid lines, I put an HBox above the boxes & I'm
drawing
> the lines with code inside that HBox.
>  
>  
> I've tried setting mouseEnabled and mouseFocusEnabled to false, but
no luck.
> Setting enabled to false completely blocks all mouseOvers below.
>  
>  
> Thx,
> Hans.
>




[flexcoders] Re: How to remove shadow

2006-12-11 Thread camlinaeizerous
in your CSS

.Panel{
dropShadowEnabled: false;
}

--- In flexcoders@yahoogroups.com, "sanjaypmg" <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> 
> I have developed some screens in flex and integrated with the existing 
> application but It doesnt match to the existing theme... Its looking 
> totally different part of the application which should not be I 
> have used many things which have shadow effect like panel... So to 
> make this in sink with the existing application I wanna remove this 
> shadow effect from all the components used in the application. but I 
> couldnt find how to remove it...
> 
> If anyone knows please let me know... It would be a great help...
> 
> thanks in advance.
> 
> Thanks
> Sanjay Sharma
>




[flexcoders] Re: fading htmlText - doesn't fade with my other stuff in my VBox, why how to fi

2006-12-11 Thread camlinaeizerous
For text ot be effected you need to use embedded text.

--- In flexcoders@yahoogroups.com, "ben.clinkinbeard"
<[EMAIL PROTECTED]> wrote:
>
> System fonts cannot be faded. I believe that has always been the case.
> Try Dissolve instead of Fade.
> 
> HTH,
> Ben
> 
> 
> --- In flexcoders@yahoogroups.com, {reduxdj}  wrote:
> >
> > I don' know why this does this, but seems ol flash 8 was plagued by
> this 
> > issue.  I'm fading a VBox with htmlText, problem is that  my
textfields 
> > don't fade too...  any ideas how to work around this one?
> > 
> > 
> > thanks,
> > Patrick
> >
>




[flexcoders] Re: Odd behaviour from String.search()

2006-12-08 Thread camlinaeizerous
I had not thought of that, and your right the .search() is detecting
it as a regex expression. Being I can't expect the end user to
understand to type \(###\)###- to filter phone numbers is there a
simple way to make it ignore the characters and not take it as a regex?


--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> wrote:
>
> Seems like the (, ), and * are being interpreted as regexp 
> quantifiers.  You can escape them if you want them treated as 
> literals.
> 
> http://livedocs.macromedia.com/flex/2/docs/1904.html#118959
> 
> --- In flexcoders@yahoogroups.com, "camlinaeizerous"  
> wrote:
> >
> > I have a list of phone numbers in either a (###)###- of
> > ###-###- type format. There is also a text box that on change
> > filters array collection that populates the list. The code breaks 
> down to.
> > 
> > private function phoneFilter(item:Object):Boolean
> > {
> > if(item.Phone.search(searchBar.text) >= 0)
> > {return true;}
> > else
> > {return false;}
> > }
> > 
> > the 5 phone numbers that i randomly put in the collection are are
> > #1)"123-456-7890"
> > #2)null
> > #3)"(403)734-4312"
> > #4)"(780)495-4949"
> > #5)"(780)828-4229"
> > 
> > the #1 and #2 phone number filters as expected however the ones 
> with
> > the brackets are awkward.
> > "(", "(780", "780)", "(780)828" fail not as I expected
> > "(780)", "780" succeed as I expected
> > 
> > And tossing in random "*" succeed definitely not as I had expected
> > "(780)*82" matches #5
> > "(780)*8" or even "780*4*4*4*4*4*4*4*4*4*4*4*4*4*4*4*4*4*4*4*" 
> matches
> > #4, #5, and #1
> > "(780)*", or "(spam)*" match all 5 numbers
> > even "()*" or "(###)*" where # is any 3 numbers and it matches all 
> 5
> > numbers again even the null.
> > even "(828)" matches #5 or similar ideas
> > 
> > Obviously the "(", ")" and "*" characters are doing something 
> strange
> > to the search() function. Hopefully someone can explain why I'm 
> seeing
> > this behavior with these characters or a way to change how I'm
> > filtering the phone numbers to get somewhat normal behavior.
> >
>




[flexcoders] Odd behaviour from String.search()

2006-12-07 Thread camlinaeizerous
I have a list of phone numbers in either a (###)###- of
###-###- type format. There is also a text box that on change
filters array collection that populates the list. The code breaks down to.

private function phoneFilter(item:Object):Boolean
{
if(item.Phone.search(searchBar.text) >= 0)
{return true;}
else
{return false;}
}

the 5 phone numbers that i randomly put in the collection are are
#1)"123-456-7890"
#2)null
#3)"(403)734-4312"
#4)"(780)495-4949"
#5)"(780)828-4229"

the #1 and #2 phone number filters as expected however the ones with
the brackets are awkward.
"(", "(780", "780)", "(780)828" fail not as I expected
"(780)", "780" succeed as I expected

And tossing in random "*" succeed definitely not as I had expected
"(780)*82" matches #5
"(780)*8" or even "780*4*4*4*4*4*4*4*4*4*4*4*4*4*4*4*4*4*4*4*" matches
#4, #5, and #1
"(780)*", or "(spam)*" match all 5 numbers
even "()*" or "(###)*" where # is any 3 numbers and it matches all 5
numbers again even the null.
even "(828)" matches #5 or similar ideas

Obviously the "(", ")" and "*" characters are doing something strange
to the search() function. Hopefully someone can explain why I'm seeing
this behavior with these characters or a way to change how I'm
filtering the phone numbers to get somewhat normal behavior.



[flexcoders] Re: KeyboardEvent Question

2006-12-07 Thread camlinaeizerous
When you call the alert remove the event listener. On the close event
of the alert add it back.



[flexcoders] Re: How to make ViewStack Item Invisible

2006-12-06 Thread camlinaeizerous
It will not be part of the view stack at all unless you want the user
to be able to access it. Essentially until you add it it doesn't
exist. When you do add the view with addChild() a button will be
created automatically and the view will become accessible you
shouldn't have to refresh anything. If the user has access to the view
when they log on add it and it should appear if not it won't be there
at all.

If thats not the functionality your looking for then a different
approach is needed. Something similar to the following may be more
appropriate for your needs. 


http://www.adobe.com/2006/mxml";
layout="absolute" xmlns:views="views.*">














[flexcoders] Re: FDS number NaN

2006-12-05 Thread camlinaeizerous
I would suggest sending the value as a string instead of a long, and
do a type conversion from the string to long afterwards and just place
logic to check if the string is NaN before you convert it taking the
appropriate actions.

--- In flexcoders@yahoogroups.com, Jeff Krueger <[EMAIL PROTECTED]>
wrote:
>
> Anyone else have this problem or am I just doing something wrong.
>
>   Thanks
>
>   Jeff
>   
> 
> Jeff Krueger <[EMAIL PROTECTED]> wrote:
> I have considered coming up with a number like -99
and then assume that to be null and initialize all my Number variables
to it and then translate that in java to null.  But that is a hack at
best.
>
>   Anyone else??
>
>   Jeff
>   
> 
> Douglas McCarroll <[EMAIL PROTECTED]> wrote:
>   Okay. So this is normal FDS behavior, as explained in the
docs. The 
> question becomes "How can we deal with this limitation of FDS?"
> 
> I don't know an answer but perhaps others on the list do.
> 
> Has anyone else wished that they could pass NaN or null into Java? How 
> did you deal with this FDS limitation?
> 
> And perhaps Adobe could comment on whether there's any chance that this 
> behavior will change in the future.
> 
> Douglas
> 
> Jeff Krueger wrote:
> > This is correct. My Number in my as class isn't really null it is 
> > NaN. But I believe that to be the actionscript equivalent to null for 
> > a number. And yes when I pass that to java function that function 
> > recieves the class with a 0 for the Long instead of null. 
> > 
> > Here is the output from the console of the app server. Notice the 
> > variable XPos, YPos and deployed. See how what I send in is NaN (or 
> > null) and it is converted to a 0.
> > 
> > [Flex] Deserializing AMF/HTTP request
> > Version: 3
> > (Message #0 targetURI=null, responseURI=/2)
> > (Array #0)
> > [0] = (Typed Object #0 'flex.messaging.messages.RemotingMessage')
> > operation = "findStoryByExample"
> > source = null
> > body = (Array #1)
> > [0] = "2"
> > [1] = (Typed Object #2 'com.routeto1.flex.media.vo.StoryVO')
> > headline = "c"
> > XPos = NaN
> > validToDate = null
> > pageDef = null
> > deployedPath = ""
> > validFromDate = null
> > subHeadline = ""
> > storyGraphic = null
> > YPos = NaN
> > keywords = ""
> > body = ""
> > source = ""
> > bylineOccupation = ""
> > publishedDate = null
> > otherReferences = ""
> > referenceId = ""
> > deployed = NaN
> > byline = ""
> > pk = ""
> > updatedByUser = null
> > selected = false
> > dateUpdated = null
> > copyForSearch = false
> > createdByUser = null
> > createdByUserName = ""
> > dateCreated = null
> > clientId = null
> > timeToLive = 0
> > messageId = "A5C134A1-DC44-4514-6B85-43FE21B96CB1"
> > headers = (Object #3)
> > DSEndpoint = "my-amf"
> > destination = "mediaDelegate"
> > timestamp = 0
> > [Flex] Adapter 'java-object' called 
> > 'com.routeto1.flex.media.MediaDelegate.findS
> > toryByExample(java.util.Arrays$ArrayList (Collection size:2)
> > [0] = 2
> > [1] = com.routeto1.flex.media.vo.StoryVO
> > YPos = 0
> > dateUpdated = null
> > XPos = 0
> > byline =
> > publishedDate = null
> > dateCreated = null
> > pageDef = null
> > copyForSearch = true
> > validFromDate = null
> > validToDate = null
> > deployedPath =
> > createdByUser = null
> > bylineOccupation =
> > body =
> > headline = c
> > keywords =
> > subHeadline =
> > deployed = 0
> > referenceId =
> > pk =
> > updatedByUser = null
> > otherReferences =
> > storyGraphic = null
> > createdByUserName =
> > source =
> > )'
> > 
> > Thanks
> > 
> > Jeff
> >
> >
> > */Douglas McCarroll <[EMAIL PROTECTED]>/* wrote:
> >
> > Jeff,
> >
> > Let me get this clear. If I understand correctly you're passing an AS
> > number hoping that it will convert to a Java Long. But your number is
> > set to null, and you'd like it to convert to null on the Java type.
> >
> > Is this correct?
> >
> > Douglas
> >
> > Jeff Krueger wrote:
> > > Thanks. I am not using a primitive, I am using Long. I wonder what
> > > it does for those.
> > >
> > > Jeff
> > >
> > >
> > > */Douglas McCarroll <[EMAIL PROTECTED]
> > >/* wrote:
> > >
> > > Jeff,
> > >
> > > I'm not sure that this will help you find a solution, but it
> > confirms
> > > that this is a known issue:
> > >
> > >
> >
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp.htm?href=Part1_GetStarted.html
> >

> > >
> >
 >
>
> > >
> > > "Primitive values cannot be set to null in Java. When passing
> > Boolean
> > > and Number values from the client to a Java object, Flex
> > > interprets null
> > > values as the default for primitive types; for example, 0 for
> > double,
> > > fl

[flexcoders] Re: How to make ViewStack Item Invisible

2006-12-05 Thread camlinaeizerous
It is already a separate component so take advantage of that and don't
even add it to the view stack unless the user has access. This will
also prevent the button form showing unless they have access.

private function CallMeAfterUserValidation():void
{
  if(UserCredentials.AllowedToAccesCustomers)
  {
var temp:CustSearchForm = new CustSearchForm;
myViewStack.addChild(temp);
  }
}


--- In flexcoders@yahoogroups.com, "boy_trike" <[EMAIL PROTECTED]> wrote:
>
> Following is a sample of my code:
> 
>   
>   
>   
>   
>   
> 
>   
>   
>   
>   
>   
>   
>   
> 
> 
> The problem is that I want the CUSTOMER SEARCH (last canvas) to be
invisible to certain 
> people.  I have tried visible = "false" and includeinlayout =
"false" but neither works
> 
> 
> --- In flexcoders@yahoogroups.com, "Dimitrios Gianninas"
 
> wrote:
> >
> > Well a Viewstack by default only shows only one view at a time,
so... perhaps you can 
> post a sample of your code?
> >  
> > But simply, use the "visible" property:
> >  
> > myBox.visible = false;
> >  
> > Dimitrios Gianninas
> > RIA Developer
> > Optimal Payments Inc.
> >  
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of 
> boy_trike
> > Sent: Monday, December 04, 2006 1:29 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] How to make ViewStack Item Invisible
> > 
> > 
> > 
> > I have a viewstack with multiple canvas's below. Depending on a
users credentials, I 
> want 
> > some of the options to NOT be visible. I can set enabled to false
and they are greyed out 
> but 
> > I am not smart enough to figure out how to make them disappear
(Out of sight, out of 
> mind)
> > 
> > thanks
> > Bruce
> > 
> > 
> > 
> >  
> > 
> > -- 
> > WARNING
> > ---
> > This electronic message and its attachments may contain
confidential, proprietary or 
> legally privileged information, which is solely for the use of the
intended recipient.  No 
> privilege or other rights are waived by any unintended transmission
or unauthorized 
> retransmission of this message.  If you are not the intended
recipient of this message, or if 
> you have received it in error, you should immediately stop reading
this message and 
> delete it and all attachments from your system.  The reading,
distribution, copying or 
> other use of this message or its attachments by unintended
recipients is unauthorized and 
> may be unlawful.  If you have received this e-mail in error, please
notify the sender.
> > 
> > AVIS IMPORTANT
> > --
> > Ce message électronique et ses pièces jointes peuvent contenir des
renseignements 
> confidentiels, exclusifs ou légalement privilégiés destinés au seul
usage du destinataire 
> visé.  L'expéditeur original ne renonce à aucun privilège ou à aucun
autre droit si le 
> présent message a été transmis involontairement ou s'il est
retransmis sans son 
> autorisation.  Si vous n'êtes pas le destinataire visé du présent
message ou si vous l'avez 
> reçu par erreur, veuillez cesser immédiatement de le lire et le
supprimer, ainsi que toutes 
> ses pièces jointes, de votre système.  La lecture, la distribution,
la copie ou tout autre 
> usage du présent message ou de ses pièces jointes par des personnes
autres que le 
> destinataire visé ne sont pas autorisés et pourraient être illégaux.
 Si vous avez reçu ce 
> courrier électronique par erreur, veuillez en aviser l'expéditeur.
> >
>




[flexcoders] Re: Set combobox selection to data

2006-12-01 Thread camlinaeizerous
??? I guess I'll stay away from the rich text editor my post came
through blank. My drop downs are populated form the database as well
as the database query that is decided what drop down index is
selected. The following is the approach I took.

var :IViewCursor = .createCursor();
while(!.afterLast && .current.!= 

.getItemAt(this.selectedRecordIndex).)
{.moveNext();}
if(.current)
{.selectedItem = .current;}
else
{.selectedIndex = -1;}

The else statement combined with a required field validation will
highlight the drop down with the error if for any reason there is a
mismatch. While in most cases this shouldn't happen it is a nice
notification if you need it.



[flexcoders] Re: Set combobox selection to data

2006-12-01 Thread camlinaeizerous

--- In flexcoders@yahoogroups.com, Yiðit Boyar <[EMAIL PROTECTED]>
wrote:
>
> i dont know whether there is a better way or not but i've used the
fallowing way.
> assume needed_val is the variable which is equal to the  data of the
one which should be selected (number in the example)
> 
> 
>
> and in the findMyVal function:
> private function findMyVal(obj:ComboBox , wanted:Number):Number{
> for (var i:Number=0 ; i < obj.dataProvider.length;i++){
> if(wanted = = obj.dataProvider[i].id ) //i assumed that the
data label is id of the dataProvider
> return i;
> }
> return 0;
> }
>
> whenever the dataProvider is refreshed, the function will
"automatically" be called and set the right selected index...
> by the way, i did not copy and paste a code so it may include some
typing errors, but the logic is this...
>
> i wish it helps, if this does not work, send a reply and  i can send a
copy paste code that surely works.
>
> Yigit Boyar
> Middle East Technical University Dept of Computer Science / sophomore
> - Original Message 
> From: Wally Randall [EMAIL PROTECTED]
> To: flexcoders@yahoogroups.com
> Sent: Friday, December 1, 2006 2:51:13 PM
> Subject: [flexcoders] Set combobox selection to data
>
>
>
>
>
>
>
>
>
>
>
>
>
> How do I set the selected value of a combobox to that of
the data
>
> returned from the database record?
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> 
>
>
>
>
>
>
>
>
>
>
\

> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail beta.
> http://new.mail.yahoo.com
>




[flexcoders] Re: What was second nature has me researching through pages of docs

2006-12-01 Thread camlinaeizerous
I haven't tested this but for 4 I would assume something similar to
the following should work.

var sometext:UITextField;
sometext.styleName = UITextField 

in your style sheet you should be able to now set styles and the font,

UITextField{
fontFamily: ...;
}

if you call it UITextField you may not have to assign the styleName. I
probably don't have all of this right but it should at least help you
get in the right direction.


> 4.  How do I set the font of UITextField with stylesheet, or embedded
> font



Re: [flexcoders] Upper Case ONLY in text fields

2006-11-30 Thread camlinaeizerous
to limit the " character you need to use the escape character before
the double quote \" should limit it out. A regex hand book is
suggested, more then reasonably priced and really help out with things
like this.

--- In flexcoders@yahoogroups.com, "Brian Dunphy" <[EMAIL PROTECTED]> wrote:
>
> As a side question... is there any way to restrict double quotes from
> being entered? Obviously restrict=""" wil not compile.
> 
> Can you use character codes in there?
> 
> Thanks,
> 
> Brian
> 
> On 11/30/06, Gordon Smith <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > From the ASDoc for the 'restrict' property of TextInput:
> >
> >
> >
> > "Flex scans the string from left to right. You can specify a range
by using
> > the hyphen (-) character. If the string begins with a caret (^)
character,
> > all characters are initially accepted and succeeding characters in the
> > string are excluded from the set of accepted characters. If the
string does
> > not begin with a caret (^) character, no characters are initially
accepted
> > and succeeding characters in the string are included in the set of
accepted
> > characters."
> >
> >
> >
> > So it sounds like restrict="^a-z" should work.
> >
> >
> >
> > - Gordon
> >
> >
> >
> >  
> >
> >
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> > Behalf Of boy_trike
> >  Sent: Wednesday, November 29, 2006 8:49 PM
> >  To: flexcoders@yahoogroups.com
> >  Subject: [flexcoders] Upper Case ONLY in text fields
> >
> >
> >
> >
> >
> >
> > I have an address field (textinput) that I want to NOT allow
lowercase.
> > (Using the restrict
> >  property does not work since I want to allow numbers, #, $, etc.
and I can
> > not think of all the
> >  characters) Is there an easy way to restrict lower case letters?
> >
> >  Thanks
> >
> >  Bruce
> >
> >
> >
> >  
> 
> 
> -- 
> Brian Dunphy
>




[flexcoders] Re: totaling items in datagrid

2006-11-29 Thread camlinaeizerous
to call your function after the array is populated call it right after
you populate it when the event results. The event results are nto
called till the query is finished and the data is pulled so it makes
for a great time to run code like your function. It will also call
your function again each time the list is updated. 

you probably have something similar to...

private function getMasterQuery_result(event:ResultEvent):void 
{
//query has run array collection is populated 
 = event.result as ArrayCollection;

...

//call your function here
grandTotal(...
}



[flexcoders] Re: Bit Off topic: Microsoft Vista VS Apollo/Flex/Flash

2006-11-27 Thread camlinaeizerous
Sorry your right about It not really being Vista against the rest but
I meant to elaborate that these are tools intended for programming for
Vista and keeping the Vista feel and theme that Microsoft was going for.

While there are some differences like how you need to export from
expression to visual studio to get anything really functional I was
just really surprised with how the first impressions seemed like an
attempted copy, specifically with what the demo's they showed were.




[flexcoders] Bit Off topic: Microsoft Vista VS Apollo/Flex/Flash

2006-11-24 Thread camlinaeizerous
I still go to the occasional Microsoft conference when they are about
to release something big. Well yesterday was their "ready for a new
day" which was a show case of vista and office. I went to the
developer thread curious what programming would be like for Vista with
the changes that were made. Really long story short everything they
show cased reminded me of the capabilities of Apollo which is soon to
be released and Flex/Flash.

"Microsoft Expressions" a new development tool reminded a lot of
people of flash studio and it seems like a copy of flash with A
Microsoft label on top. Although I didn't get to see a lot of the
under working just a quick over view, essentially by default the time
line is on the bottom drawing tools on the right and library on the
left. It seemed so similar during the overview I heard people actually
laughing saying it looked like flash. however looking at the code that
was generated and the movements and transitions were basically
generated with java.

When they were showing how to program their "gadgets" which the
presenter even slipped and called widgets not just once but twice they
made it actually fairly simple. 3 short files of javascript, xaml
markup, and c# for a simple gadget however with the demos I have seen
of Apollo I believe in the end there will be by far more Apollo
gadgets/widgets or what ever you want to call them compared to Vista
gadgets. And as a plus Apollo is cross platform where needless to say
the few Linux/mac people that were there were not impressed with the
windows only capability but talking with a couple saying that Apollo
could do the same things but also work on Linux/mac machine I must say
it really made their day.

While Apollo's future will obviously go far beyond just simple widgets
this just seems to be how Microsoft lined up their development demos
showing mainly a few gadgets and  bunch of "look what happens to the
button when I click on it". The only thing that I saw showcased as far
as application development that Microsoft has an edge with is 3d
rendering, which in time I imagine flash will have very little
problems with.

I have also been wondering if they got their RMA term from RIA. Rich
Media Application vs Rich Internet Application?




[flexcoders] Re: Different results from mx:RegExpValidator vs extended RegExpValidator

2006-11-24 Thread camlinaeizerous
Anyone figure if I made a mistake on my end or if it is a problem
elsewhere?

--- In flexcoders@yahoogroups.com, "camlinaeizerous" <[EMAIL PROTECTED]> wrote:
>
> I have extended the RegExpValidator for a couple instances so I can
> use them later in other with easier use. I'm getting different results
> from an extended RegExpValidator comapred to when I use
>  and it is kind of confusing when the
> expression strings are identical however only the mx:RegExpValidator
> is working as intended. The regex expression i'm using is 
> 
>
\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b
> 
> and it can be found as almost any example as a RegEx for IP
> validation. Playing with it a bit I have not even figured out what the
> extended version considers valid. I also tried giving it the
> expression to a string and then using that to set the expression but I
> get the same behavior. The expressions are identical as I have copied
> and pasted from one another. If someone could point out something I
> did wrong or if something else is going on it would be appreciated.
> 
> ...
> 
> http://www.adobe.com/2006/mxml";
> layout="absolute"
>   xmlns:v="assets.*">
>  required="false"
> 
expression="\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b"/>
> 
>   
>   
>   
>   
> 
> .
> package assets
> {
>   import mx.validators.RegExpValidator;
> 
>   public class IPValidator extends RegExpValidator
>   {
>   public function IPValidator() 
>   {
>   this.expression =
>
"\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b";
>   super();
>   }
>   }
> }
> ...
>





[flexcoders] Re: Auto incrementing values for datagrid

2006-11-17 Thread camlinaeizerous
Below I have a quick and dirty way of making the row show up. However
if you were looking for the number to move with the item when you sort
then you need a different approach and should almost consider adding
the number to the data source. As when you sort the data grid it
actually rearranges its data source which is shown by the text box i
added. Which is always showing the contents of the first index of the
array collection.

http://www.adobe.com/2006/mxml";
layout="absolute">









  







[flexcoders] Re: Dynamic TextArea fields or Grouping TextArea fields

2006-11-16 Thread camlinaeizerous
To solve your first problem use an event listener after the "ta" has
been ceated. It should be something similar to the below line. I
believe it's syntax is correct and each time ta changes the event
listener should call someListenerFunction.

ta.addEventListener(change, someListenerFunction);

--- In flexcoders@yahoogroups.com, "debla1317" <[EMAIL PROTECTED]> wrote:
>
> That works perfect (THANK YOU), now I have two problems.
> 
> 1) If I would have created the textarea down in the MXML I would be 
> able to set a "change" property, but I can't figure out how to set 
> that in my actionscript code ta.change = doSomething(); does not 
> work.
> 
> 2) Later on I want to look back through the list of textarea fields 
> and properties and I think I am close by creating a new object, but 
> not quite there.
> 
> So I created another loop to reference the textarea objects:
> 
> for (var y:int = 0; y {
>  var packageObject:Object = "packageID_" + y.toString();
>  Alert.show(packageObject.text);
> }
> 
> Now my problem is that it is setting packageObject to a string 
> instead of accepting that I want packageObject to be equal to my 
> text field with the id of packageID_0, packageID_1, etc...
> 
> --- In flexcoders@yahoogroups.com, "Dimitrios Gianninas" 
>  wrote:
> >
> > Something like:
> >  
> > var ta:TextArea = new TextArea();
> > ta.text = "val from call";
> > ta.id = "mytextID" + x;
> > ta.width = 400;
> > myView.addChild( ta );
> >  
> > Dimitrios Gianninas
> > RIA Developer
> > Optimal Payments Inc.
> >  
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of debla1317
> > Sent: Wednesday, November 15, 2006 3:13 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Dynamic TextArea fields or Grouping TextArea 
> fields
> > 
> > 
> > 
> > I am making a call out to a remote object and sending back a query 
> of 
> > reportid, reportname, reportdescription, reportprice. In the 
> handler 
> > function I am trying to do a for loop and create textfields to 
> display 
> > this information. The last column would be a dynamic textarea 
> where 
> > the user is able to enter a quantity they want to order.
> > 
> > How do I go about creating these textareas (labels, whatever) and 
> name 
> > them dynamically using the reportid so that on the payment page I 
> am 
> > able to loop back through and check the text value (quantity) to 
> > multiply it by the price.
> > 
> > 
> > 
> >  
> > 
> > -- 
> > WARNING
> > ---
> > This electronic message and its attachments may contain 
> confidential, proprietary or legally privileged information, which 
> is solely for the use of the intended recipient.  No privilege or 
> other rights are waived by any unintended transmission or 
> unauthorized retransmission of this message.  If you are not the 
> intended recipient of this message, or if you have received it in 
> error, you should immediately stop reading this message and delete 
> it and all attachments from your system.  The reading, distribution, 
> copying or other use of this message or its attachments by 
> unintended recipients is unauthorized and may be unlawful.  If you 
> have received this e-mail in error, please notify the sender.
> > 
> > AVIS IMPORTANT
> > --
> > Ce message électronique et ses pièces jointes peuvent contenir des 
> renseignements confidentiels, exclusifs ou légalement privilégiés 
> destinés au seul usage du destinataire visé.  L'expéditeur original 
> ne renonce à aucun privilège ou à aucun autre droit si le présent 
> message a été transmis involontairement ou s'il est retransmis sans 
> son autorisation.  Si vous n'êtes pas le destinataire visé du 
> présent message ou si vous l'avez reçu par erreur, veuillez cesser 
> immédiatement de le lire et le supprimer, ainsi que toutes ses 
> pièces jointes, de votre système.  La lecture, la distribution, la 
> copie ou tout autre usage du présent message ou de ses pièces 
> jointes par des personnes autres que le destinataire visé ne sont 
> pas autorisés et pourraient être illégaux.  Si vous avez reçu ce 
> courrier électronique par erreur, veuillez en aviser l'expéditeur.
> >
>





[flexcoders] Re: How to make FormItem labels left aligned?

2006-11-08 Thread camlinaeizerous
While you could go an set textAlign="left" on each form item that
would simply be a headache. I would suggest since you want it done on
every form item to simply change the CSS settings for the form items.

--- In flexcoders@yahoogroups.com, "Sergey Kovalyov"
<[EMAIL PROTECTED]> wrote:
>
> Hi All!
> 
> I want FormItem labels to be left aligned in all the Form instances.
> What is the best practice to do that?
> 
> Sergey.
>





--
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] Re: New to Array Collection.

2006-11-08 Thread camlinaeizerous
You need to know first the index and the field name. If the array
collection looked something like;

public var test:ArrayCollection = new ArrayCollection
([{one: "1,1", two: "1,2", three: "1,3"},
{one: "2,1", two: "2,2", three: "2,3"}]);

to extract 2,2 you would need

test.getItemAt(2).two

if you only specify test.getItemAt(2) you will end up with [object
object] as text as it is returning the entire row.



--- In flexcoders@yahoogroups.com, "Joe" <[EMAIL PROTECTED]> wrote:
>
> What is the easiest way to exstract a single value from an array 
> collection that is a reslut from remote object calling a cfc.
> 
> 
>  [Bindable]
> public var empSelected:Number;
> 
> public function getempProfile():void{
>   
> cfService.empName({emp:empSelected});
>   
> }
> 
> [Bindable]
>   
> private var empData:ArrayCollection;
>   
> private function dataHandler(event:ResultEvent):void{
> empData = event.result as ArrayCollection;
> }
> 
> 
>destination="ColdFusion" 
>   source="cfc.names"
>   result="dataHandler(event)"
>   />
> 
> 
> 
>  
>   
>   
>





--
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] Re: Eclipse becoming HORRIBLY slow??

2006-11-07 Thread camlinaeizerous
It is not an XP only issue as I have seen it happen on win2k also.

--- In flexcoders@yahoogroups.com, "Steve Kellogg @ Project SOC"
<[EMAIL PROTECTED]> wrote:
>
> J,
> 
> I actually think that that's (at least part of) the problem.
> 
> It FEELS like memory is being swapped, etc.  I can't yet prove it, but I
> won't be surprised a bit if I find a garbage collection or swap file
> problem.
> 
> Steve
> 
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of jnewport
> Sent: Tuesday, November 07, 2006 10:44 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Eclipse becoming HORRIBLY slow??
> 
> Do you let Eclipse sit for a while, say checking email or other items?
> 
> You have probably tried this but...
> 
> There was blog somewhere that said XP holds the memory or something
> when not using Flex Builder.  Try to minimize and restore Flex Builder
> two or three times and see if that doesn't help (release usage).  
> 
> j
> 
> --- In flexcoders@yahoogroups.com, Constantiner  wrote:
> >
> > Are there any includes in the class hierarchy?
> > 
> > -- 
> > Best regards,
> >  Constantinermailto:constantiner@
> > 
> > 
> > SKPS> Hello,
> > SKPS> I'm using FB2 on WinXP on a fairly modern laptop (core duo).
> > SKPS> I seem to be having a great deal of trouble lately with
> > SKPS> FlexBuilder's TEXT EDITOR (in SOURCE MODE) getting VERY VERY
> > SKPS> SLOW.¹ Slow means that I can type a 32 character line, and see a
> > SKPS> 10-15 second delay before all of the characters show up on the
> screen.
> > SKPS>
> > SKPS> Is there some sort of GARBAGE COLLECTION that might be getting
> > SKPS> in the way of smooth operation?¹ Are there any known
> conditions that I should be avoiding?
> > SKPS>
> > SKPS> Thanks in advance,
> > SKPS>
> > SKPS> Steve
> > SKPS>
> > SKPS> Steve Kellogg
> > SKPS> Peak8 Solutions
> > SKPS> 1401 14th Street
> > SKPS> Boulder, Colorado
> > SKPS> 80302, USA
> > SKPS> Fax: 303.415.2597
> > SKPS> E-Mail: stevek@
> >
> 
> 
> 
> 
> 
> --
> 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] Re: Eclipse becoming HORRIBLY slow??

2006-11-07 Thread camlinaeizerous
I have had the same happen with both small and larger files. My
machine at home is a gaming/mini-server machine and the one at work is
also more then capable. 

I personally have not tried playing with most of the settings but I
have noticed that when it happens if you go to the design mode and
force a refresh and back to the code that the problems goes away.

--- In flexcoders@yahoogroups.com, "Steve Kellogg @ Project SOC"
<[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
>  
> 
> I'm using FB2 on WinXP on a fairly modern laptop (core duo).
> 
>  
> 
> I seem to be having a great deal of trouble lately with
FlexBuilder's TEXT
> EDITOR (in SOURCE MODE) getting VERY VERY SLOW.  Slow means that I
can type
> a 32 character line, and see a 10-15 second delay before all of the
> characters show up on the screen.
> 
>  
> 
> Is there some sort of GARBAGE COLLECTION that might be getting in
the way of
> smooth operation?  Are there any known conditions that I should be
avoiding?
> 
>  
> 
> Thanks in advance,
> 
>  
> 
>  
> 
> Steve
> 
>  
> 
>  
> 
>  
> 
> Steve Kellogg
> 
> Peak8 Solutions
> 
> 1401 14th Street
> 
> Boulder, Colorado
> 
> 80302, USA
> 
> Fax: 303.415.2597
> 
> E-Mail: [EMAIL PROTECTED]
>





--
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] Re: Accessing Flex components via external actionscript - N00b Question :)

2006-11-06 Thread camlinaeizerous
As long as you have...



In your as file you should have no problem accessing the mxml
components from your action script file after doing that and
rebuilding your project. To check and make sure "this." works great
for making sure the scope is correct.



--- In flexcoders@yahoogroups.com, "mts_link" <[EMAIL PROTECTED]> wrote:
>
> Ok, I'm making the move from Flash/PHP to Flex 2, but have run into 
> a "n00b" question and I have been unable to find an answer.
> 
> When I use actionscript via the mx:Script tag IN the mxml file, I can 
> access the components without much problem.
> 
> Example: 
> public function getTestInput()
> {
>   trace("Value of Text Input: " + testInput.text);
> }
> 
> In the MXML page I have a text input with an id of testInput. The 
> moment I move this same code into an external actionscript class, I 
> can no longer access this variable.
> 
> I know, it certainly has to do with scope, but how do I directly 
> access the mxml components from within my external actionscript 
> class? I have seen mention of parentDocument and parentApplication, 
> but I cannot seem to get this to work for me.
> 
> Can anyone shed some light on this and perhaps provide an example, or 
> a link to an example?
> 
> Thanks!
> 
> John Cornett
>





--
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] Re: flex is capable for developing interactive flash games?

2006-11-06 Thread camlinaeizerous
While I can not answer all of your questions I can help you a bit with
question 3.

> 3. How flex 2  it self can handle data processing(save,edit data to 
> database).

There is a great wizard that helps with creating CRUD interfaces with
databases. While I decided not to follow the way the wizard does
things completely it did give me a very good starting point on how to
transfer data back and forth form a SQL database. Assuming your using
Flex Builder 2 you will first need a Data Source set up in ColdFusion
through the Admin Panel (If you need help with that I'll let someone
else help as I know less about ColdFusion then Flex).When you have the
data source set in ColdFusion go back to Flex Builder 2 and go File >
New > Other. A window pops up with the available other templates and
use the ColdFusion Wizards > ColdFusion/Flex Application Wizard. Go
through the wizard carefully and make sure your targets are sources
are correct as it can overwrite existing projects if you set the wrong
target. When your finished with the wizard you will now have a small
generated database access application with auto created files. These
files were a great starting point to understanding how to do database
access within flex.

And for the most part unless your streaming video or making multi
player games I think you can work around media server but don't quote
me on that.


--- In flexcoders@yahoogroups.com, "satyakishore" <[EMAIL PROTECTED]> wrote:
>
> Hi Flex lovers,
> 
> I am lover of flash. By reading the capabilies of flex,I am getting 
> intrest towards flex. I have couple of doubts regarding developing 
> Online games
> 
> Subject:-Online gaming.
> Question:- Shall I use flex for developing online flash intractive 
> games. if yes,
> 
> 1. should i have to use flash ID to develop games or I can create 
> with MXML to produce flash intractive games.
> 
> 2. Is it necessary to use flash remoting software to conect remoting 
> server,eventhough i am  Useing flex?
> 
> 3. How flex 2  it self can handle data processing(save,edit data to 
> database).
>  
> IMPORTANT: Main doubt is "FLASH REMOTING AND MEDIA SERVER IS 
> NECESSARY 
> TO DEVELOPE ONLINE GAMES IF I USE FLEX?"
> 
> 
> According to my Knowledge:I am planning like this. Please guide me 
> Which is correct way.
> 
> 1. Sun Game Server
> 2. Flex 2
> 3. Flex Data Services(remotint - connecting and accesing database)
> 4. flash and actionscript(creating user intractive for games)
> 5. Mysql or oracle
> 
> Sorry for my english. Please guide me or provide me any url link 
> where i can get this knowledge.
> 
> Thanks  and Regards,
> Kishore
>





--
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] Re: Flex 2 and maps

2006-11-06 Thread camlinaeizerous
http://www1.arcwebservices.com/v2006/solutions/awx.jsp

--- In flexcoders@yahoogroups.com, "brian.knorr" <[EMAIL PROTECTED]> wrote:
>
> I have been struggling to find a "clean" way to integrate mapping into 
> a flex 2 app.  I know you can use the legacy Yahoo Maps Api (Flex 
> 1.5 / AS2) and via a LocalConnection communicate with it, but this is 
> a big hack.  Does anyone know of a mapping component that supports 
> Flex 2 / AS3?
> 
> Thanks,
> 
> Brian
>





--
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] Re: Issue while tring to filter an arrayCollection...

2006-11-03 Thread camlinaeizerous
Oops, yes it was a typo on my part, I tried to make a couple changes
as I thought I had an idea. testFilter in the error message should be
arrayFilter.

When i sat down though this morning and looked at it again I realized
the problem was in my yesterday I was trying to do things backwards
and make a search() go through an int and converting the searchBar
text to an int when I should have been converting the contactID to a
string and leaving the searchBar alone.


--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Why is the error in a textFilter function when you're writing
> arrayFilter?  Typo in your post?
> 
>  
> 
> Run this in the debugger so you get more info including a line number in
> the error.  You'll probably find the line and it may be that the
> contactID isn't an object with a search function or something like that?
> The debugger could be useful here too, put a breakpoint in your filter
> function and you'll see how things go.
> 
>  
> 
> ____
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of camlinaeizerous
> Sent: Thursday, November 02, 2006 8:22 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Issue while tring to filter an arrayCollection...
> 
>  
> 
> my first attempt at this post got filtered out for some reason and the
> rich text editor just crashed on my when I attempted to submit so here
> is attempt 3. 
> 
> myParticipants and arrayColleciton is populated by a cfquery that
> pulls the entire contents of a sql table. There are 4 column one being
> contactID int/int and the 3 others are strings/varhchars. I also have
> searchBar a textInput that on change calls the filtering function so
> it filters as you type. I recieve the following runtime error when i
> attempt to filter comparing the contactID:
> 
> TypeError: Error #1006: value is not a function.
> at views::viewParticipants_Contacts/::textFilter()
> at mx.collections::ListCollectionView/::internalRefresh()
> at mx.collections::ListCollectionView/refresh()
> at views::viewParticipants_Contacts/::filterHandler()
> at views::viewParticipants_Contacts/__searchBar_change()
> at
> flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEven
> tFunction()
> at flash.events::EventDispatcher/dispatchEvent()
> at mx.controls::TextInput/::textField_changeHandler()
> 
> the following snipet is the code I'm using as the filter where
> (item.contactID.search(searchBar.text) >= 0) is causing the issue but
> when I replace contactId with any of the other 3 columns it works just
> as intended. I attmepted changing seachBar.text as int and a few other
> things but without success. 
> 
> private function filterHandler():void
> {
> this.myParticipants.filterFunction = arrayFilter;
> this.myParticipants.refresh();
> }
> private function arrayFilter(item:Object):Boolean
> {
> if((searchBar.text == "") || 
> (item.contactID.search(searchBar.text) >= 0))
> {return true;}
> else
> {return false;}
> }
> 
> Some help resolving this issue without changing the sql column to a
> string would be greatly appreciated.
>




--
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] Issue while tring to filter an arrayCollection...

2006-11-02 Thread camlinaeizerous
my first attempt at this post got filtered out for some reason and the
rich text editor just crashed on my when I attempted to submit so here
is attempt 3. 

myParticipants and arrayColleciton is populated by a cfquery that
pulls the entire contents of a sql table. There are 4 column one being
contactID int/int and the 3 others are strings/varhchars. I also have
searchBar a textInput that on change calls the filtering function so
it filters as you type. I recieve the following runtime error when i
attempt to filter comparing the contactID:

TypeError: Error #1006: value is not a function.
at views::viewParticipants_Contacts/::textFilter()
at mx.collections::ListCollectionView/::internalRefresh()
at mx.collections::ListCollectionView/refresh()
at views::viewParticipants_Contacts/::filterHandler()
at views::viewParticipants_Contacts/__searchBar_change()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.controls::TextInput/::textField_changeHandler()

the following snipet is the code I'm using as the filter where
(item.contactID.search(searchBar.text) >= 0) is causing the issue but
when I replace contactId with any of the other 3 columns it works just
as intended. I attmepted changing seachBar.text as int and a few other
things but without success. 

private function filterHandler():void
{
this.myParticipants.filterFunction = arrayFilter;
this.myParticipants.refresh();
}
private function arrayFilter(item:Object):Boolean
{
if((searchBar.text == "") || 
(item.contactID.search(searchBar.text) >= 0))
{return true;}
else
{return false;}
}

Some help resolving this issue without changing the sql column to a
string would be greatly appreciated.






--
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] Datagrid selected index

2006-10-31 Thread camlinaeizerous
There is probably a really simple solution to the problem i'm having
with a datagrid.

I have a data grid with several rows in it. Say you select the item at
index 5(item 'f') and sort one of the columns. The item 'f' that was
at index 5 moves to index 10 and remains selected yet the data grid
still says that the selected index is 5 instead of index 10 but the
selected item reports the correct selected item 'f' even though its
new index is 10.

Anyone have an idea on how to go about forcing the datagrid to update
to the new selected index, as i have tried playing with validate now
and a few other things.




--
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] Re: Internationalisation & Accordion

2006-10-31 Thread camlinaeizerous
My first actual flex app beyond simple sand boxing was multi language
and i ran into a similar problem. Long story short I made the
accordian only change the items on the active panel by determining
which internal canvas it was showing. And would change the other text
on the other canvases on navigation to those respective canvases.

--- In flexcoders@yahoogroups.com, "nikko_leborgne"
<[EMAIL PROTECTED]> wrote:
>
> Hello !
> 
> In my application, I have an accordion where I hide/show canvas by
> clicking on diferents items in my interface.
> Moreover, in my application, I can change the language by clicking on
> the corresponding flag.
> 
> And so, that si my problem :
> 
> When I want to hide a canvas of my accordion, I use
> accordion.removeChild(myCanvas).
> And after that, when I click on a different language flag, there is an
> error to update the label of the hidden canvas.
> 
> Have you a solution, please ?
> 
> Thanks !!!
>





--
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] Re: Scrollbarpolicy

2006-10-30 Thread camlinaeizerous
I'm not familiar with Flex 1.5 but from the differnce of syntax i
assume thats what your using. Either way you want something similar to
the following to do what your looking for.











Fixed width for the scroll panel instead of a %.
Turn of scrolling for the datagrids.
At this point you can even change the scrollpanel to default scroll
policy if the data grids are never actually too wide.

--- In flexcoders@yahoogroups.com, "Tommy Mestdagh"
<[EMAIL PROTECTED]> wrote:
>
> Hi all 
> 
> I have a problem with two wide grids wide grid.  By default both grids
> have there own scrollbar, basicly, i want them both to scroll together.
> My idea was to place them together in one panel and let that have a
> scrollbar. 
> That way the textinput is always on the screen.  Well its not working,
> the scrollbar appears on the bottom of the application 
> So that the text label scrolls out of focus.  
> I have played with the Hscrollpolicy of application and panel but can't
> find the right combination.
> Can someone look at the code, and post a solution. 
> 
> Regards Tommy
> 
> 
> 
> 
> 
> 
> http://www.macromedia.com/2003/mxml";
> backgroundColor="#FF" 
>  hScrollPolicy="off" 
>  clipContent="true" 
>  creationComplete="dummycols()" 
>  >
> 
> 
> 
> width="100%">
>
>width="100%">
>  hScrollPolicy="on" clipContent="true">
>  width="100%" columns="{datagridcolumns}" 
>  hScrollPolicy="auto" >
> 
> 
> 
> Pavement
> 9.99
> Slanted and Enchanted
> 
> 
> Pavement
> 9.99
> Brighten The Corners
> 
> 
> 
> 
>   
>width="100%" columns="{datagridcolumns}" 
>  hScrollPolicy="auto" >
> 
> 
> 
> Pavement
> 9.99
> Slanted and Enchanted
> 
> 
> Pavement
> 9.99
> Brighten The Corners
> 
> 
> 
> 
>   
>   
>   
> 
> 
> 
> 
> 
> 
> 
> Deze e-mail en alle gekoppelde bestanden zijn officiele documenten
van het Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke
of persoonlijke informatie bevatten. Gelieve de afzender onmiddellijk
via e-mail of telefonisch te verwittigen als u deze e-mail per
vergissing heeft ontvangen en verwijder vervolgens de e-mail zonder
deze te lezen, te reproduceren, te verspreiden of te ontsluiten naar
derden. Het Gemeentelijk Havenbedrijf Antwerpen is op geen enkele
manier verantwoordelijk voor fouten of onnauwkeurigheden in de inhoud
van deze e-mail. Het Gemeentelijk Havenbedrijf Antwerpen kan niet
aansprakelijk gesteld worden voor directe of indirecte schade, verlies
of ongemak veroorzaakt als gevolg van een onnauwkeurigheid of fout in
deze e-mail. 
> 
> English Translation: This e-mail and all attached files are official
documents of Antwerp Port Authority and may contain confidential or
personal information. If you have received this e-mail in error, you
are asked to inform the sender by e-mail or telephone immediately, and
to remove it from your system without reading or reproducing it or
passing it on to other parties. Antwerp Port Authority is in no way
responsible for any errors or inaccuracies in the contents of this
e-mail, nor can it be held liable for any direct or indirect loss,
damage or inconvenience arising from any such errors or inaccuracies.
[GHA#Disclaimer]
>





--
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] Re: FDS Startup Problem

2006-10-18 Thread camlinaeizerous



The little that you said was all the help I needed thank you. That was a snippet from the fds's file. I cut outand moved it else where and deleted the rest and it fixed my problems.--- In flexcoders@yahoogroups.com, João Fernandes <[EMAIL PROTECTED]> wrote:>> Is this defined in your FDS services-config.xml or in your ColdFusion one?> >  > > FDS doesn't support CF Remoting.> >  > > João Fernandes> >  > >   _  > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On> Behalf Of camlinaeizerous> Sent: quarta-feira, 18 de Outubro de 2006 19:10> To: flexcoders@yahoogroups.com> Subject: [flexcoders] FDS Startup Problem> >  > > I can access databases etc even with this error how ever other> applications run into problems.> > 18/10 11:44:50 error Could not pre-load servlet: MessageBrokerServlet> [1]flex.messaging.MessageException: Cannot create class of type> 'coldfusion.flash.messaging.ColdFusionAdapter'. Type> 'coldfusion.flash.messaging.ColdFusionAdapter' not found.> ...> [0]flex.messaging.config.ConfigurationException: Unable to create> service 'flex.messaging.services.RemotingService' for> 'coldfusion-flashremoting-service' due to the following error: Cannot> create class of type 'coldfusion.flash.messaging.ColdFusionAdapter'..> ...> > the following snippet is the default that was already in> services-config.xml seems to be causeing the trouble as i can comment> it out and fix the start up problem but then i don't have access to> the ColdFusion destination> > > class="flex.messaging.services.RemotingService"> messageTypes="flex.messaging.messages.RemotingMessage">> > > > class="coldfusion.flash.messaging.ColdFusionAdapter" default="true"/>> > > > > > > > *> > false> remote> > > > false> false> false> > > > > > I don't have alot of Flex/ColdFusion experience so any help for fixing> this would be appreaicated.>


__._,_.___





--
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 
   
 

  




__,_._,___



[flexcoders] Re: Items in VBox still take space even when visible=false, but I don't want the

2006-10-18 Thread camlinaeizerous
Do do what you want use the includeInLayout="false" as well as
visable="false". I believe this will fix your issue.

--- In flexcoders@yahoogroups.com, "zzwi89" <[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
> I have several panels arranged in a VBox. I would like to be able to
> hide some based on user input, but when I disable their visibility,
> they  no longer appear but the panels below them do not move up
> accordingly. When they are resized the other panels below will move
> up, but I would prefer to be able to just make them invisible. Is
> there any way of achieving this functionality?
>





--
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] FDS Startup Problem

2006-10-18 Thread camlinaeizerous



I can access databases etc even with this error how ever otherapplications run into problems.18/10 11:44:50 error Could not pre-load servlet: MessageBrokerServlet[1]flex.messaging.MessageException: Cannot create class of type'coldfusion.flash.messaging.ColdFusionAdapter'. Type'coldfusion.flash.messaging.ColdFusionAdapter' not found[0]flex.messaging.config.ConfigurationException: Unable to createservice 'flex.messaging.services.RemotingService' for'coldfusion-flashremoting-service' due to the following error: Cannotcreate class of type 'coldfusion.flash.messaging.ColdFusionAdapter'.the following snippet is the default that was already inservices-config.xml seems to be causeing the trouble as i can commentit out and fix the start up problem but then i don't have access tothe ColdFusion destinationclass="flex.messaging.services.RemotingService"messageTypes="flex.messaging.messages.RemotingMessage">class="coldfusion.flash.messaging.ColdFusionAdapter" default="true"/>    *        false    remote                false    false    false                I don't have alot of Flex/ColdFusion experience so any help for fixingthis would be appreaicated.

__._,_.___





--
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 
   
 

  




__,_._,___



[flexcoders] Re: Text Area question

2006-10-13 Thread camlinaeizerous
To set the left and right margins you can use the paddingLeft and
paddingRight properties. For the capslock question you can use
keyboardEvents to detect certain key but i'm not sure how to force an
emulated keypress, there is a flash.ui.Keyboard class that may be able
to do what you want but I havn't played with it at all.

--- In flexcoders@yahoogroups.com, "brankosli" <[EMAIL PROTECTED]> wrote:
>
> I will be more that thankful if someone could solve my problem.I'm 
> working with textArea component and I have 2 questions:
> 
> I need to know if there is any possibility to fix left and right margin 
> in textArea component?
> And also I need to know if there is possibility to turn on and off 
> capsLock by coding not by pressing keyboard?
>





--
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] Re: Calculating Values on The Fly

2006-10-12 Thread camlinaeizerous
http://www.adobe.com/2006/mxml"; layout="absolute">











not the best example but it works.

--- In flexcoders@yahoogroups.com, "Akash" <[EMAIL PROTECTED]> wrote:
>
> 
> Hi,
> 
>  
> 
>I have 2 comboBoxes, a text area and a label. Whenever a change
> occurs in any of the above said controls the resultant value of the
label
> should come accordingly on the fly. Can anybody Tell me some example
of this
> kind.
> 
>  
> 
> Looking Forward to your cooperation,
> 
>  
> 
> Akash
> 
> 
> 
> Disclaimer
> 
> This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom it is
addressed.  If you have received this communication in error, please
immediately notify the [EMAIL PROTECTED] and destroy the original message.
The recipient should check this email and any attachments for the
presence of viruses.  Ness has taken every reasonable precaution to
minimize this risk, and accepts no liability for any damage caused by
any virus transmitted in this email.  Ness reserves the rights to
monitor and review the content of all messages sent to or from this
E-mail address, and store them on the Ness E-mail system.
>




--
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/