RE: [flexcoders] how to use the swf to aspx?

2006-12-15 Thread KP
You just need to embed the complete swf file on to html object tag in any
aspx page.

 

Kumar

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sky.zhao
Sent: Saturday, December 16, 2006 8:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how to use the swf to aspx?

 

i create charts to swf from flex.

how can i insert  it to my aspx page. 

i already try to copy it to my page .but it can't to use .

 

help me. thank you .

 

sky zhao.

 



[flexcoders] how to use the swf to aspx?

2006-12-15 Thread sky.zhao
i create charts to swf from flex.
how can i insert  it to my aspx page. 
i already try to copy it to my page .but it can't to use .
 
help me. thank you .
 
sky zhao.


Re: [flexcoders] Error In Service Browser

2006-12-15 Thread Lachlan Cotter
The error means that the object you are assuming to be of type  
ErrorMessage was in fact just a plain object. You cannot cast an  
Object to an ErroMessage because it is missing all the methods and  
properties that an ErrorMessage is supposed to have.


Cheers,
Lach


On 15/12/2006, at 3:22 AM, runnerr wrote:


Hi All,

Im getting an error in the service browser:

"TypeError: Error #1034: Type Coercion failed: cannot convert
[EMAIL PROTECTED] to mx.messaging.messages.ErrorMessage."

I have tried to look deeper into the code but I cannot figure it out.




[flexcoders] want to load multiple XML files to populate various controls

2006-12-15 Thread danj520
can you have multiple instances of httpService?

Here is my code:








When run, app finds the "popSrv" path and loads the data, but won't 
find any other paths even though the files exist in their respective 
paths. Any help would be appreciated.



Re: [flexcoders] Re: SEO Compatibility

