[flexcoders] Re: flash.* packages not found on linux FlexBuilder

2009-05-15 Thread Oliver Merk
Are you using the 3.3 SDK? If so, here's the fix:

Under Project Properties  Flex Build Path  Library Path, remove the
playerglobal.swc under the framework SDK. Click Add SWC and find the
player global SWC for Player *9* in the 3.2 SDK (assuming you've got it
somewhere). For example, /frameworks/libs/player/9/playerglobal.swc.

Clean the project and you should see everything working again.


--- In flexcoders@yahoogroups.com, Thierry V. titi2...@... wrote:

 Hello !!

 I'm on Ubuntu Intrepid ibex. I installed Java, Eclipse and the
 FlexBuilder plugin.
 First I have many problems when I compile, with out of memory
errors...
 Even I change the vmargs with Xmx=1024M the result is the same... But
 it's not the main problem...

 I have some problems with the flash package...
 If I write import flash. only errors package is displayed with
 autocompletion. After that, when I use autocompletion  in my class, it
 remove all flash packages not found from the import list.

 Example :

 I have

 import mx.collections.ArrayCollection;
 import flash.display.Sprite;
 import flash.display.DisplayObject;
 import flash.utils.Timer;
 import flash.events.Event;
 import flash.events.KeyboardEvent

 in the header of a class. If I use autocompletion, FlexBuilder remove
 all flash imports, and I'll have only the
mx.collections.ArrayCollection
 import. So when I launch compilation, I have some errors due to
missing
 imports.

 If anyone has a solution... Thanks in advance.

 Thierry aka titouille





[flexcoders] Re: flash player version picker in Firefox?

2008-07-12 Thread Oliver Merk
http://www.sephiroth.it/firefox/flash_switcher/
Now working in Linux and Mac as well!

--- In flexcoders@yahoogroups.com, Scott Langeberg [EMAIL PROTECTED]
wrote:

 Anyone remember an extension for firefox (I think) that lets you pick
which
 of your installed flash players to use in the browser, on the fly?
That
 thing was handy, when it worked...

 --
 : : ) Scott

 Helping your grandma on the interweb
 at: http://blog.criticalpile.com





[flexcoders] Re: Un-hilite the first link in a LinkBar

2008-03-22 Thread Oliver Merk
Did you try selectedIndex=-1 ?

--- In flexcoders@yahoogroups.com, JRBower [EMAIL PROTECTED] wrote:

 
 I'm trying to figure out how to un-hilite the first link in a LinkBar so that
 no links are hilited at start up. Something like UnSelectIndex would be
 great if there were such a property. I'm using Flex 3.
 
 Thanks,
 
 JRBower
 -- 
 View this message in context: 
 http://www.nabble.com/Un-hilite-the-first-link-in-a-
LinkBar-tp16218561p16218561.html
 Sent from the FlexCoders mailing list archive at Nabble.com.






[flexcoders] LCDS on CF8 - Where's the wrapper coming from?

2007-09-03 Thread Oliver Merk
If I run an mxml file directly from the address bar, such as
http://mysite.com/index.mxml, where does the wrapping html come from?

There is no Flex Builder on the machine and there's no SDK folder. I'm
thinking the code is embedded in one of the Flex server-side jar files
(which would suck).

I'd like to be able to customize the html wrapper code for on-the-fly
rendering. Any clues?

Cheers,
Oliver



[flexcoders] Help! Converting PowerPoint to AS3 SWFs

2007-06-14 Thread Oliver Merk
Hoping someone out there has an answer to this tricky one...

I need to convert a PowerPoint file to an AS3-compatible SWF file. The
SWF will get embedded into a Flex application. It must be AS3 so that
Flex sees the embedded SWF as a MovieClip, and I'll have the ability
to go to a particular frame of the slideshow using
gotoAndStop(framenumber).

I know one can embed an AS2 SWF into Flex, but you can't control it
without creating a localConnection as well as some additional code in
the SWF to accommodate this.

Any ideas?




[flexcoders] Re: accordion initialization

2007-05-19 Thread Oliver Merk
Hi Joe,
Set creationPolicy=all on the Accordian.

Good luck,
Oliver

--- In flexcoders@yahoogroups.com, li.wen [EMAIL PROTECTED] wrote:

 Hello all,
 
 For accordion component, its views do not need to initialize when
they are switched to. However, what can I do if I want to initial
those views which are not switched to?
 
 Regards,
 Joe





[flexcoders] Re: Flex: Remote Objects

2007-05-18 Thread Oliver Merk
For Java: YES, you *do* need FDS
For ColdFusion: No
For HTTP: No, but there's a proxy in FDS you *could* use
For WebServices:  No, but there's a proxy in FDS you also *could* use