2006-12-15 Thread Doug McCune
OK, right, we were talking about two different things. Sorry if this has 
caused confusion. I was talking about dynamic data being indexable by 
search engines. You were talking about search engine optimization for 
static content (sorry again if I'm still misunderstanding).


I guess I never think about search engine optimization in terms other 
than how to get your dynamic content indexed by search engines. If I 
have a restaurant review website I want google to index every review 
that my users write. I don't know what you call this is if doesn't count 
as "search engine optimization," but I guess that's not what the term 
means.


If I run a restaurant review website I don't want to show up for someone 
searching "restaurant reviews". I want to show up for someone searching 
"El Farolito burritos". And there's no way I can optimize static content 
with restaurant names or with what users are going to write. But I guess 
that's not SEO, my bad.




John Dowdell wrote:


I'm out of this conversation, sorry... if I say "start with the search
terms you're trying to be found on" and don't get acknowledgment, I'll
just bow out now.

(That restaurant sample applet, I have no idea if it's data-fed text or
internal text, and don't see mentions of E Coli myself, and that's not
the common type of things people are looking for with search engine
optimization. Undefined terms make the convo go 'round.)

Recap:
> Work in Adobe Flex produces SWF files. Text within SWF files can be
> found and used by the search engines (contrary to widespread myth). 
Example:
> 
http://www.google.com/search?q=%22contrary+evidence%22+filetype%3Aswf 


>
> If your content includes material fed in via database, then the search
> engine would not usually see that you use those words.
>
> As with all SEO tasks, you'd first figure what search terms you have a
> chance to compete on (eg, you will never appear on the first page of
> results for search terms like "buy flowers online"). Then set up your
> HTML hosting page with TITLE, URL, metadata and reinforcement of the
> targeted text terms. Then make sure you get plenty of inbound links 
from

> authoritative sources, preferably with your targeted search terms as
> anchor text.

jd

--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd 

Aggregator: http://weblogs.macromedia.com/mxna 

Technotes: http://www.macromedia.com/support/ 


Spam killed my private email -- public record is best, thanks.

 




[flexcoders] OT:Flex 2 adoption rates so far?

2006-12-15 Thread pk_wasp
Has anyone got info on this?

The lastest investor webcast didn't mention much about Flex 2
disappointly:

http://www.adobe.com/aboutadobe/invrelations/06q4analyst/

(every bit of press helps convince that skeptical client :) )





Re: [flexcoders] Spell Checker

2006-12-15 Thread Patrick Mineault
As far as the PHP side of things goes, there are functions already 
built-in for that. You can read about it here:

http://www.zend.com/zend/spotlight/spellchecking.php

You could call php to do the spell check every so and so seconds or 
after every space or with a button... Really depends on what you want. 
As for the backwards looping use String.lastIndexOf(' '). For the 
formatting take a look at setTextFormat.

Patrick

jmfillman a écrit :
>
> I've seen the Component on the Flex Exchange, and it's not going to
> meet my needs, primarily because my app won't always have an internet
> connection to use the Google API. Also, I need the custom dictionary
> to be in my DB so users have access to it regardless of what PC they
> are using.
>
> So, I'm asking for some advice and ideas on creating my own Spell
> Check feature using PHP and MySQL.
>
> I've been thinking about this in theory, and here are my initial
> questions where I would like feedback.
>
> Do I call a remoteObject after every keystroke to compare against a
> database table of words or do I wait until all the fields are filled
> out and then have the user click a button to Spell Check the fields?
> Maybe both?
>
> How efficient is this going to be with say 100,000 words in the word
> list to check against?
>
> What about integrating a PHP spell checking function?
>
> How do I loop backward until I find a space so I am only checking the
> last word?
>
> How to allow the user to add words not in the standard dictionary to
> their custom table, from where they are in the application?
>
> How do I then set the style of the last word to red underline, change
> the text color, or some other visual representation to note an
> incorrect word?
>
> If using a Spell Check button, I'd like to change the tab color to a
> different color, if there are spelling mistakes in fields on that
> tab. I'd also like to highlight fields where there are spelling
> mistakes.
>
>  



Re: [flexcoders] Re: SEO Compatibility

2006-12-15 Thread Patrick Mineault
Saying you shouldn't use Flex for content-focused website is going a 
little bit over the edge IMHO. I think we all definitely agree that for 
100% content-focused sites, you should use HTML, and for 100% 
data-focused sites, you should use Flex. However in between those 
extremes, you can still use Flex and get your data indexed. For example, 
if you're going to create a blog in Flex, you are probably going to use 
some sort of ready-made blogging engine and plug it into a Flex 
front-end, using whatever means you feel are right (for example, using 
XML-RPC if you're using WordPress). Well, blogging engines create RSS 
feeds, and Google will index an RSS feed just fine. Then it's a matter 
of adding a link to the RSS feed in the HTML for the Flex app. Similarly 
if you create a message board. While I'm not convinced creating a blog 
or a message board interface in Flex is smart (I would advise against it 
personally), if you want to do it, you have options for getting it indexed.

You don't have to sound angry when you're talking about it. It just 
sounds like you're trying to say "PEOPLE, DON'T USE SCREWDRIVERS, YOU 
CAN'T DRIVE NAILS WITH THEM". Dude, that's why we have hammers.

Patrick

Doug McCune a écrit :
>
> How about this one as an example: the Adobe Restaurant Finder sample 
> app, with the "Recent Reviews" page in particular. The app is here: 
> http://examples. adobe.com/ flex2/inproduct/ sdk/restaurant/ 
> recentReviews. html 
> 
>
> If you look at that app you can see user submitted reviews of 
> restaurants. For example, there's a review of Addis Red Sea and the 
> reviewer mentions E. Coli in the review. If anyone did a search for 
> "Addis Red Sea" and "E Coli" this page would never come up. The only 
> possible way to get the site to appear in search results would be to 
> publish an alternative HTML version of all the reviews.
>
> And in fact a complete Google search for everything on examples.adobe. 
> com shows that you can't find anything useful: http://www.google. 
> com/search? q=site:examples. adobe.com+&hl=en&lr=&filter=0 
> 
>
> Yes, the Restaurant Finder app wrapper HTML page is indexed, but 
> that's useless.
>
> Now, a Google search for "ecoli" on Yelp turns up tons of 
> user-submitted results: http://www.google. com/search? 
> hl=en&lr=&q=site%3Ayelp. com+ecoli 
> 
>
> The Yelp team would never give that up. They simply can't do Yelp in 
> Flex because they'd lose the search engine indexing. Now, I'm not 
> saying that this is a huge problem. All it means is that at the moment 
> Flex is not the answer for many websites. That's OK, Flex is still 
> great at what it does well. But if you want any of your dynamic 
> content indexed by search engines Flex is not the way to go. And it's 
> not a matter of just thinking about how to include keywords. Flex just 
> simply isn't an option, nor does it need to be, for websites like 
> this. Use Flex for what it does, but trying to make a website in Flex 
> that needs to be indexed by a search engine simply isn't an option at 
> the moment.
>
> And this "example" of the restaurant review stuff is a typical example 
> of tons of other types of websites that shouldn't be done in Flex. 
> Blogs, news sites, message boards, the list goes on and on. But if 
> you're doing some stuff that needs data visualization or you can do 
> without search engine indexing, then by all means use Flex. And I say 
> this as a HUGE fan of Flex. People just need to use it for what it's 
> good at.
>
> Doug
>
> John Dowdell wrote:
>
>> dougmccune wrote:
>> > While I know Adobe employees don't like to admit this, the answer is
>> > very simple: It is often impossible, and if not impossible then at
>> > least extremely difficult, to get your Flex content indexed by search
>> > engines. That's the straight answer. No more no less.
>>
>> A particular concrete example might help bring this conversation back to
>> ground.
>>
>> Work using Flex as the creation tool can certainly be found by search
>> engines. Identifying your reasonable target search terms is the first 
>> step.
>>
>> jd
>>
>> -- 
>> John Dowdell . Adobe Developer Support . San Francisco CA USA
>> Weblog: http://weblogs. macromedia. com/jd 
>> 
>> Aggregator: http://weblogs. macromedia. com/mxna 
>> 
>> Technotes: http://www.macromed ia.com/support/ 
>> 
>> Spam killed my private email -- public record is best, thanks.
>>
>
>  



Re: [flexcoders] Apollo

2006-12-15 Thread Mike Chambers
Apollo Wish Requests can go to:
[EMAIL PROTECTED]

--
The number #1 wish for me is this: create flash applications that run  
from CD (like a Flash Projector) WITHOUT the need to install anything  
(like Flash Projector, but with more rights and more access to the  
system).
--

You will be able to install Apollo applications from CD / DVDs, but  
you will not be able to run the applications from the CD / DVD. This  
is something that we considered, but it is not going to make it into  
1.0.

More info on apollo here:

http://www.adobe.com/go/apollo

mike chambers

[EMAIL PROTECTED]


On Dec 14, 2006, at 2:29 AM, Essl, Markus wrote:

>
> Hello!
>
> I wanted to ask if there is a place for a wish list for Apollo. It  
> is christmas anyway!
>
> First of all, our company creates Computer Based Training Modules -  
> which are available online (for use in an LMS) but are also  
> available offline on CD. These CBTs are made with Authorware, Flash  
> or DHTML, or a combination thereof.
>
> Currently we need an own browser (based on Mozillla) to make these  
> things launchable from CD (we need access to the file system  
> because of tracking user scores between sessions and to integrate  
> into the desktop, etc.; also classroom teaching (ad-hoc peer-to- 
> peer without the need to setup) is a thing we will address sooner  
> or later).
>
> When I heard about Apollo I was excited (and I still am). It would  
> mean that we can offer part of our CBTs for download (because the  
> current system takes more than 20mb just for framework, plus 300kb  
> actual content).
>
> The number #1 wish for me is this: create flash applications that  
> run from CD (like a Flash Projector) WITHOUT the need to install  
> anything (like Flash Projector, but with more rights and more  
> access to the system).
>
> It may sound stupid for the rest of us, but customers demand that  
> they do not want to install anything - they want to insert the CD,  
> and it should run, without EULAs, installing and without accessing  
> the internet or whatever, just run.
>
> The number #2 wish for me is: be able to extend it with C++ code -  
> even if it means to loose platform compatibility.
>
> And Number #3: That it is accessible to screen readers (i have had  
> hard times with the flash projector - i just could not get the  
> screen reader to recognize the settings).
>
>
> I am sorry that this might be the wrong group for that. If there is  
> any chance that there is an official wish list please tell me.
>
> Markus
>
> 



Re: [flexcoders] Repeater issue: only one control generated

2006-12-15 Thread Ralf Bokelberg

The following code works fine for.
Maybe your grids are layered on top of each other?

- snip



http://www.adobe.com/2006/mxml";
   layout="vertical" creationComplete="onCreationComplete()">

   
   
   

   
   
   


- snip


Cheers,
Ralf

On 12/15/06, koldfuzun <[EMAIL PROTECTED]> wrote:


  I am using a repeater to loop over an array of array collections. The
array outputs fine when I dump it to HTML, containing 4 array
elements, and each element contains a valid recordsset.

When I use the repeater in Flex only one datagrid is generated, the
very first. I get no errors, nothing. Here is the mxml:












Thanks in advance!
TJ Downes

 





--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany


Re: [flexcoders] Re: SEO Compatibility

2006-12-15 Thread John Dowdell
I'm out of this conversation, sorry... if I say "start with the search 
terms you're trying to be found on" and don't get acknowledgment, I'll 
just bow out now.

(That restaurant sample applet, I have no idea if it's data-fed text or 
internal text, and don't see mentions of E Coli myself, and that's not 
the common type of things people are looking for with search engine 
optimization. Undefined terms make the convo go 'round.)

Recap:
> Work in Adobe Flex produces SWF files. Text within SWF files can be 
> found and used by the search engines (contrary to widespread myth). Example:
> http://www.google.com/search?q=%22contrary+evidence%22+filetype%3Aswf
> 
> If your content includes material fed in via database, then the search 
> engine would not usually see that you use those words.
> 
> As with all SEO tasks, you'd first figure what search terms you have a 
> chance to compete on (eg, you will never appear on the first page of 
> results for search terms like "buy flowers online"). Then set up your 
> HTML hosting page with TITLE, URL, metadata and reinforcement of the 
> targeted text terms. Then make sure you get plenty of inbound links from 
> authoritative sources, preferably with your targeted search terms as 
> anchor text.



jd





-- 
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


[flexcoders] Spell Checker

2006-12-15 Thread jmfillman
I've seen the Component on the Flex Exchange, and it's not going to 
meet my needs, primarily because my app won't always have an internet 
connection to use the Google API. Also, I need the custom dictionary 
to be in my DB so users have access to it regardless of what PC they 
are using.

So, I'm asking for some advice and ideas on creating my own Spell 
Check feature using PHP and MySQL.

I've been thinking about this in theory, and here are my initial 
questions where I would like feedback.

Do I call a remoteObject after every keystroke to compare against a 
database table of words or do I wait until all the fields are filled 
out and then have the user click a button to Spell Check the fields? 
Maybe both?

How efficient is this going to be with say 100,000 words in the word 
list to check against?

What about integrating a PHP spell checking function?

How do I loop backward until I find a space so I am only checking the 
last word?

How to allow the user to add words not in the standard dictionary to 
their custom table, from where they are in the application?

How do I then set the style of the last word to red underline, change 
the text color, or some other visual representation to note an 
incorrect word?

If using a Spell Check button, I'd like to change the tab color to a 
different color, if there are spelling mistakes in fields on that 
tab. I'd also like to highlight fields where there are spelling 
mistakes.



[flexcoders] Repeater issue: only one control generated

2006-12-15 Thread koldfuzun
I am using a repeater to loop over an array of array collections. The
array outputs fine when I dump it to HTML, containing 4 array
elements, and each element contains a valid recordsset.

When I use the repeater in Flex only one datagrid is generated, the
very first. I get no errors, nothing. Here is the mxml:












Thanks in advance!
TJ Downes




Re: [flexcoders] Re: SEO Compatibility

2006-12-15 Thread Doug McCune
How about this one as an example: the Adobe Restaurant Finder sample 
app, with the "Recent Reviews" page in particular. The app is here: 
http://examples.adobe.com/flex2/inproduct/sdk/restaurant/recentReviews.html


If you look at that app you can see user submitted reviews of 
restaurants. For example, there's a review of Addis Red Sea and the 
reviewer mentions E. Coli in the review. If anyone did a search for 
"Addis Red Sea" and "E Coli" this page would never come up. The only 
possible way to get the site to appear in search results would be to 
publish an alternative HTML version of all the reviews.


And in fact a complete Google search for everything on 
examples.adobe.com shows that you can't find anything useful: 
http://www.google.com/search?q=site:examples.adobe.com+&hl=en&lr=&filter=0


Yes, the Restaurant Finder app wrapper HTML page is indexed, but that's 
useless.


Now, a Google search for "ecoli" on Yelp turns up tons of user-submitted 
results: http://www.google.com/search?hl=en&lr=&q=site%3Ayelp.com+ecoli


The Yelp team would never give that up. They simply can't do Yelp in 
Flex because they'd lose the search engine indexing. Now, I'm not saying 
that this is a huge problem. All it means is that at the moment Flex is 
not the answer for many websites. That's OK, Flex is still great at what 
it does well. But if you want any of your dynamic content indexed by 
search engines Flex is not the way to go. And it's not a matter of just 
thinking about how to include keywords. Flex just simply isn't an 
option, nor does it need to be, for websites like this. Use Flex for 
what it does, but trying to make a website in Flex that needs to be 
indexed by a search engine simply isn't an option at the moment.


And this "example" of the restaurant review stuff is a typical example 
of tons of other types of websites that shouldn't be done in Flex. 
Blogs, news sites, message boards, the list goes on and on. But if 
you're doing some stuff that needs data visualization or you can do 
without search engine indexing, then by all means use Flex. And I say 
this as a HUGE fan of Flex. People just need to use it for what it's 
good at.


Doug

John Dowdell wrote:


dougmccune wrote:
> While I know Adobe employees don't like to admit this, the answer is
> very simple: It is often impossible, and if not impossible then at
> least extremely difficult, to get your Flex content indexed by search
> engines. That's the straight answer. No more no less.

A particular concrete example might help bring this conversation back to
ground.

Work using Flex as the creation tool can certainly be found by search
engines. Identifying your reasonable target search terms is the first 
step.


jd

--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd 

Aggregator: http://weblogs.macromedia.com/mxna 

Technotes: http://www.macromedia.com/support/ 


Spam killed my private email -- public record is best, thanks.

 




Re: [flexcoders] Flex using Actionscript 2.0

2006-12-15 Thread Patrick Mineault
You can convert AS2 to AS3 (gets it about halfway there) using my 
converter here:

http://www.5etdemi.com/blog/archives/2006/11/as2-to-as3-converter-createtextfield-geturl-handling/

Patrick

Tom Chiverton a écrit :
> On Friday 15 December 2006 15:01, Giles Roadnight wrote:
>   
>> No, I don't think so, Flex will only work with AS3 as far as I know.
>> 
>
> Flex *2* will only work with AS3.
> Flex 1 or 1.5 will be fine with AS2, but costs a bomb.
>
>   



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


RE: [flexcoders] Merge two XML documents

2006-12-15 Thread Gordon Smith
What do you mean by "merge"?

 

- Gordon

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Collin Peters
Sent: Friday, December 15, 2006 12:22 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Merge two XML documents

 

Is there a simple (and efficient) way to merge to XML objects? I do
not see a function call to do this in the docs
http://livedocs.macromedia.com/flex/2/langref/XML.html
 

Ways of doing it I suppose would be manual with a foreach, or doing a
toString on both and constructing a new document. Neither of those
would be too efficient I would thing though.

Any ideas?

-- 
Collin Peters
Lead Software Developer

 



Re: [flexcoders] editable combobox

2006-12-15 Thread Daniel Freiman

It's a member of ComboBase so if you looked in the API and weren't showing
inherited properties then you would have missed it.

- Dan

On 12/15/06, Paul Hastings <[EMAIL PROTECTED]> wrote:


  On 12/15/06, Daniel Freiman <[EMAIL PROTECTED] >
wrote:
>
> text property. This property is read-write in and editable combobox. I
think it's read only with non-editable comboboxes.

yup that did the trick. thanks daniel. btw is this documented
someplace i missed?
 



Re: [flexcoders] Re: SEO Compatibility

2006-12-15 Thread hank williams

On 12/15/06, John Dowdell <[EMAIL PROTECTED]> wrote:


dougmccune wrote:
> While I know Adobe employees don't like to admit this, the answer is
> very simple: It is often impossible, and if not impossible then at
> least extremely difficult, to get your Flex content indexed by search
> engines. That's the straight answer. No more no less.

A particular concrete example might help bring this conversation back to
ground.



I think in the body of his message in the next paragraph down from where you
stopped quoting, he did exactly that. He provided a very concrete example of
the problem that is faced. You proceeded to quote him and *not* quote
exactly what you are asking for. Its funny but your additional response is
almost humorous in its manner of highlighting his very good point about the
adobe perspective on all of this. The first step to fixing the problem is
when someone admits it.

Hank


Re: [flexcoders] Re: SEO Compatibility

2006-12-15 Thread John Dowdell
dougmccune wrote:
> While I know Adobe employees don't like to admit this, the answer is
> very simple: It is often impossible, and if not impossible then at
> least extremely difficult, to get your Flex content indexed by search
> engines. That's the straight answer. No more no less.

A particular concrete example might help bring this conversation back to 
ground.

Work using Flex as the creation tool can certainly be found by search 
engines. Identifying your reasonable target search terms is the first step.


jd





-- 
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


Re: [flexcoders] is there a sample to update/delete records in a database server through webservice?

2006-12-15 Thread greg h

Steven,

I know you had first posted on this 10 days ago, but it just came to my
attention that Flex with .NET and Web Services is covered in the following
online training:

Flex 2 Beyond the Basics with: David Gassner
http://movielibrary.lynda.com/html/modPage.asp?ID=290
 11. Working with .NET

If you do not already have an account with Lynda.com, you can get a 1 day
free pass here:
http://www.lynda.com/freepass/24

It looks like the training at the link above only cover retrieving data, but
once you have that all working extending it to do insert, update and delete
should be fairly straight forward.

Please post back and let us know if you have your Flex/.NET/database
configuration working.

hth,

g

On 12/6/06, greg h <[EMAIL PROTECTED]> wrote:


Steven,

As Tracy has posted, Flex w/ .NET w/ SQL Server works.

You asked for a sample app.  I do not know of one where the back end logic
is a web service in .NET, but I will check around.  I will post back if I
find one.

On the other hand, if you can point us to a sample .NET webservice that
includes update/delete, maybe we can throw together in Flex the MXML and AS
to reference it.

hth,

g


On 12/5/06, Steven Xu <[EMAIL PROTECTED]> wrote:
>
>  Hi Greg,
>
> Thanks for the quick reply. I think webservice should be cross-platform.
> My back end at this time is .NET SQL 2005 server. Any sample for update
> database in MS SQL 2005 server?
>
> Thank you again,
>
>
> Steve
>




[flexcoders] Re: AS Help

2006-12-15 Thread Matt Maher
So, what I'm hearing is every member of an object is also added to an
associative array in that object by name? That's great news. I didn't
expect that level of DOM-type support from AS... I am learning every day
that these AS guys got a LOT right!

Thanks!


--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> wrote:
>
> That would be equivalent to
>
>   return preExistingObject["inString"];
>
> For the current object, use this["inString"].
>
>
> --- In flexcoders@yahoogroups.com, "Matt Maher" matt@ wrote:
> >
> > I have a hard question to ask as I don't know the terms to use for
> it.
> > Basically, I want to use a string variable to set what member
> variable
> > to pull from another object
> >
> > How can I make something like the following work:
> >
> > function fun(inString:String):String {
> >
> >
> >  return preExistingObject.eval(inString);
> > }
> >
>




[flexcoders] sum of vertical column of datagrid

2006-12-15 Thread bhousel28
Hello all,

I have seen many examples of taking items within a single row in a 
datagrid and performing calculations on those items to then create a 
new column to display the result total (ex: Item1 + Item2 - Item3 * 
Qty = Result in new column).

I was wondering if someone might be able to post up some sample code 
to be able to show an easy way to display the sum of all items in a 
single column only and take that total to display in a text label for 
example.

In my situation I have a datagrid with two columns pulling in the 
following data:
Column1: Region (text format)
Column2: Millions ($number.xx format)

I want to have Flex add all the $number.xx values in Column2 and be 
able to pass that result to a text label which is placed under the 
datagrid. If there is a way to add a fixed row to the bottom of the 
datagrid to show this result, that would be awesome as well, but not 
sure if that's possible or not.

I am currently using myDataGrid.dataProvider.length to get a total 
count of how many records there are in the datagrid which seems to 
work well. Just wondering if something similar can be done to get the 
sum of all the items in Column2.

Thanks for taking the time to look at this post and any 
help/suggestions you might be able to provide.

Brian



[flexcoders] Merge two XML documents

2006-12-15 Thread Collin Peters
Is there a simple (and efficient) way to merge to XML objects?  I do
not see a function call to do this in the docs
http://livedocs.macromedia.com/flex/2/langref/XML.html

Ways of doing it I suppose would be manual with a foreach, or doing a
toString on both and constructing a new document.  Neither of those
would be too efficient I would thing though.

Any ideas?

-- 
Collin Peters
Lead Software Developer


Re: [flexcoders]Adding blur or drop shadow filter effects to sub components

2006-12-15 Thread dorkie dork from dorktown

*Solved*

I could or I could do this ;)
This function is called on Application initialize:

public function setStyleAcc():void {

   var navHeader1:AccordionHeader = AccordionHeader(
navigationMenu.getHeaderAt(0));
   var navHeader2:AccordionHeader = AccordionHeader(
navigationMenu.getHeaderAt(1));
   var navHeader3:AccordionHeader = AccordionHeader(
navigationMenu.getHeaderAt(2));
   var navHeader4:AccordionHeader = AccordionHeader(
navigationMenu.getHeaderAt(3));

   // First four properties are distance, angle, color, and alpha.
   var f:DropShadowFilter = new DropShadowFilter(2,45,0x00,.8);
   var myFilters:Array = new Array();
   myFilters.push(f);

   // this adds a drop shadow to every component in the accordion
header.
   // In my case that is fine because I only have a label in the header
   navHeader1.filters = myFilters;
   navHeader2.filters = myFilters;
   navHeader3.filters = myFilters;
   navHeader4.filters = myFilters;
}


On 12/14/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:


> ps you still owe me 5 bucks

Read my post on flexcomponents... now you owe me 20$.

Peace, Mike

On 12/14/06, dorkie dork from dorktown < [EMAIL PROTECTED]>
wrote:
>
>   Mike,
>
> Er, um. I know about filters property. How to *apply* it is the
> question. Here is the MXML:
>
> 
>
> Now, my question is, where do I apply the filter to the header label in
> that there MXML? Answer me that mr peyote teoti.
>
> ddfd
> ps you still owe me 5 bucks
>
>
> On 12/14/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:
> >
> >  Hey dorky,
> >
> > Check out the filters property of all Sprites. :)
> >
> > It's an array that holds all filters of the specific display object.
> > You can apply any filter to any subcomponent you want.
> >
> > Peace, Mike
> >
> > On 12/14/06, dorkie dork from dorktown <[EMAIL PROTECTED]>
> > wrote:
> > >
> > >   Is it possible, nay probable to add filter effects to sub
> > > components?
> > >
> > > For example, I need to add a drop shadow effect to the label of the
> > > Accordion header.
> > >
> > > Slightly still on subject, how does one manipulate sub components
> > > properties?
> > >
> > > dorkie tinkering dork from dorktown
> > >
> >
> >
> >
> > --
> > Teoti Graphix
> > http://www.teotigraphix.com
> >
> > Blog - Flex2Components
> > http://www.flex2components.com
> >
> > You can find more by solving the problem then by 'asking the
> > question'.
> >
>
>