Hope this helps,
Oliver

--- In flexcoders@yahoogroups.com, Scott Hoff [EMAIL PROTECTED] wrote:

 Do I have to have FDS2 do call remote objects? (Java etc.)





[flexcoders] Re: Flex Course ?

2007-04-25 Thread Oliver Merk
Hi,
New Toronto Group offers remote courses via Adobe Connect: www.newyyz.com

Best regards,
Oliver Merk
Principal Consultant
New Toronto Group


--- In flexcoders@yahoogroups.com, Arleston Lueders
[EMAIL PROTECTED] wrote:

 Hello everybody,
 
 Is there any Flex, ColdFusion or Flash Courses in Idaho or Salt Lake
City?
 Anybody know?
 
 Thanks,
 Arleston





[flexcoders] Change perspecive automatically

2007-01-31 Thread Oliver Merk
Is it possible to tell Flex Builder to change perspectives based on the
file type being opened? For example, if I open a .cfc, I'd like the
CFEclipse perspective; if I open an mxml file, have the perspective
automatically change to Flex.

Cheers,
Oliver




[flexcoders] Changes not detected in index.template.html

2007-01-19 Thread Oliver Merk
I have a project that compiles on the server. I need to add some
custom Javascript to the HTML that's generated when I run the mxml
file (eg. http://localhost:8700/flex/MyApp.mxml). When I add the code
to /html-template/index.template.html file and run the application, I
don't see the JS when I view source.

I've searched around and haven't heard of this problem before. Any
ideas how to get this to work?

Thanks,
Oliver



[flexcoders] HTML template used for FDS app

2007-01-17 Thread Oliver Merk
Hi all,
I know that for a basic Flex Builder project, the folder
/html-template contains the wrapper HTML for the generated app. Where
does the Flex compiler get the HTML wrapper code when you access the
application MXML file directly off the application server? eg. If I
invoke http://localhost:8700/MyApp.mxml and view source in the
browser, I can see the HTML surrounding the object tag. Where does
this HTML come from and is it editable?

Cheers,
Oliver



[flexcoders] Re: Tree: Resetting openItems after dataProvider change

2007-01-04 Thread Oliver Merk
... no more than selectedIndex is now;)

My final solution to this was to force the tree to always have its
branches open (it's small enough that this isn't too ugly). Then I use
 selectedIndex to reselect the last node the user selected before the
language change. I know it's kludgey. On with the show...


--- In flexcoders@yahoogroups.com, hank williams [EMAIL PROTECTED] wrote:

 openIndices, huh?  Isn't there a problem wherein index is linear,
but the
  tree is hierarchical?
 
 
 Yes, it would be a rather fragile value.
 
 
 Hank.
 
 --
 
  *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
  Behalf Of *Oliver Merk
  *Sent:* Wednesday, January 03, 2007 9:35 PM
  *To:* flexcoders@yahoogroups.com
  *Subject:* [flexcoders] Re: Tree: Resetting openItems after
dataProvider
  change
 
 
 
  @Tracy  Hank: Thanks very much for the feedback and suggestions.
  Tracy, I clearly understand that the data drives the behavior of the
  tree. I do, however, disagree with Adobe's changes to the tree control
  in Flex 2.
 
  Here's why: The concept of a node being opened or closed, has no
  corollary in the ArrayCollection or XMLListCollection data structures.
  That is, an ArrayCollection element has no concept of being open.
  This is a concept related to the Tree control. So the act of restoring
  the open/closed state of a tree's nodes should IMHO be a lot easier
  than jumping through the hoops we've all suggested.
 
  If, as I originally suggested, there was a openIndices property,
  similar in concept to the openItems property which already exists, I'd
  be able to restore the tree's visual appearance *independent* of the
  data -- which, in my case of switching languages at runtime is exactly
  what I need to do.
 
  I have achieved a working prototype by adding an attribute to the
  branch nodes' XML, tracking the open and close events and recursing
  through the data to restore the opened states after the data has
  changed; but again, IMHO it should not be this hard;)
 
  Thanks again,
  Oliver
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
Tracy
  Spratt tspratt@ wrote:
  
   Yes, Hank's solutionsis what I would do.
  
  
  
   Further, when you say ...Flex 2 tree control limits direct
access to
   nodes..., you make me suspect you are making a conceptual mistake.
   With data-driven controls, you never directly access the controls
   themselves. Rather, you work with the dataProvider, to which you
have
   full access.
  
  
  
   So in your case, you would have the unique id on each element(XML
   object/node) in your XMLListCollection, and you would store the open
   nodes in some list. I think an associative array(hash table)