--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.




Re: [flexcoders] NetConnection.Call.BadVersion

2006-12-15 Thread Patrick Mineault
That's because you're getting a fatal error from PHP, and therefore the 
output from php is not valid amf. You can either point to 
debuggateway.php instead (if you're using amfphp 1.2), or you can 
install Charles debugging proxy or ServiceCapture to read the error, or 
you can call your service from the service browser, which can read fatal 
errors properly.

Patrick

Cameron Ray a écrit :
>
> I'm getting some troubs from Flex using AMFPHP remoting.  I'll try to 
> make this as brief as possible.  I'm receiving the dreaded 
> "NetConnection. Call.BadVersion" .
>
>
> It's a simple login service to check a username & password against the 
> mySQL DB.  It works fine if I don't try to encrypt the password using 
> the mcrypt module.  Unfortunately, I NEED to use this encryption 
> module so that existing users can login using this app.  I've tried 
> about every way I know howstill having problems.  I'll post the 
> code belowplease let me know if there's any ideas:
>
>  ### START CODE  # ###
> 
> include('dbConnectV alues.php' );
>
> $EnCRYPTEdSECRETkEY = "mySuperSecretKEY" ;
> $alg  = MCRYPT_BLOWFISH;
> $mode = MCRYPT_MODE_ CBC;
> $iv = "&%`>";
>
> class VLlogin {
> function VLlogin()
> {
> $this->methodTable = array (
> "login" => array (
> "description" => "Logs into Vidego Lite!",
> "arguments" => array("uName" , "pWrd"),
> "access" => "remote"),
> "encryptText" => array(
> "description" => "Encrypts pwd",
> "arguments" => array("$someText" ),
> "access" => "remote")
> );
> }
>
> function encryptText( $someText) {
> $encrypted_data = mcrypt_encrypt( $alg, $EnCRYPTEdSECRETkEY , 
> $someText, $mode, $iv);
> $plain_text = base64_encode( $encrypted_ data);
> return $plain_text;
> }
>
> function login($uName, $pWrd) {
>
> $db_name = dbConnectValues: :$database;
> $server = dbConnectValues: :$dbserver;
> $username = dbConnectValues: :$username;
> $password = dbConnectValues: :$password;
>
>
> $fuser = $uName;
> $fpwd = $pWrd;
> //$fpwd = base64_encode( base64_encode( $fpwd));
> $fpwd = encryptText( $fpwd);
> $connection = @mysql_connect( $server,$ username, $password) or 
> die("Cound not connect to database.");
> mysql_select_ db($db_name, $connection) or die("Could not select 
> database.");
> $sql = "SELECT * FROM users WHERE username = '$fuser' AND password = 
> '$fpwd'";
>
> $result = mysql_query( $sql);
> $numRows = mysql_num_rows( $result);
>
> if ($numRows > 0) {
>
> $userInfo = mysql_fetch_ assoc($result) ;
> //$userInfo[ "password" ] = base64_decode( base64_decode( $userInfo[ 
> "password" ]));
> return $userInfo;
>
> } else {
> return 'Please ensure your username or password are correct.';
> }
> }
> }
>
> ?>
>
>
>
>
> -Cameron
>  



[flexcoders] More control on datagrid

2006-12-15 Thread Sandeep Malik
Hi Guys,

Is there a way to get more control on a datagrid? We need to paint 
certain cells with different color and do some other similar stuff. I 
am not able to find any method which gives me a control on a "cell" of 
a datagrid. I know since DataGrid extends from a ListBase, there might 
just not be a possible way to do this, but if someone has found any 
work around, it will be of great help.

Cheers,
Sandeep



Re: [flexcoders] SEO Compatibility

2006-12-15 Thread Kevin Newman
Tom Chiverton wrote:
> On Thursday 14 December 2006 19:39, Kevin Newman wrote:
>   
>> For an example, imagine a message board or blog that was completely
>> contained within a Flex app. How would google index that, and link in?
>> 
>
> Sensible stuff in the HTML wrapper.
> It's not rocket science !
>
>   
Well sure, but what if you want to put 100s of pages in a Flex or Flash 
app (like a message board or blog).

I guess I already knew the answer, but I was hoping there was a better one.

To put it in terms of MVC, if a Flex app is the View and Controller to 
the server's Model, I guess you would need to develop a second View and 
Controller for the Flashless clients like Googlebot and even regular 
Flashless users. That is, you'd need to make some HTML pages that 
display this information to be indexed, even if it is ugly, vanilla 
HTML. I suppose if you wanted the traffic to go to your Flex or Flash 
app, you could use a bit of JavaScript on each page (that google would 
ignore) to detect for Flash, then use location.replace to move the 
visitor to the appropriate place in your Flex or Flash app.

I'd love to see a standard model for this kind of thing, and would be 
willing to help build a library or set of tools to accomplish it. It'd 
go nicely with unFocus.History (and would be quite useful for some 
upcoming projects I'll be working on soon ;-) ).

Anyone have any info to share, or have any time to spend on this kind of 
project (even if all it really is is a collection of ideas and 
suggestions for how to accomplish this)? :-)

Kevin N.



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


Re: [flexcoders] editable combobox

2006-12-15 Thread Paul Hastings
On 12/15/06, Daniel Freiman <[EMAIL PROTECTED]> wrote:
>
>text property.  This property is read-write in and editable combobox.  I 
> think it's read only with non-editable comboboxes.

yup that did the trick. thanks daniel. btw is this documented
someplace i missed?


Re: [flexcoders] editable combobox

2006-12-15 Thread Paul Hastings
On 12/15/06, Amol Pandhare <[EMAIL PROTECTED]> wrote:

> Are you talking about, how to get the value entered in the editable combobox. 
> If yes, the use the combobox instance's "value" property.

yes, getting the data. the text property seems to work, is value preferred?

thanks.


[flexcoders] Re: AS Help

2006-12-15 Thread Doug Lowder
That would be equivalent to 

  return preExistingObject["inString"];

For the current object, use this["inString"].


--- In flexcoders@yahoogroups.com, "Matt Maher" <[EMAIL PROTECTED]> wrote:
>
> I have a hard question to ask as I don't know the terms to use for 
it.
> Basically, I want to use a string variable to set what member 
variable
> to pull from another object
> 
> How can I make something like the following work:
> 
> function fun(inString:String):String {
> 
> 
>  return preExistingObject.eval(inString);
> }
>




[flexcoders] Re: AS Help

2006-12-15 Thread Oscar

  what about something like : 

 function fun(inString:String):String {
 
 
  return preExistingObject[inString];
 }


--- In flexcoders@yahoogroups.com, "Matt Maher" <[EMAIL PROTECTED]> wrote:
>
> I have a hard question to ask as I don't know the terms to use for 
it.
> Basically, I want to use a string variable to set what member 
variable
> to pull from another object
> 
> How can I make something like the following work:
> 
> function fun(inString:String):String {
> 
> 
>  return preExistingObject.eval(inString);
> }
>




Re: [flexcoders] Re: Flex DataService example

2006-12-15 Thread greg h

fyi ...

Flexcab is a sample application in the samples.war. Look in
\samples\dataservice\flexcab

(The above info was provided by JRun Randy Nielsen of Adobe on a thread I
had cross posted to on the forums:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=583&threadid=1210688#4397593)

g


[flexcoders] AS Help

2006-12-15 Thread Matt Maher
I have a hard question to ask as I don't know the terms to use for it.
Basically, I want to use a string variable to set what member variable
to pull from another object

How can I make something like the following work:

function fun(inString:String):String {


 return preExistingObject.eval(inString);
}










Re: [flexcoders] Flex using Actionscript 2.0

2006-12-15 Thread Tom Chiverton
On Friday 15 December 2006 15:01, Giles Roadnight wrote:
> No, I don't think so, Flex will only work with AS3 as far as I know.

Flex *2* will only work with AS3.
Flex 1 or 1.5 will be fine with AS2, but costs a bomb.

-- 
Tom Chiverton
Helping to globally repurpose 24/365 CEOs



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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


Re: [flexcoders] editable combobox

2006-12-15 Thread Amol Pandhare
Hey Paul,

Are you talking about, how to get the value entered in the editable combobox. 
If yes, the use the combobox instance's "value" property.

Amol.

- Original Message 
From: Daniel Freiman <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Friday, December 15, 2006 8:20:17 PM
Subject: Re: [flexcoders] editable combobox

text property.  This property is read-write in and editable combobox.  I think 
it's read only with non-editable comboboxes.

- Dan


On 12/15/06, Paul Hastings  wrote:
i can't seem to catch hold of where user input data is going for
editable comboboxes. i've tried selectedLabel, selectedItem, cruising
the data provider, etc. i guess i'm missing something. do i need an
event listener for this?

thanks.





__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

RE: [flexcoders] Re: Flex DataService example

2006-12-15 Thread Matt Chotin
Sorry, it comes in the FDS samples.war.  We've been working on getting
these samples online but unfortunately there have been some bottlenecks
in our process.  So for now you would need to install FDS express and
run the samples to see it.

 

Matt

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of greg h
Sent: Friday, December 15, 2006 9:52 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Flex DataService example

 

Matt (or anyone),

Could you please clarify what is the "FlexCab example"?

I am not familiar with it, can find no references for "FlexCab" in the
docs and googling FlexCab turns up only the following forum thread also
referencing FlexCab:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=583&t
hreadid=1210688
 

Perhaps FlexCab is short for  ?  Or perhaps you can provide a link
in the docs or Devnet?

Thanks,

g

On 12/15/06, Matt Chotin <[EMAIL PROTECTED]  >
wrote:

Hi Devis,

 

Did you check out the FlexCab example?  It uses many of those functions
in a variety of ways.

 

Matt

 



From: flexcoders@yahoogroups.com 
[mailto: flexcoders@yahoogroups.com 
] On Behalf Of devisbalsemin
Sent: Thursday, December 14, 2006 11:23 PM
To: flexcoders@yahoogroups.com  
Subject: [flexcoders] Re: Flex DataService example

 

Thanks good, but i wish to find a lof of docs Flex DataService concepts
I have also buy "Adobe Flex 2 Training from source" but about Flex
Data Service cover only a few concept.
I hope somebody help me. I'm agree with Adobe that FDS is
powerfull, but the documentation about this... i think that it's very
poor 
Devis

--- In flexcoders@yahoogroups.com 
, "greg h" <[EMAIL PROTECTED]> wrote:
>
> devisbalsemin,
> 
> Have you seen this sample app?
> 
> Automatically generating code for Flex 2 data access
> http://www.adobe.com/devnet/flex/articles/daoflex.html
 
> 
> I believe that it covers Flex Data Services with Java.
> 
> Please post back whether you find the sample app above helpful.
> 
> (fyi ... I currently am using neither Java on the back end nor FDS.)
> 
> g
> 
> On 12/14/06, devisbalsemin <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> > can you give me some link about flex dataService with java please...
> > I wish to unterstand better this dataService/AbstractAssembler but a
> > lot of my google search find only adobe live doc.
> > Can you help me pls.
> > I wish to manage better this concept
> > count(... args):AsyncToken
> > createItem(item:Object):ItemReference
> > deleteItem(item:Object):AsyncToken
> > fill(value:ListCollectionView, ... args):AsyncToken
> > getItem(identity:Object, defaultValue:Object = null):ItemReference
> >
> > About refreshFill() pagination behaviour are very intersted but we
> > can't find more docs or examples
> > Thanks devis
> > ps for Adobe
> > i love this DataService to design some real-time applications
> >
>

 

 



[flexcoders] Re: FDS - class cast exception - lazy loading relationship

2006-12-15 Thread thunderstumpgesatwork
Nevermind... I spoke too soon. Both of the issues I mentioned are
corrected and I still get the exception. I swore it came up twice with
no issues, but I am getting that same exception still.

Thunder

--- In flexcoders@yahoogroups.com, "Jeff Vroom" <[EMAIL PROTECTED]> wrote:
>
> I'm going to keep looking into this, but do you have any bi-directional
> relationships where both directions are lazy="false"?   
> 
>  
> 
> Jeff
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of thunderstumpgesatwork
> Sent: Wednesday, December 13, 2006 9:41 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: FDS - class cast exception - lazy loading
> relationship
> 
>  
> 
> Thanks for the info Jeff... I'lll be looking forward to some of these
> bug fixes... Meanwhile, I enabled 'autoSync' and 'autoCommit' and now
> I'm getting a new Error... no code so I can't tell what's going on. 
> 
> I was able to investigate the variables a little enough to know that
> the managedProperty it's trying to update is called 'attributeGroups'.
> See the definition of it in data-management-config and hibernate. 
> 
> Note this collection loads just fine when autoSync and autoUpdate are
> false.
> 
> Any ideas?
> Thunder
> 
>  lazy="false"/>
> _
> 
> 
> 
> 
> 
> 
> 
> _
> 
> TypeError: Error #1034: Type Coercion failed: cannot convert
> mx.collections::[EMAIL PROTECTED] to mx.data.DataList.
> at
> mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal:
> :updateArrayCollectionItems
> 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:2995]
> at
> mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal:
> :updateManagedProperty
> 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:2065]
> at
> mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal:
> :updateItem 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:3225]
> at
> mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal:
> :updateCache 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:3144]
> at
> mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal:
> :updateCacheWithId
> 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:3050]
> at
> mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq
> uence 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1506]
> at
> mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\da
> ta\Metadata.as:340]
> at
> mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq
> uence 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495]
> at
> mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\da
> ta\Metadata.as:278]
> at
> mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq
> uence 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495]
> at
> mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\da
> ta\Metadata.as:278]
> at
> mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq
> uence 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495]
> at
> mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\da
> ta\Metadata.as:278]
> at
> mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq
> uence 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495]
> at
> mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\da
> ta\Metadata.as:278]
> at
> mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq
> uence 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495]
> at
> mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq
> uenceResult
> 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1610]
> at
> ConcreteDataService.as$38::DataListRequestResponder/result()[C:\dev\ente
> rprise_gmc\frameworks\mx\data\ConcreteDataService.as:4344]
> at
> mx.rpc::AsyncRequest/acknowledge()[C:\dev\enterprise_gmc\frameworks\mx\r
> pc\AsyncRequest.as:82]
> at
> 

Re: [flexcoders] Re: Flex DataService example

2006-12-15 Thread greg h

Matt (or anyone),

Could you please clarify what is the "FlexCab example"?

I am not familiar with it, can find no references for "FlexCab" in the docs
and googling FlexCab turns up only the following forum thread also
referencing FlexCab:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=583&threadid=1210688

Perhaps FlexCab is short for  ?  Or perhaps you can provide a link in
the docs or Devnet?

Thanks,

g

On 12/15/06, Matt Chotin <[EMAIL PROTECTED]> wrote:


 Hi Devis,



Did you check out the FlexCab example?  It uses many of those functions in
a variety of ways.



Matt


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *devisbalsemin
*Sent:* Thursday, December 14, 2006 11:23 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Re: Flex DataService example



Thanks good, but i wish to find a lof of docs Flex DataService concepts
I have also buy "Adobe Flex 2 Training from source" but about Flex
Data Service cover only a few concept.
I hope somebody help me. I'm agree with Adobe that FDS is
powerfull, but the documentation about this... i think that it's very
poor
Devis

--- In flexcoders@yahoogroups.com , "greg h"
<[EMAIL PROTECTED]> wrote:
>
> devisbalsemin,
>
> Have you seen this sample app?
>
> Automatically generating code for Flex 2 data access
> http://www.adobe.com/devnet/flex/articles/daoflex.html
>
> I believe that it covers Flex Data Services with Java.
>
> Please post back whether you find the sample app above helpful.
>
> (fyi ... I currently am using neither Java on the back end nor FDS.)
>
> g
>
> On 12/14/06, devisbalsemin <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> > can you give me some link about flex dataService with java please...
> > I wish to unterstand better this dataService/AbstractAssembler but a
> > lot of my google search find only adobe live doc.
> > Can you help me pls.
> > I wish to manage better this concept
> > count(... args):AsyncToken
> > createItem(item:Object):ItemReference
> > deleteItem(item:Object):AsyncToken
> > fill(value:ListCollectionView, ... args):AsyncToken
> > getItem(identity:Object, defaultValue:Object = null):ItemReference
> >
> > About refreshFill() pagination behaviour are very intersted but we
> > can't find more docs or examples
> > Thanks devis
> > ps for Adobe
> > i love this DataService to design some real-time applications
> >
>





[flexcoders] Re: FDS - class cast exception - lazy loading relationship

2006-12-15 Thread thunderstumpgesatwork
Jeff, I did find one bi-directional that was lazy=false on both sides.
This was not the relationship that caused the error however. 

Looking over the lazy attributes on all my destinations however, I did
find one typo on a lazy=true relationship that was pointing to the
wrong destination, and after correcting the destination this error has
gone away. Would this problem manifest itself in the exception trace
below?

Anyway, a cryptic exception for an error that was my fault.. oh well.
 Thanks for your help yet again!

Thunder