would be
   the most efficient. The function to open those nodes would need
to be
   recursive. When your recursive function matches a node in the
   associative array, you would need to climb back up the tree,
parent by
   parent, opening each node as you go, till you reach an alrady
open node.
   Might be a bit more compilcated than that, since you want to
reach the
   end of a recursion branch before you stop searching.
  
  
  
   If you post an example of two sample matching xml docs, with the
above
   mentioned ids, I might try to implement this functionality as an
   example.
  
  
  
   Tracy
  
  
  
  
  
   
  
   From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
[mailto:
  flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
   Behalf Of hank williams
   Sent: Sunday, December 24, 2006 7:51 AM
   To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
   Subject: Re: [flexcoders] Tree: Resetting openItems after
dataProvider
   change
  
  
  
   I think you are on track with the idea of needing an open indices
   property. But indicices are a bit messy in a tree. what would be
best is
   a set of common unique identifiers. A field in each node that is
unique.
   This will allow you to build a function that creates a list of
the ids
   that are open, and another function that opens those nodes. The
nodes
   will have the same id no matter what language the actual text of the
   tree item is. gathering the ids from the open items, and opening the
   items that have a given list of ids should be relatively straight
   forward.
  
   Regards,
   Hank
  
   On 12/23/06, Oliver Merk oliverm1@ mailto:oliverm1@
wrote:
  
   I've been wrestling with this for over a week and haven't found a
   solution to this problem. Hoping someone can help.
  
   I have a tree control that, at runtime, changes its dataProvider. In
   this case, I'm switching languages and the dataProvider format is
   XMLListCollection. I'd like to restore the open items of the tree
   after the dataProvider has changed. I tried using the openItems
   property, but openItems stores a list of XML objects from the
original
   dataProvider.
  
   When the provider changes, the XML objects

[flexcoders] Re: Tree: Resetting openItems after dataProvider change

2007-01-03 Thread Oliver Merk
@Tracy  Hank: Thanks very much for the feedback and suggestions.
Tracy, I clearly understand that the data drives the behavior of the
tree. I do, however, disagree with Adobe's changes to the tree control
in Flex 2.

Here's why: The concept of a node being opened or closed, has no
corollary in the ArrayCollection or XMLListCollection data structures.
That is, an ArrayCollection element has no concept of being open.
This is a concept related to the Tree control. So the act of restoring
the open/closed state of a tree's nodes should IMHO be a lot easier
than jumping through the hoops we've all suggested.

If, as I originally suggested, there was a openIndices property,
similar in concept to the openItems property which already exists, I'd
be able to restore the tree's visual appearance *independent* of the
data -- which, in my case of switching languages at runtime is exactly
what I need to do.

I have achieved a working prototype by adding an attribute to the
branch nodes' XML, tracking the open and close events and recursing
through the data to restore the opened states after the data has
changed; but again, IMHO it should not be this hard;)

Thanks again,
Oliver