--- In flexcoders@yahoogroups.com, "Jeff Vroom" <[EMAIL PROTECTED]> wrote:
>
> I'm going to keep looking into this, but do you have any bi-directional
> relationships where both directions are lazy="false"?   
> 
>  
> 
> Jeff
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of thunderstumpgesatwork
> Sent: Wednesday, December 13, 2006 9:41 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: FDS - class cast exception - lazy loading
> relationship
> 
>  
> 
> Thanks for the info Jeff... I'lll be looking forward to some of these
> bug fixes... Meanwhile, I enabled 'autoSync' and 'autoCommit' and now
> I'm getting a new Error... no code so I can't tell what's going on. 
> 
> I was able to investigate the variables a little enough to know that
> the managedProperty it's trying to update is called 'attributeGroups'.
> See the definition of it in data-management-config and hibernate. 
> 
> Note this collection loads just fine when autoSync and autoUpdate are
> false.
> 
> Any ideas?
> Thunder
> 
>  lazy="false"/>
> _
> 
> 
> 
> 
> 
> 
> 
> _
> 
> TypeError: Error #1034: Type Coercion failed: cannot convert
> mx.collections::[EMAIL PROTECTED] to mx.data.DataList.
> at
> mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal:
> :updateArrayCollectionItems
> 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:2995]
> at
> mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal:
> :updateManagedProperty
> 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:2065]
> at
> mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal:
> :updateItem 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:3225]
> at
> mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal:
> :updateCache 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:3144]
> at
> mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal:
> :updateCacheWithId
> 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:3050]
> at
> mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq
> uence 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1506]
> at
> mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\da
> ta\Metadata.as:340]
> at
> mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq
> uence 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495]
> at
> mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\da
> ta\Metadata.as:278]
> at
> mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq
> uence 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495]
> at
> mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\da
> ta\Metadata.as:278]
> at
> mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq
> uence 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495]
> at
> mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\da
> ta\Metadata.as:278]
> at
> mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq
> uence 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495]
> at
> mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\da
> ta\Metadata.as:278]
> at
> mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq
> uence 
> ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495]
> at
> mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq
> uenceResult
> 

RE: [flexcoders] Re: Flex DataService example

2006-12-15 Thread Matt Chotin
Hi Devis,

 

Did you check out the FlexCab example?  It uses many of those functions
in a variety of ways.

 

Matt

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of devisbalsemin
Sent: Thursday, December 14, 2006 11:23 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex DataService example

 

Thanks good, but i wish to find a lof of docs Flex DataService concepts
I have also buy "Adobe Flex 2 Training from source" but about Flex
Data Service cover only a few concept.
I hope somebody help me. I'm agree with Adobe that FDS is
powerfull, but the documentation about this... i think that it's very
poor 
Devis

--- In flexcoders@yahoogroups.com 
, "greg h" <[EMAIL PROTECTED]> wrote:
>
> devisbalsemin,
> 
> Have you seen this sample app?
> 
> Automatically generating code for Flex 2 data access
> http://www.adobe.com/devnet/flex/articles/daoflex.html
 
> 
> I believe that it covers Flex Data Services with Java.
> 
> Please post back whether you find the sample app above helpful.
> 
> (fyi ... I currently am using neither Java on the back end nor FDS.)
> 
> g
> 
> On 12/14/06, devisbalsemin <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> > can you give me some link about flex dataService with java please...
> > I wish to unterstand better this dataService/AbstractAssembler but a
> > lot of my google search find only adobe live doc.
> > Can you help me pls.
> > I wish to manage better this concept
> > count(... args):AsyncToken
> > createItem(item:Object):ItemReference
> > deleteItem(item:Object):AsyncToken
> > fill(value:ListCollectionView, ... args):AsyncToken
> > getItem(identity:Object, defaultValue:Object = null):ItemReference
> >
> > About refreshFill() pagination behaviour are very intersted but we
> > can't find more docs or examples
> > Thanks devis
> > ps for Adobe
> > i love this DataService to design some real-time applications
> >
>

 



RE: [flexcoders] To Remote Call or Not To Remote Call in Cairngorm

2006-12-15 Thread Brian Holmes

 Yeah, I understand the creation complete event, and it doesn't always
work for what I'm trying to accomplish. For data that's fairly static,
such as a list of departments that's used in a lot of different views, I
want to get the data once. I could do it at the top level,
 tag, but the user may never click on a screen that
needs the department list, so I don't want to go to the server for it
just because it may be needed.

 
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Friday, December 15, 2006 9:48 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] To Remote Call or Not To Remote Call in
Cairngorm

On Wednesday 06 December 2006 17:06, Brian Holmes wrote:
> So I was wondering where and how other people are managing this kind 
> of logic.

Use a creationComplete event on each sub-view to fetch data for that
view.
creationComplete only gets fired on the first show of a component.

--
Tom Chiverton
Helping to appropriately disintermediate killer platforms



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at St James's Court Brown Street Manchester M2 2JF.  A list
of members is available for inspection at the registered office. Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP. Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee
you must not read it and must not use any information contained in nor
copy it nor inform any person other than Halliwells LLP or the addressee
of its existence or contents.  If you have received this email in error
please delete it and notify Halliwells LLP IT Department on 0870 365
8008.

For more information about Halliwells LLP visit www.halliwells.com.



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





***
The information in this e-mail is confidential and intended solely for the 
individual or entity to whom it is addressed.  If you have received this e-mail 
in error please notify the sender by return e-mail delete this e-mail and 
refrain from any disclosure or action based on the information.
***


Re: [flexcoders] How to embed and play video formats in Flex components?

2006-12-15 Thread greg h

Hi Tom,

"Because why?"

First, if you can make sense out of the post please don't be bothered by
me.  Rather, please do assist Kaushik.

And if Flex components do have direct support for embedding PPT and PPS I
would love to learn about it.  Same if others here have a PPT/PPS embedding
solution they would like to share.

Personally I am going to wait for my friend Kaushik to offer further detail
on his requirement before I concern myself further with this thread.  I do
have paying work to do.

Regarding what is and isn't spam, my personal emails have been getting
overrun lately and increasingly the spammers are defeating the spam filters
at my host services.  So I hate to say this, but I have been seeing a lot
more spam gibberish than I would like.  And Kaushik's post struck me as
possible spam.  Yes, he posted on the FlexCoders list, and yes his post has
Flex in the subject line.  In the message body he may have misspelled Flex,
but the four letters F-L-E-X appear now where in the body. And PPT and PPS
are not video formats.

Ok.  Now I really do need to get back to writing code :-)

I hope that you will have a great weekend.

g

On 12/15/06, Tom Chiverton <[EMAIL PROTECTED]> wrote:


On Friday 15 December 2006 16:17, greg h wrote:
> ADMINISTRATOR:  SPAM ALERT

Because why ?

--
Tom Chiverton
Helping to widespreadedly lead interactive designs





RE: [flexcoders] Column Chart with multiple axis

2006-12-15 Thread Ely Greenfield
 
 
Hi Dennis.  The trick is to use ColumnSets and CoulmnSeries together.
Give us a detailed description of what you're going for...i.e., how many
series, how should they be clustered, how should they be stacked
,etc...and we can probably give you more specific suggestions.
 
Ely.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dkhvost
Sent: Thursday, December 14, 2006 6:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Column Chart with multiple axis



Hi,

I'm trying to create a column chart with multiple vertical axis. Both 
axis are column series. One series range is 0 - 70 and the other one is 
0 - 5000. I want to have a clustered stacking effect but I am unable to 
do so. I tried to work with all of the different parameters available 
offset, clumnratio, etc... does anyone have any ideas how to achieved 
the effect I'm looking for?

Dennis



 


Re: [flexcoders] How to embed and play video formats in Flex components?

2006-12-15 Thread Tom Chiverton
On Friday 15 December 2006 16:17, greg h wrote:
> ADMINISTRATOR:  SPAM ALERT

Because why ?

-- 
Tom Chiverton
Helping to widespreadedly lead interactive designs



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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


Re: [flexcoders] NetConnection.Call.BadVersion

2006-12-15 Thread Tom Chiverton
On Friday 15 December 2006 09:28, Cameron Ray wrote:
> "NetConnection.Call.BadVersion".

I've only ever seen this when trying to talking to an endpoint URI that either 
didn't exist or has a HTTP / HTTPS mixup - is this possible ?

-- 
Tom Chiverton
Helping to preemptively improve real-time niches



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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


Re: [flexcoders] To Remote Call or Not To Remote Call in Cairngorm

2006-12-15 Thread Tom Chiverton
On Wednesday 06 December 2006 17:06, Brian Holmes wrote:
> So I was wondering where and how other people are managing this kind of
> logic.

Use a creationComplete event on each sub-view to fetch data for that view.
creationComplete only gets fired on the first show of a component.

-- 
Tom Chiverton
Helping to appropriately disintermediate killer platforms



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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


Re: [flexcoders] NetConnection.Call.BadVersion

2006-12-15 Thread Tom Chiverton
On Friday 15 December 2006 09:28, Cameron Ray wrote:
> "NetConnection.Call.BadVersion".

I've only ever seen this when trying to talking to an endpoint URI that either 
didn't exist or has a HTTP / HTTPS mixup - is this possible ?

-- 
Tom Chiverton
Helping to preemptively improve real-time niches



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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


RE: [flexcoders] remoting with public access modifier in cfc

2006-12-15 Thread Brian Holmes

Check out your CFusionMX7\wwwroot\WEB-INF\flex\services-config.xml

It defines end points for your remote objects in flex. Chances are you
have a 

remote

In your ColdFusion destination. 



Brian..


 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jason Sheedy
Sent: Thursday, December 14, 2006 3:40 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] remoting with public access modifier in cfc

Hi guys,
this is my first post to the list, so please don't be too hard on me.
I'm pretty new to flex, but an old hand and at CF. I just stumbled on
some strange behaviour that I thought would be worth running by you all.
It's more of an observation rather than a question.

I have a flex app that's accessing a cold fusion cfc via flash remoting
and it all works beautifully. The only problem is that on one of my
methods I mistakenly set the access modifier to public and it still
works.. wierd hey. I'm pretty sure it should reject the request unless
the access is set to remote. :)

Has anyone seen this before?

--
Jason Sheedy
www.jmpj.net





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





***
The information in this e-mail is confidential and intended solely for the 
individual or entity to whom it is addressed.  If you have received this e-mail 
in error please notify the sender by return e-mail delete this e-mail and 
refrain from any disclosure or action based on the information.
***


Re: [flexcoders] Re: Disable Application Blur in Popup window

2006-12-15 Thread John Kirby
That worked!  Also if you add modalTransparencyBlur = "0" you get an 
unblured background.


Perfect... thank you!

.j

camlinaeizerous said the following:


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

 


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


Re: [flexcoders] How to embed and play video formats in Flex components?

2006-12-15 Thread greg h

ADMINISTRATOR:  SPAM ALERT

Kaushik, if you are real, please name which FLEX component(s) you need
support with.  Please provide more detail regarding what you know about FLEX
and what you are trying to do with the file formats you listed.

And in case you are real, yes video is supported directly using FLV.  Again,
please provide more details about what you are trying to do and what
problems you may be having.

g

On 12/15/06, kaushikb_ju <[EMAIL PROTECTED]> wrote:


Hi,

Please let us know how we can embed video formats,ppt(power pont
presentation) and pps formats in Filex components. If it is not
supported directly then let me know the way I can do that. Any example
will be very helpful.

Regards,
Kaushik



Re: [flexcoders] Setting the titleIcon at runtime, knowing the path of the icon image

2006-12-15 Thread Michael Schmalle

Hi,

One,

titleIcon is not a style, it's a property.

Two,

It's of type Class, so this means you have to embed the icon.

Three,

You cannot in this incarnation of Flex dynamically load an icon into the
titleIcon slot.

Peace, Mike

The only workaround I see is create an assets class that embeds the icons,
use your xml to call the name of the property in that embeded class library
and set the titleIcon through that reference.


var iconName:String = [EMAIL PROTECTED];

var icon:Class = MyIconLibrary.getIcon(iconName);
titleWindow.titleIcon = icon;

Peace, Mike

On 12/15/06, pitziilu <[EMAIL PROTECTED]> wrote:


  I have this xml for example:


for every  I will add a TitleWindow to the Application, and I
need to set the titleIcon property. I tried it this way:

var iconSource:String = 'url("' + [EMAIL PROTECTED] + '")';
myTitleWindow.setStyle("titleIcon", iconSource);

even if I try to set it manually :
myTitleWindow.setStyle("titleIcon", 'url("myIcon.gif")' );
it doesn't work..
(I know it's not the path.. the path to the image is good, the method
is wrong)

What's the problem? and more important how can I solve it? (is it
because myIcon.gif is not loaded when I set the style?

thank you

 





--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.


[flexcoders] Re: using coldfusion to return height and width of flex swf

2006-12-15 Thread Derrick Grigg
You can try the FlashInspector created by Doug Hughes.

Here's some info and a download for it.

http://www.dgrigg.com/post/Read-SWF-height-and-width-with-Coldfusion";>http://www.dgrigg.com/post/Read-SWF-height-and-width-with-Coldfusion

Derrick Grigg
--
www.dgrigg.com




[flexcoders] Re: Setting dataprovider to itemrenderer in datatagrid.

2006-12-15 Thread ben.clinkinbeard




--- In flexcoders@yahoogroups.com, "Tero Pikala" <[EMAIL PROTECTED]> wrote:
>
> I'd like to know if following code uses proper way to set dataprovider.
> 
> It works but should I do things some other way (maybe injecting
> dataprovider after application has initialized?)
> 
> Thanks!
> 
> 
> 
> 
> http://www.adobe.com/2006/mxml";
> layout="absolute">
> 
> 
>
>phone="1234" />
>
> 
> 
> 
>
>   
>   
>   
>
> 
> 
> 
>  
>  
>  
>  
>  
>  
>  
>   dataProvider="{mx.core.Application.application.selectData}">
>  
>  
>  
>  
>  
>  
> 
>




[flexcoders] Re: how many the classes of flex?

2006-12-15 Thread ben.clinkinbeard
http://feeds.feedburner.com/~r/mannu/~3/57722428/385834.html


--- In flexcoders@yahoogroups.com, "songhuanren" <[EMAIL PROTECTED]> wrote:
>
> how many the classes of flex? ha.ha.
>




Re: [flexcoders] Flex and Maven2 managed project

2006-12-15 Thread Oliver Lietz
Am Donnerstag, 14. Dezember 2006 21:11 schrieb Thijs Triemstra:
> Hi Oliver,
>
> I'm very interested in a Maven 2 plugin for Flex, I have played with
> Maven but don't exactly know what needs to happen for a plugin, is
> there any scripting involved or is it more a config of xml files thing?

Hi Thijs,

you have to write a MOJO (Maven plain Old Java Object) in Java:
http://maven.apache.org/guides/plugin/guide-java-plugin-development.html

Maybe looking at the source of some other plugins is a good starting point:
http://mojo.codehaus.org/

I have the Maven plugin on my list but before that I have to integrate FDS in 
my framework.

btw, a dependency got lost when c&p from my pom.xml:


flex
flex-bootstrap
2.0


O.







--
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] Setting the titleIcon at runtime, knowing the path of the icon image

2006-12-15 Thread pitziilu
I have this xml for example:


for every  I will add a TitleWindow to the Application, and I
need to set the titleIcon property. I tried it this way:

var iconSource:String = 'url("' + [EMAIL PROTECTED] + '")';
myTitleWindow.setStyle("titleIcon", iconSource);

even if I try to set it manually :
myTitleWindow.setStyle("titleIcon", 'url("myIcon.gif")' );
it doesn't work..
(I know it's not the path.. the path to the image is good, the method
is wrong)

What's the problem? and more important how can I solve it? (is it
because myIcon.gif is not loaded when I set the style?

thank you



[flexcoders] How to embed and play video formats in Flex components?

2006-12-15 Thread kaushikb_ju
Hi,

Please let us know how we can embed video formats,ppt(power pont 
presentation) and pps formats in Filex components. If it is not 
supported directly then let me know the way I can do that. Any example 
will be very helpful.

Regards,
Kaushik



RE: [flexcoders] Flex using Actionscript 2.0

2006-12-15 Thread Giles Roadnight
No, I don't think so, Flex will only work with AS3 as far as I know.

 

Giles Roadnight

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of stephen50232
Sent: 15 December 2006 14:49
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex using Actionscript 2.0

 

Hi,

I'm working with a Flash designer on a project and some of they are
using some Actionscript functions which I would like to use in my Flex
app. Is it possible to incorporate code written in AS 2 in Flex as
code behind files?

Stephen

 



[flexcoders] Re: Connect to FB2 Debugger from SDK compiled swf

2006-12-15 Thread cluebcke
Thanks Bjorn,

To be honest, in my case it turns out I was just being a dunce. What I
needed to do was edit my run/debug configuration, under the Main tab
in the "URL to path to launch". Somehow I saw that a good dozen times
before I thought, "Hmmm, maybe I should use a URL instead of the
default file:///blah path." Sure enough, I unchecked "Use default",
replaced file:///blah with http://localhost:8080/blah, and everything
was groovy once more. Well, actually had another issue that I finally
sovled which I'll post seperatedly for the benefit of my fellow dunces.

- Chris

--- In flexcoders@yahoogroups.com, Bjorn Schultheiss
<[EMAIL PROTECTED]> wrote:
>
> Chris,
> 
> Instead of using my build dir i place all compiled debug modules into  
> my shell app's bin dir.
> I then debug the shell app in FB2 and everything works.
> 
> My app is also destined for a java app server but i have so far no  
> need to test it from a localhost address as it runs fine from file:/// 
> shellapp/bin/.
> 
> Bjorn
> 
> On 12/12/2006, at 3:30 PM, cluebcke wrote:
> 
> > Bjorn, mind sharing what you figured out? I had the same question that
> > you originally posed, since the app I'm working on needs to be
> > accessed through a JBoss server on localhost which seems to preclude
> > me from using the FB2 debugger (which, needless to say, is quite a
> > bummber).
> >
> > Thanks,
> > Chris
> >
> > --- In flexcoders@yahoogroups.com, Bjorn Schultheiss
> >  wrote:
> > >
> > > OK, figured out a solution, happy again
> > >
> > > On 12/12/2006, at 2:58 PM, Bjorn Schultheiss wrote:
> > >
> > > > OK next question,
> > > >
> > > >
> > > > Can i compile in Ant from eclipse, then use the eclipse  
> > debugger on
> > > > my compiled swf.
> > > >
> > > > Bjorn
> > > >
> > > >
> > > > On 12/12/2006, at 2:24 PM, Bjorn Schultheiss wrote:
> > > >
> > > >>
> > > >> Yo,
> > > >>
> > > >> I got the command-line debugger working,
> > > >> but is there anyway to hook into FB2 debugger?
> > > >>
> > > >> Bjorn
> > > >>
> > > >> --- In flexcoders@yahoogroups.com, "bjorn.schultheiss"
> > > >>  wrote:
> > > >> >
> > > >> > Hi all,
> > > >> >
> > > >> > After compiling my app using the sdk with arg -debug=true i  
> > then
> > > >> tried
> > > >> > to open the html file in the browser and get the message.
> > > >> > "Where is your debugger located? -Localhost, -Somewhere else"
> > > >> > I'm working on localhost so i selected that option and after  
> > a few
> > > >> > failed attempts i finally get the message 'fp9 was unable to
> > > >> connect
> > > >> > to debugger'
> > > >> >
> > > >> > Can i connect to Flex Builder 2 debugger perspective in this  
> > way?
> > > >> >
> > > >> > Regards,
> > > >> > Bjorn
> > > >> >
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > >
> >
> >
> >
>




Re: [flexcoders] editable combobox

2006-12-15 Thread Daniel Freiman

text property.  This property is read-write in and editable combobox.  I
think it's read only with non-editable comboboxes.

- Dan

On 12/15/06, Paul Hastings <[EMAIL PROTECTED]> wrote:


  i can't seem to catch hold of where user input data is going for
editable comboboxes. i've tried selectedLabel, selectedItem, cruising
the data provider, etc. i guess i'm missing something. do i need an
event listener for this?

thanks.
 



[flexcoders] Flex using Actionscript 2.0

2006-12-15 Thread stephen50232
Hi,

I'm working with a Flash designer on a project and some of they are
using some Actionscript functions which I would like to use in my Flex
app. Is it possible to incorporate code written in AS 2 in Flex as
code behind files?

Stephen



[flexcoders] Unused tags in found?

2006-12-15 Thread Dirk Eismann
I've created a simple Java class which implements
flex.messaging.FlexConfigurable. This works nicely and the initialize
methid gets invoked as expected.

However, if I place additional properties inside the remoting-config.xml
for this RemoteObject the instantiation fails and I end up with Flex
errors about "Unused tags in  found?". Is this not
supported?

eg. my destination looks like this


  

TestService
application


Hello!


  


and inside the initialize() method I want to query the ConfigMap passed
in for the /custom/test property.

Dirk.


[flexcoders] Re: Database Connectivity - Why so hard?

2006-12-15 Thread Jamie O
Hey,

I looked through the pages but did not try the sample. My $0.02 on
code generators has always been that once you understand the entirety
of the code languages you are working with, they can be a great way to
save time and effort. But early in the learning process they tend to
cause one more harm then help as you don't grasp a lot of the W's
(where, what, why) the assisting elements are doing for you. This can
make debugging a bigger challenge, and integration of this to a more
vanilla approach can be quite cumbersome.

The same holds true for me with Flex / backend technologies...I'd like
to understand all the elements that code generator produces and be
able to produce them myself. I have made some headway in that
department using AMFPHP as the remote object gateway, PHP to make the
SQL calls to a mySQL database. I put a blog post together covering the
initial efforts and results I got:

http://www.oastler.ca/index.php/development/flex/20061213_flex-middleware-success-amfphp-and-mysql/

Thanks for the thoughts,
Jamie
--- In flexcoders@yahoogroups.com, "greg h" <[EMAIL PROTECTED]> wrote:
>
> Jamie,
> 
> Have you seen this sample app?
> 
> Automatically generating code for Flex 2 data access
> http://www.adobe.com/devnet/flex/articles/daoflex.html
> 
> I believe it may cover your original request for an example
"incorporating a
> mySQL database via JDBC with java remote objects to a Flex project,
> preferably involving FDS".
> 
> Whether or not it qualifies as a "simplistic example" I can not say :-)
> 
> Please post back whether you find the sample app above helpful.
> 
> (fyi ... I currently am using neither Java on the back end nor FDS.)
> 
> g
>




[flexcoders] Re: Date Fields and Data Binding.

2006-12-15 Thread cardinalflexjeremy
I did and that worked. 

I knew the problem could not be as hard as it was turning out to be. 

The problem was I was being asked to help with another co workers
problem. He had in one place the value from the model bound to the
text attribute, but the selectedDate was bound back to the model using
the  tag. Since I only saw the selectedDate, I figured since
he was having a problem, and was using that attribute, I focus on the
other attributes for the field. That was my problem. 

Thanks for your help.

Jeremy Sanders.