--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:

 Yes, Hank's solutionsis what I would do.
 
  
 
 Further, when you say ...Flex 2 tree control limits direct access to
 nodes..., you make me suspect you are making a conceptual mistake.
 With data-driven controls, you never directly access the controls
 themselves.  Rather, you work with the dataProvider, to which you have
 full access.
 
  
 
 So in your case, you would have the unique id on each element(XML
 object/node) in your XMLListCollection, and you would store the open
 nodes in some list.  I think an associative array(hash table) would be
 the most efficient.  The function to open those nodes would need to be
 recursive.  When your recursive function matches a node in the
 associative array, you would need to climb back up the tree, parent by
 parent, opening each node as you go, till you reach an alrady open node.
 Might be a bit more compilcated than that, since you want to reach the
 end of a recursion branch before you stop searching.
 
  
 
 If you post an example of two sample matching xml docs, with the above
 mentioned ids, I might try to implement this functionality as an
 example.
 
  
 
 Tracy
 
  
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of hank williams
 Sent: Sunday, December 24, 2006 7:51 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Tree: Resetting openItems after dataProvider
 change
 
  
 
 I think you are on track with the idea of needing an open indices
 property. But indicices are a bit messy in a tree. what would be best is
 a set of common unique identifiers. A field in each node that is unique.
 This will allow you to build  a function that creates a list of the ids
 that are open, and another function that opens those nodes. The nodes
 will have the same id no matter what language the actual text of the
 tree item is. gathering the ids from the open items, and opening the
 items that have a given list of ids should be relatively straight
 forward. 
 
 Regards,
 Hank
 
 On 12/23/06, Oliver Merk [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  wrote:
 
 I've been wrestling with this for over a week and haven't found a
 solution to this problem. Hoping someone can help.
 
 I have a tree control that, at runtime, changes its dataProvider. In
 this case, I'm switching languages and the dataProvider format is 
 XMLListCollection. I'd like to restore the open items of the tree
 after the dataProvider has changed. I tried using the openItems
 property, but openItems stores a list of XML objects from the original
 dataProvider. 
 
 When the provider changes, the XML objects are of course different,
 and trying to reset the openItems property fails. What I really need
 is an openIndices property that is not tied to the XML data in the 
 provider.
 
 The example Adobe gives
 (http://www.adobe.com/devnet/flex/quickstart/working_with_tree/
 http://www.adobe.com/devnet/flex/quickstart/working_with_tree/ ) is
 not helpful since they switch between two dataProviders with the same 
 content and they're using an ArrayCollection (I'm using an
 XMLListCollection).
 
 I've tried walking the tree but since the new Flex 2 tree control
 limits direct access to nodes, I could not find a way to detect the 
 open indexes of the tree directly.
 
 Any ideas?
 
 Thanks,
 Oliver
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 (Yahoo! ID required)
 
 mailto:[EMAIL PROTECTED]
 mailto:[EMAIL

[flexcoders] Tree: Resetting openItems after dataProvider change

2006-12-23 Thread Oliver Merk
I've been wrestling with this for over a week and haven't found a
solution to this problem. Hoping someone can help.

I have a tree control that, at runtime, changes its dataProvider. In
this case, I'm switching languages and the dataProvider format is
XMLListCollection. I'd like to restore the open items of the tree
after the dataProvider has changed. I tried using the openItems
property, but openItems stores a list of XML objects from the original
dataProvider.

When the provider changes, the XML objects are of course different,
and trying to reset the openItems property fails. What I really need
is an openIndices property that is not tied to the XML data in the
provider.

The example Adobe gives
(http://www.adobe.com/devnet/flex/quickstart/working_with_tree/) is
not helpful since they switch between two dataProviders with the same
content and they're using an ArrayCollection (I'm using an
XMLListCollection).

I've tried walking the tree but since the new Flex 2 tree control
limits direct access to nodes, I could not find a way to detect the
open indexes of the tree directly.

Any ideas?

Thanks,
Oliver



[flexcoders] Announcement: TorontoFlex Users Group

2006-11-30 Thread Oliver Merk
I'd like to announce the formation of the TorontoFlex Users Group. As
an Adobe Certified User Group, we exist for you, the Flex developer.
The user group is a public forum where you may participate in sharing
ideas about Flex, hear from the experts and even deliver a
presentation on something you've done with Flex.

If you're the the Toronto area (Detroit, Buffalo and Montreal
developers welcome!) we'd like to invite you to attend our inaugural
meeting on Tuesday January 23, 2007.

Visit http://www.torontoflex.org to find out more.

Best regards,
Oliver Merk
Manager, TorontoFlex.org



[flexcoders] Re: Announcement: TorontoFlex Users Group

2006-11-30 Thread Oliver Merk
Visit http://www.adobe.com/cfusion/usergroups/index.cfm and you'll see
links for starting your own group.

Best of luck!

Oliver


--- In flexcoders@yahoogroups.com, Daniel [EMAIL PROTECTED] wrote:

 Hi!
 
 I'd like to know how can we be an Adobe Certified User Group. We're
 planning on creating a similar group like yours with a forum about
 Flex for developers from Venezuela.
 
 Any suggestion?
 
 Thanks in advance!.
 
 
 --- In flexcoders@yahoogroups.com, Oliver Merk oliverm1@ wrote:
 
  I'd like to announce the formation of the TorontoFlex Users Group. As
  an Adobe Certified User Group, we exist for you, the Flex developer.
  The user group is a public forum where you may participate in sharing
  ideas about Flex, hear from the experts and even deliver a
  presentation on something you've done with Flex.
  
  If you're the the Toronto area (Detroit, Buffalo and Montreal
  developers welcome!) we'd like to invite you to attend our inaugural
  meeting on Tuesday January 23, 2007.
  
  Visit http://www.torontoflex.org to find out more.
  
  Best regards,
  Oliver Merk
  Manager, TorontoFlex.org
 





[flexcoders] Re: DataGrid header

2006-11-04 Thread Oliver Merk
showHeaders=false

--- In flexcoders@yahoogroups.com, kb_karthi [EMAIL PROTECTED] wrote:

 Hi,
 I am new to Flex 2.0.Can anybody tell me how to turn off a datagrid 
 header and just display the rows?






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