--- In flexcoders@yahoogroups.com, "Philippe" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> Did you try the selectedDate attribute of your DateField ?
> 
> selectedDate  property 
> selectedDate:Date  [read-write]
> 
> Date as selected in the DateChooser control. Accepts a Date object as a
> parameter.
> 
> Selecting the currently selected date in the control deselects it, sets
> the selectedDate property to null, and then dispatches the change event.
> 
> The default value is null.
> 
> This property can be used as the source for data binding.
> Implementation
> public function get selectedDate():Date
> public function set selectedDate(value:Date):void
> 
> Phil
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of jsscardinal
> Sent: mercredi 6 décembre 2006 20:27
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Date Fields and Data Binding.
> 
> I am attempting to do something I thought was pretty simple. Using the
> cairngorm model, basically I have a data instance object attached to
> the model, and it has a Data Object attached to it. 
> 
> So think of it this way. I am running an application that tracks a
> list of canidates. So there is a CanidateVO actionscript object, and
> it has a member variable attached to it called interview date, and its
> of type Date. 
> 
> I am running a java backend retrieving these using spring and
> hybernate, and the conversion works fine. 
> 
> The problem I am having is with data binding in a grid and details
> panel. The grid has an array collection which is attached to the
> model, and that array contains a list of all the canidates, some that
> have dates and some that dont. All have member variables, but since
> all instances have not interviewed they may not have a value in the
> date field, thus those member vars are null. 
> 
> So the problem is that when I have a particular grid object selected,
> I see the details of that canidate in the details panel, which is just
> a panel that contains text fields and a dateField component. Well all
> the other bindings are working fine, but not the dateField binding. 
> 
> I have set the dateFields text bound to the attribute of the object,
> and that does not work, and I have set the dataProvider and that does
> not work, and I have even set a data attribute on the dateField and
> that does not work. 
> 
> Whats happening is, when I am looking at a particular canidate without
> an interview date, and I select the dateField, then put a date in it
> and DONT save the record but go to a different instance on the grid,
> all the fields are updated except the dateField. The dateField text
> remains there regardless of the fact that the selectedItem has
> changed, and the new selectedItem has no date in it. 
> 
> Conversly if I select a canidate who does have a date, the date is
> displayed, but once I go to one without a date, the date stays in the
> field. Why is data binding not working for dates? 
> 
> Please help.
> 
> Jeremy.
>




[flexcoders] NetConnection.Call.BadVersion

2006-12-15 Thread Cameron Ray
I'm getting some troubs from Flex using AMFPHP remoting.  I'll try to  
make this as brief as possible.  I'm receiving the dreaded  
"NetConnection.Call.BadVersion".


It's a simple login service to check a username & password against  
the mySQL DB.  It works fine if I don't try to encrypt the password  
using the mcrypt module.  Unfortunately, I NEED to use this  
encryption module so that existing users can login using this app.   
I've tried about every way I know howstill having problems.  I'll  
post the code belowplease let me know if there's any ideas:


### START CODE 
";

class VLlogin {

function VLlogin()
{
$this->methodTable = array (
"login" => array (
"description" => "Logs into Vidego Lite!",
"arguments" => array("uName", "pWrd"),
"access" => "remote"),
"encryptText" => array(
"description" => "Encrypts pwd",
"arguments" => array("$someText"),
"access" => "remote")
);
}

function encryptText($someText) {

		$encrypted_data = mcrypt_encrypt($alg, $EnCRYPTEdSECRETkEY,  
$someText, $mode, $iv);

$plain_text = base64_encode($encrypted_data);
return $plain_text;
}

function login($uName, $pWrd) {


$db_name = dbConnectValues::$database;
$server = dbConnectValues::$dbserver;
$username = dbConnectValues::$username;
$password = dbConnectValues::$password;


$fuser = $uName;
$fpwd = $pWrd;

//$fpwd = base64_encode(base64_encode($fpwd));
$fpwd = encryptText($fpwd);

		$connection = @mysql_connect($server,$username,$password) or die 
("Cound not connect to database.");
		mysql_select_db($db_name, $connection) or die("Could not select  
database.");



		$sql = "SELECT * FROM users WHERE username = '$fuser' AND password  
= '$fpwd'";


$result = mysql_query($sql);
$numRows = mysql_num_rows($result);

if ($numRows > 0) {

$userInfo = mysql_fetch_assoc($result);
			//$userInfo["password"] = base64_decode(base64_decode($userInfo 
["password"]));

return $userInfo;

} else {

return 'Please ensure your username or password are 
correct.';

}
}

}

?>




-Cameron

[flexcoders] Re: itemRenderer issues

2006-12-15 Thread jnewport
Ok, a night of sleep and your comments cleared things up. I have the
else if statement because in the future we might add a third image
"yellow_dot.jpg" if all the other conditions fail.

What I did is just put in return statements after each assignment
statement and it works perfectly.

Thanks for your help.

J

--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> Hey Jason,
> 
> It looks like you are setting the image source to null everytime, 
> after your conditional statements.  Also, you don't need else if.  
> Just using else would work in this situation.
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, "jnewport"  
> wrote:
> >
> > Ok I am going nuts here.  Can use another set of eyes for something
> > that should be easy.  I am overwriting the set data method for my
> > itemRenderer like so:
> > 
> > //Overrride the set method for the data property so 
> that when
> > scrolling nothing changes
> > override public function set data(value:Object):void
> > {
> > super.data = value;
> > if(value != null)
> > {
> > var currentValue:Number = 
> value.perchange;
> > trace(currentValue);
> > toolTip=currentValue.toString
> ();
> > if(currentValue < 0)
> > {
> > image.source = 
> negativeAmountSymbol;
> > } else if(currentValue >= 0){
> > image.source = 
> positiveAmountSymbol;
> > }
> > image.source = null;
> > }
> > }
> > }
> > 
> > 
> > Here is my data provider:
> > 
> > public var CityData:ArrayCollection = new ArrayCollection([
> > {
> >   title: "cycle 1", perchange: -32,
> >   revenue:[
> > { Month: "Jan", Revenue: 2000 },
> > { Month: "Feb", Revenue: 1000 },
> > { Month: "Mar", Revenue: 1500 },
> > { Month: "Apr", Revenue: 1800 },
> > { Month: "May", Revenue: 2400 }
> >   ], percentage: 33
> > },
> > {
> >   title: "cycle 2", perchange: 33,
> >   revenue:[
> > { Month: "Jan", Revenue: 1000 },
> > { Month: "Feb", Revenue: 230 },
> > { Month: "Mar", Revenue: 1500 },
> > { Month: "Apr", Revenue: 2800 },
> > { Month: "May", Revenue: 2400 }
> >   ], percentage: 15
> > }
> >   ]);
> > 
> > When I run the tooTip shows the perchange Number correctly (-32 and
> > 33), but the images don't show so up in the itemRenderer so 
> according
> > to my code currentValue must be "null".  If take out the "else if"
> > statement and the image.source=null then it will show the
> > positiveAmountSymbol because it says it isn't less than 0.
> > 
> > What gives? Thanks in advance.
> > 
> > jason
> >
>




[flexcoders] editable combobox

2006-12-15 Thread Paul Hastings
i can't seem to catch hold of where user input data is going for
editable comboboxes. i've tried selectedLabel, selectedItem, cruising
the data provider, etc. i guess i'm missing something. do i need an
event listener for this?

thanks.


Re: [flexcoders] validating a swf origin on URLRequest

2006-12-15 Thread Tom Chiverton
On Monday 11 December 2006 17:22, marumucho wrote:
> 1. user accesses swf from foo.com
> 2. swf makes a URLRequest to foo.com/method.php
> 3. method.php needs to check if the swf making that request was
> downloaded from foo.com

Unless you have a cross domain.xml it can not be any other way.

-- 
Tom Chiverton
Helping to conveniently disintermediate interdependent design-patterns



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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


Re: [flexcoders] style property reference

2006-12-15 Thread Tom Chiverton
On Wednesday 06 December 2006 16:39, bitfacepatrick wrote:
> Hello
> Can anyone tell me where I can find a reference that lists and defines
> all the possible style properties.

LiveDocs lists the valid ones for each element.

-- 
Tom Chiverton
Helping to heterogeneously improve turn-key platforms



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
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] FYI: If your breakpoints ain't breaking, this may be why

2006-12-15 Thread cluebcke
Not sure how many folks may have hit this, but I thought I'd share my
experiences for the record. First off, there are a few different cases
where breakpoints might not get called in your app; at least one bug
around this has been fixed in 2.0.1, but in my case it boiled down to
something between user error and Flex builder letting me do something
it shouldn't have.

I'm working on an enterprise J2EE application, and I felt it would be
a bit presumptious to have my application file in the top folder and
my source underneath there starting with "com", when everybody else is
happy regulating themselves to such folders as "src", "db", "docs",
etc. So instead I made a "flex" folder and moved my application and
source tree under it. Being at least not a complete dimwit (no
comments, please), I went into my run/debug profile and re-selected my
application file, in its new folder, in the Application File dropdown.
I was concerned that FB might not pick up the source, but you know
what? It compiled and ran perfectly.

Until I tried to set a breakpoint.

Turns out I did the right thing in a completely wrong way and probably
had Mike Morearty banging his head on his keyboard (see the support
thread here:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=582&threadid=1203605&enterthread=y
). He couldn't believe my app was running at all; the reason he was
perplexed was because, in my project properties -> build path, the
"Main source folder" was empty. I didn't empty it ought myself, of
course--I'm not masochistic. I don't know if it was always empty or
just got that way because I was being naughty. Apparently the builder
will assume, at least if the source path is empty, that your source
path is the same folder as your application file. But apparently the
debugger will not, and it therefore never sees your app get to the
breakpoint because it has no source associated with it. I made the
correct entry for source path and, voila, back in business.

Anyway, just wanted to share the experience in case it can help
somebody else down the road. 

Cheers,
Chris Luebcke



[flexcoders] Setting dataprovider to itemrenderer in datatagrid.

2006-12-15 Thread Tero Pikala
I'd like to know if following code uses proper way to set dataprovider.

It works but should I do things some other way (maybe injecting
dataprovider after application has initialized?)

Thanks!




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


   
  
   



   
  
  
  
   



 
 
 
 
 
 
 
 
 
 
 
 
 
 





Re: [flexcoders] SEO Compatibility

2006-12-15 Thread Tom Chiverton
On Thursday 14 December 2006 19:39, Kevin Newman wrote:
> For an example, imagine a message board or blog that was completely
> contained within a Flex app. How would google index that, and link in?

Sensible stuff in the HTML wrapper.
It's not rocket science !

-- 
Tom Chiverton
Helping to dramatically bully vertical ROI



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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


RE: [flexcoders] Image Slide Show(Quick One)

2006-12-15 Thread KP
Hi All,

 

I just want to confirm that can we load all the images directly in the array
instead of storing image sources in that.

If we can do this then this will really help because then we can load big
resolution/sizes images also in the slide show.

 

Thanks

Kumar

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of KP
Sent: Friday, December 01, 2006 3:20 PM
To: 'Lachlan Cotter'; flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Image Slide Show(Quick One)

 

Thanks Lachlan.

 

Well I was also doing same but I got stuck in the images repeating logic
.thanks a lot for this one.

 

Kumar :-)  

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Lachlan Cotter
Sent: Friday, December 01, 2006 3:03 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Image Slide Show(Quick One)

 

Hi Kumar,

 

Perhaps something like this?

 



http://www.adobe. 
com/2006/mxml" layout="absolute" xmlns:local="*"

creationComplete="init()">

 

 

   

 

 

 

   

   

 

 



 

Cheers,

Lach

 

On 30/11/2006, at 12:48 AM, KP wrote:






Hi All,

 

Well I want to know some simple approach for creating an image slide show.

 

I have an XML file containing all path and source of the images.  

I don't want to give any more functionality except that images should
changes every 5sec.

 

Can some one suggest a quick and easy approach on this one

 

Thanks,

Kumar

 

 



Re: [flexcoders] Flex data service query!!!!!

2006-12-15 Thread Rich Tretola

There are no changes necessary unless you are referring to the definition in
the proxy-config.xml file.

What does your mx:WebService tag look like now?

Rich

On 12/15/06, ravi mishra <[EMAIL PROTECTED]> wrote:


  hi group,

Anybody please tell me, what changes are to be made and where the changes
are to be made, when i am accessing a web service by using Flex Data
Service2 Express.

regards,
ravi

--
Find out what India is talking about on - Yahoo! Answers 
India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get
it 
NOW

 





--
Rich Tretola

http://www.EverythingFlex.com


[flexcoders] using coldfusion to return height and width of flex swf

2006-12-15 Thread grae_hall
I've got a SWFTag coldfusion tag I've made that's a handy shortcut 
for embeding flash 8 or less swfs into a page with syntax that feels 
similar to an an HTML image tag.

Unfortunately, it requires that I know the explicit width and height 
of the swf, and set them as attributes.

SWFTag uses SWFObject at present, and, as such I've had little 
success getting SWFObject to embed a flash 9 flex published swf onto 
the page.

I've low-jacked the generated HTML Template from Flex, and 
incorporated it into my SWFTag, so if it's a flash 9 SWF, it uses the 
a massaged Flex HTML Template - but that still requires that I a) 
tell the custom tag that it's a flash 9 swf, and 2) know the height 
and the width.

Ideally, I'd like to let developers just type the equivolent of 
 and leverage coldfusion to 
somehow magically read in the version of the SWF, and its 
width/height.

I had a bit of a look into the CFXImage tag - but it doesn't seem to 
support SWFs.

So - anyone got any clues about the potential magic that is Adobe 
owning Flex, Flash and ColdFusion so they'd provide some sort of 
mechanism for me to read in version and dimensions of SWF files on 
the server?

Let me know if I'm reaching - I'm trying to include a buncha Flex 2.0 
optional components into the lastest version of the ColdFusion 
Content Management System "FarCry" - which is produced at the place I 
work. The easier I could make it for developers/clients to use swfs, 
the better it'll be for the company I work for, and Adobe.

Come on Mike Chambers - etc - you boys have gotta have some tricks up 
your sleeve that I haven't found after hours of googling :D

Reargards,

Grae Hall

Senior Designer
www.daemon.com.au



Re: [flexcoders] SEO Compatibility

2006-12-15 Thread Sebastian Zarzycki

Sterling Ledet wrote:

One thing to note is there is a difference between SEO compatible and 
SEO friendly. While it is certainly possible to use google to search 
for specific file types, whether they be PDF, SWF, DOC files or others 
(see advanced search for the drop down), these pages will not be 
returned by default if someone just types some keywords in a search 
box. Depending on the business needs of the organization involved, you 
may need to address this issue separately if organic search 
positioning is a critical factor in your Flex implementation.


How does URLKit by Joe Berkovitz relate to this problem?
http://joeberkovitz.com/blog/urlkit/

I have it in the back of my mind and I promise myself to use it on my 
current project, but haven't found enough time so far. But what I see in 
the demo Joe provided, this is pretty cool stuff. Could it be used for 
SEO? If there's a simple link, Google can use it and put into 
database... so?


--
| Sebastian Zarzycki / rat[tkin]
| [EMAIL PROTECTED]



RE: [flexcoders] customising preloader

2006-12-15 Thread Giles Roadnight
I managed to do what I wanted in the by basing it on the examples that you
list and by looking at the examples on livedocs.

 

This is what I ended up with:

 

The only thing I couldn't get it to do was to make the progress bar move as
data is loaded but the file I am loading is very small so it loads in a
fraction of a second.

 

package components

{

import mx.preloaders.*;

import flash.events.ProgressEvent;

import flash.events.Event;

import flash.display.Sprite;

import mx.events.FlexEvent;

import mx.events.RSLEvent;

import flash.net.URLRequest;

import flash.net.URLLoader;

import mx.core.Application;



public class CustomPreloader extends DownloadProgressBar

{





public function CustomPreloader()

{

super();

}



// Override to return true so progress bar appears

// during initialization.

override protected function showDisplayForInit(

elapsedTime:int, count:int):Boolean {

return true;

}

 

// Override to return true so progress bar appears during download.


override protected function showDisplayForDownloading(

elapsedTime:int, event:ProgressEvent):Boolean {

return true;

}



private var _preloader:Sprite; 

 

 

override public function set
preloader(value:Sprite):void

{

_preloader = value;



 
value.addEventListener(ProgressEvent.PROGRESS, progressHandler);  

value.addEventListener(Event.COMPLETE,
completeHandler);



 
value.addEventListener(RSLEvent.RSL_PROGRESS, rslProgressHandler);

 
value.addEventListener(RSLEvent.RSL_COMPLETE, rslCompleteHandler);

 
value.addEventListener(RSLEvent.RSL_ERROR, rslErrorHandler);



 
value.addEventListener(FlexEvent.INIT_PROGRESS, initProgressHandler);

 
value.addEventListener(FlexEvent.INIT_COMPLETE, FlexInitComplete);

}



private function FlexInitComplete(event:Event):void

{



var configRequest:URLRequest = new
URLRequest("siteconfig.xml");

var configLoader:URLLoader = new
URLLoader(configRequest);



 
configLoader.addEventListener("complete", configLoaded);



//dispatchEvent(new
Event(Event.COMPLETE)); 



}



private function configLoaded(e:Event):void

{

var appMain:Object =
Application.application;



 
appMain.appSettings.processConfig(e.currentTarget.data);



dispatchEvent(new
Event(Event.COMPLETE)); 

}



}

}

 

Giles Roadnight

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of {reduxdj}
Sent: 15 December 2006 08:48
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] customising preloader

 

Stephen:

I've been messing around with the same thing, it's always nice when 
other people have the same challenges, which means more help. I've got 
a lot to learn and the following solution might be considered a bad 
hack, but sometimes what works, works.

Keeping preloader on the screen after intial load means you should look 
at this example how to make a custom one is made first. i think you 
said you did

http://www.onflex.
 org/ted/2006/07/flex-2-preloaders-swf-png-gif-examples.php 
 org/ted/2006/07/flex-2-preloaders-swf-png-gif-examples.php>

Of course you can't tell how long your data query is going to take so 
the progress bar is just for the application.
I don't know what you want to do with the progress bar after the 
intitial load, but ok...

I was able to do this from this example and use my custom swf preloader 
with our logo in a swf from this example, thanks ted patrick!

I hope this provides you insight. if you extend the loader class you 
can do the same thing basically. 
Let me know your resul

Re: [flexcoders] customising preloader

2006-12-15 Thread {reduxdj}
Stephen:


I've been messing around with the same thing, it's always nice when 
other people have the same challenges, which means more help.  I've got 
a lot to learn and the following solution might be considered  a bad 
hack, but sometimes what works, works.

Keeping preloader on the screen after intial load means you should look 
at this example how to make a custom one is made first.  i think you 
said you did

http://www.onflex.org/ted/2006/07/flex-2-preloaders-swf-png-gif-examples.php 


Of course you can't tell how long your data query is going to take so 
the progress bar is just for the application.
I don't know what you want to do with the progress bar after the 
intitial load, but ok...

I was able to do this from this example and use my custom swf preloader 
with our logo in a swf from this example, thanks ted patrick!

I hope this provides you insight.   if you extend the loader class you 
can do the same thing basically.  
Let me know your results. good luck







I took Ted's example and hacked it to hell like this:


from the customPreLoaderFile:


private function FlexInitComplete( event:Event ):void
{ 
wcs.ready = true; 
dispatchEvent( new Event( Event.COMPLETE ) );
Application.application.createWCS(wcs);
}
   
  private function dispatchMeEvent(wcs:WelcomeScreen):void{
  Application.application.createWCS(wcs);
   
  //this gives me access to this the WelcomeScreen from my main 
application, not
  //the best way but it works fine for me , using my custom 
dispatcher, actually sending
 //  the object to my application so then i can fade it and wait 
for my query to come back
//   before so. 
   
  }

from the WelcomeScreen.as  i  added a flag for the fadeIn and commented 
out the fadeOut because i want to fade it on my own from my main 
application, if you don't  do this, the loader will be active and fade 
in & out whenever something is loaded.  I don't want to removeChild, i 
want to keep it there, it's small and at the top of
the application and it sits nicely in front of everything and can be 
used for loading images or anything


 public function updateView( event:TimerEvent ):void
{
if (_started == false){
   
   
if( this.alpha < 1)this.alpha = this.alpha + 
this.fadeInRate;
this.stage.addChild(this)
   
this.visible=true;
   if( this.ready && timer.currentCount > 
this.timeAutoClose ) closeScreen()   
   _started = true;
   }
}
   


public function closeScreenFade( event:TimerEvent ):void
{
/*
if( this.alpha > 0){
this.alpha = this.alpha - fadeOutRate;
} else {
timer.stop();
  
//this.parent.removeChild(this);
}   
*/
}   


Stephen Gilson wrote:
>
> There is an example in the doc starting here:
>  
> http://livedocs.macromedia.com/flex/2/docs/0647.html 
> 
>  
> Stephen
>
> 
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> *On Behalf Of *Giles Roadnight
> *Sent:* Thursday, December 14, 2006 11:25 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] customising preloader
>
> Hi All
>
> I've been trying to create a custom preloader for my flex app. I want
> to keep the DownloadProgressBar object on the screen when the app has
> finished loading and initialising and then load my own xml
> configuration file.
>
> I've been trying to extend the DownloadProgressBar class and had a
> look at extending the prelaoder class but didn't get very far.
>
> Can anyone point me in the right direction? I did find one example
> that replaced the prelaoder with an image but I couldn't alter this to
> what I want.
>
> I also tried to create my own DownloadProgressBar object and use it to
> display progress of a load after the app has finished initialising but
> this didn't work either.
>
> Unless I can get it to work I'll have to just create my own popup and
> load the xml once hte app has initialised but I'd rather it all
> happens with the 1 popup.
>
> Many Thanks.
>
> Giles Roadnight
>
>  




[flexcoders] Re: how many the classes of flex?

2006-12-15 Thread raju_bb
Hey in all there are 318 classes in Flex :)



Re: [flexcoders] Pop Up Panels, what to use/how to make them?

2006-12-15 Thread {reduxdj}
Samual, thanks, got it.  I made a custom component and loaded with a pop 
up manager.
works just fine.

Thanks,
Patrick

Samuel Reuben wrote:
>
> Try a TitleWindow popped up.
>
> -sam
>
> On 11/27/06, *{reduxdj}* <[EMAIL PROTECTED] > wrote:
>
> How do you make pop up boxes like the alert box? I'd like to make a
> panel with a textarea component pop up on top of my application in
> the
> center, not below it or inside it. I tried to use an alert box and
> and
> some stuff to it with undesirable results.
>
> Thanks,
> Patrick
>
>
>  




Re: [flexcoders] Pop Up Panels, what to use/how to make them?

2006-12-15 Thread Samuel Reuben

Try a TitleWindow popped up.

-sam

On 11/27/06, {reduxdj} <[EMAIL PROTECTED]> wrote:


  How do you make pop up boxes like the alert box? I'd like to make a
panel with a textarea component pop up on top of my application in the
center, not below it or inside it. I tried to use an alert box and and
some stuff to it with undesirable results.

Thanks,
Patrick