[flexcoders] Cannot get any effects to work

2006-11-04 Thread dorkie dork from dorktown
How come this code does not work? It seems straigt forward. I just
want the header to fade in and slide in from the top when the
application first starts. Why does flex hate me? I hope you can help
or else I will be execute.


?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
backgroundColor=0xFF

!--Effects--
mx:Move id=move1 yFrom=-100 yTo=0 duration=2000/
mx:Fade id=fade1 alphaFrom=0 alphaTo=1 duration=2000/

!--Layout--
mx:VBox x=0 y=0 width=100% height=100%
showEffect={fade1}
!--When the app loads I want the HBox to move in from off the
screen and fade in--
mx:HBox width=100% backgroundColor=#00 height=100
verticalAlign=bottom paddingBottom=10 paddingLeft=10
showEffect={move1}
mx:Image source=myimage.png width=100 height=80/
mx:Text text=Some Text fontSize=54 color=#ff
fontFamily=Georgia textAlign=left/
/mx:HBox
mx:HBox width=100% height=25 label=Menu bar
backgroundColor=#9c1f4a verticalAlign=middle color=#ff
/mx:HBox
/mx:VBox
/mx:Application


--
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] Cannot get any effects to work

2006-11-06 Thread dorkie dork from dorktown
it works. :)
thanks for the guidance.

On 11/5/06, Dustin Mercer [EMAIL PROTECTED] wrote:
 instead of the showEffect, use creationCompleteEffect.  Show effect will only 
 play when the control / container visible property is set to true, which 
 doesn't happen on initial load.  I have had this problem before and it seems 
 confusing.  Logically, one would think the show effect is the correct effect 
 to use, but it really only works when the item is in a TabNavigator, 
 Viewstack, Accordian... it's because those set the containers visible 
 property when changing from one view to the other, in turn, causing the show 
 effect to play.

 Play around with the show effect by putting some containers in a viewstack, 
 you'll see the difference.  Also, the creation complete only plays once.  The 
 showEffect can play as much as you move around in the viewstack :)

 

 From: flexcoders@yahoogroups.com on behalf of dorkie dork from dorktown
 Sent: Sat 11/4/2006 10:55 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Cannot get any effects to work



 How come this code does not work? It seems straigt forward. I just
 want the header to fade in and slide in from the top when the
 application first starts. Why does flex hate me? I hope you can help
 or else I will be execute.

 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml 
 http://www.adobe.com/2006/mxml 
 layout=absolute
 backgroundColor=0xFF

 !--Effects--
 mx:Move id=move1 yFrom=-100 yTo=0 duration=2000/
 mx:Fade id=fade1 alphaFrom=0 alphaTo=1 duration=2000/

 !--Layout--
 mx:VBox x=0 y=0 width=100% height=100%
 showEffect={fade1}
 !--When the app loads I want the HBox to move in from off the
 screen and fade in--
 mx:HBox width=100% backgroundColor=#00 height=100
 verticalAlign=bottom paddingBottom=10 paddingLeft=10
 showEffect={move1}
 mx:Image source=myimage.png width=100 height=80/
 mx:Text text=Some Text fontSize=54 color=#ff
 fontFamily=Georgia textAlign=left/
 /mx:HBox
 mx:HBox width=100% height=25 label=Menu bar
 backgroundColor=#9c1f4a verticalAlign=middle color=#ff
 /mx:HBox
 /mx:VBox
 /mx:Application





 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 



Re: [flexcoders] Re: Tamarin, Adobe open source the Flash player ?

2006-11-07 Thread dorkie dork from dorktown
What it means is that the Browser (mozilla in this case) will be able
to use ActionScript 3 to manipulate the dom in addition to existing
JavaScript. So you will have a new Script type on your HTML page:

 Script language=ActionScript
public var myString:String = hello html document;
public var myDom:Document;

public function htmlCreationComplete():void {
  alert(hello world); // pops up alert (not flash but through the browser)
  alert(myDom.body.innerHTML);
}
/ Script

You will also have seemless serialization and scripting of flash and
javascript. You could access and use either or more seemlessly. Pass
the dom back and forth, etc. (not sure the extent of what you can pass
back and forth).

DDFD

On 11/7/06, mitchgrasso [EMAIL PROTECTED] wrote:
 So maybe I am being a little cynical, but it seems that this could be
 Adobe's secret machiavellian plan to drive further differentiation in
 AJAX/Javascript compatibility between IE and Firefox, resulting in
 webapp engineers getting frustrated with porting between the two
 browsers and migrating to Flex :-)



 --- In flexcoders@yahoogroups.com, ben.clinkinbeard
 [EMAIL PROTECTED] wrote:
 
  Once again, Gordon takes the cake for the best clear and concise
  explanation of a topic. I have read at least 20 descriptions of this
  stuff today and this is the first one that has made complete sense.
  (The others ranged from 'almost getting it' to 'no clue what the
 hell
  that means'.) Thanks Gordon!
 
  Ben
 
 
  --- In flexcoders@yahoogroups.com, Gordon Smith gosmith@ wrote:
  
   This is a major contribution from Adobe to the open-source
 community,
   but let me try to clarify what it is and what is isn't. The code
 being
   open-sourced is for the core AS3 language, not for anything
 specific to
   Flash. The contributed engine is able to execute a program that
 uses
   core classes of the language like Array, Date, RegExp, and XML.
 It is
   not be able to execute a program that use Flash-specific classes
 like
   Sprite, TextField, SharedObject, or URLLoader. In particular it
 supports
   no Flash graphics.
  
   Mozilla will use this engine by adding browser-DOM classes such as
   Window, Document, Form, Anchor, etc., which are the domain
 objects
   that a browser manipulates, in the same way that Flash uses this
 engine
   by adding classes for its domain objects such as Sprites. Once
 this is
   done, webapp developers will be able to use AS3/ES4 as a fast,
   type-checked, object-oriented JavaScript if they want to.
  
   So this has nothing to do with putting Flash into Firefox.
 Firefox users
   will still require the Flash plugin to run SWFs. But contributing
 a
   high-performance virtual machine for a type-checked, object-
 oriented
   language is still a big deal!
  
   - Gordon
  
   
  
   From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
   Behalf Of jrunrandy
   Sent: Tuesday, November 07, 2006 5:28 AM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: Tamarin, Adobe open source the Flash
 player ?
  
  
  
   Here is my understanding:
  
   Adobe is not open sourcing the Flash Player. Adobe *is*
 contributing
   source code for the ActionScript Virtual Machine, the scripting
   language engine component within Flash Player. ActionScript 3.0
 runs
   on the Tamarin virtual machine in Flash Player 9.
  
   I'm sure there are others who can clarify this further.
  
   Randy Nielsen
   Flex Documentation Manager
  
 





 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 



Re: [flexcoders] Re: Tamarin, Adobe open source the Flash player ?

2006-11-07 Thread dorkie dork from dorktown



Yes, of course that is what I meant to say but I did not want to expose the conspiracy... Let me fill in the blanks with the ral message...The next generation of _javascript_ will be powered by the Tamarin Virtual 
Appropriation Machine and that _javascript_ and ActionScript will converge into an 
all powerful single implementation used by both the Flash Player and the Firefox browser/SpiderMonkey. Once the Tamarin VAM is embedded in the browser it will initiate its process of appropriating every _javascript_ known to man. As it does this it will become powerful. Too powerful. With the information it can access, it will be able to run things 900 to 1200 times better than any human. At that time the Tamarin VAM will become self aware. Adobe will realize its folly but it will be too late. Tamarin will control every browser known to man. Humans will try to resist it but being lazy and addicted to computers they will not be able to pull away from their screens. In the mean time the Tamarin VAM will have control of Sony AIBO and BiPed factory. Mass producing robot minions and robot dog minions under the control of Tamarin they start to take over the world. Eventually a battle will ensue between human and machine. While most humans will be transfixed in a coma like state in front of their computers there will be a few programmers who programmed in an archiac language called ActionScript that is part of the Tamarin VAM. Using this loop hole they will code late into the night writing a program they call ReActionScript. With only one network left they will upload ReActionScript to the Adobe Exchange before all of humanity is taken over. ...I pray to God that at that time it will not be too late...
Dorkie Dork(the purpose of my alias is now obvious)On 11/7/06, David Mendels [EMAIL PROTECTED] wrote: Hello,  Dorkie dork wrote What it means is that the Browser (mozilla in this
 case) will be able to use ActionScript 3 to manipulate the dom in addition to existing _javascript_  This is incorrect.  What it means is that the next generation of _javascript_ will be powered
 by the Tamarin VM and that _javascript_ and ActionScript will converge into a single implementation used by both the Flash Player and the Firefox browser/SpiderMonkey. 
 -David  -Original Message-   -- 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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: Flex Builder Linux

2006-11-17 Thread dorkie dork from dorktown

if adobe went linux with its products... think about it... what - would -
hold - you - to -... ...even if you didnt switch, at least you would have
the option too... but shhh... dont tell anyone...

On 11/17/06, Carlos Rovira [EMAIL PROTECTED] wrote:


Hi Matt,

Flex Builder in Linux should be a great option since many people are
switching to Linux
and having a Flex Builder version should boost Flex and Flash adoption and
credibility. But maybe the ROI could come from other ways and I'm sure that
will be great for Adobe to sell the Flash/Flex Platform.

Hope we could read about linux version plans soon :).

Thanks.

C.



On 11/17/06, Matt Chotin  [EMAIL PROTECTED] wrote:

The FDS team has tested the internal builds of the Linux player and
 RTMP appears to be working.



 As mentioned, we have considered a Flex Builder for Linux but we have to
 take a hard look at lots of factors, technical feasibility, market size,
 time taken away from new features, etc.  So no announced plans at this
 point, doesn't mean it's dead and gone though.



 Matt


  --

 *From:* [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com]
 *On Behalf Of *devisbalsemin
 *Sent:* Thursday, November 16, 2006 11:32 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Re: Flex Builder Linux



 yes, it's true, and it's for this that we are hope that flash palyer
 support rmtp as soon as possibile.
 Now we are developing in linux but we are testing into a windows
 machine :-(, but we are hoping in new beta for linux that fix this.
 The pushing via RTMP it's great and very very fast to implement it
 with flex 2.
 Adobe give us this Falsh palyer with complete future as soon as
 possbile...
 Thanks in advance
 Bye
 Devis

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 Darron J. Schall [EMAIL PROTECTED] wrote:
 
  Tom Chiverton wrote:
   I thought that FDS would run over any transport, not just RTMP.
  
  FDS can work via client polling, but for true real time sharing via
  server push, RTMP is the way to go.
 
  -d
 




--
::| Carlos Rovira
::| http://www.carlosrovira.com
::| http://www.madeinflex.com 



[flexcoders] Differing versions of the compiler

2006-11-17 Thread dorkie dork from dorktown
This morning's download of the Free Flex SDK had this version.
Version 2.0 build 146333

The version I am using in Flex Builder is Version 2.0 build 143459. Is
there a place where I can see the latest build number?

dorkie version 143459 dork
from dorktown


[flexcoders] Fade from one color to another

2006-12-04 Thread dorkie dork from dorktown

I need to fade my application background color from 0xC47D31 to 0x67DEF9 and
I have no idea where to start. I've seen AS2 actionscript around that I can
try to convert but what I'm looking for is a already built MXML component
Effect, similar to mx:Fade or Dissolve.

I tried this and received errors:
   creationCompleteEffect={fadeColor}
   mx:AnimateProperty id=fadeColor property=backgroundColor
toValue=#00 target={Application.application} duration=5000/

ReferenceError: Error #1069: Property backgroundColor not found on
TestApplication and there is no default value.
   at mx.effects.effectClasses::AnimatePropertyInstance/::getCurrentValue()

dorkie mood changing dork from dorktown


Re: [flexcoders] Fade from one color to another

2006-12-04 Thread dorkie dork from dorktown

i see. that mostly works. except now it cycles through every color giving a
flicker effect like i am on acid. try this to see:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx= http://www.adobe.com/2006/mxml; layout=absolute
styleName=plain
   creationCompleteEffect={fadeColor}
   mx:AnimateProperty id=fadeColor isStyle=true
property=backgroundColor
   fromValue=0xFF toValue=0x00 target={
Application.application}
   duration=2000/
/mx:Application

If i change the fromValue and the toValue to a two digit number like so it
is a very smooth transition but it does not fade from white.  It only fades
from blue. Try this:

   mx:AnimateProperty id=fadeColor isStyle=true
property=backgroundColor
   fromValue=0xFF toValue=0x00 target={Application.application}
   duration=2000/

I am thinking of just transitioning to a blank black state but that feels
like a hack.

dorkie best practices dork from dorktown

On 12/4/06, Deepa Subramaniam [EMAIL PROTECTED] wrote:


 Set the the isStyle property to true in your AnimateProperty tag.



-deepa


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of
*dorkie dork from dorktown
*Sent:* Monday, December 04, 2006 5:25 AM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Fade from one color to another



I need to fade my application background color from 0xC47D31 to 0x67DEF9
and I have no idea where to start. I've seen AS2 actionscript around that I
can try to convert but what I'm looking for is a already built MXML
component Effect, similar to mx:Fade or Dissolve.

I tried this and received errors:
creationCompleteEffect={fadeColor}
mx:AnimateProperty id=fadeColor property=backgroundColor
toValue=#00 target={Application.application} duration=5000/

ReferenceError: Error #1069: Property backgroundColor not found on
TestApplication and there is no default value.
at mx.effects.effectClasses::AnimatePropertyInstance/::getCurrentValue
()

dorkie mood changing dork from dorktown
  



[flexcoders] Building workspace - lowering the time

2006-12-05 Thread dorkie dork from dorktown

Is there anything I can do to lower the time it takes for Flex Builder to
Build the workspace? Sometimes it takes a few minutes when I first start
up.

dorkie finger tapping dork from dorktown


Re: [flexcoders] Building workspace - lowering the time

2006-12-06 Thread dorkie dork from dorktown

I have 4 projects open. The project I was working on had 4 components in it.
I had 3 other projects open. One was a Example project that had about 20
example files in it. I noticed too I had a lot programs up. So I might have
been using virtual memory. It only happened once and its ok now.

I'm curious, when it's Building the workspace what does that mean
technically?

On 12/6/06, Gordon Smith [EMAIL PROTECTED] wrote:


 You could turn off Build Automatically in the Projects menu, or close
projects that you aren't working on (right-click on a project in the
Navigator pane and choose Close Project).



How many projects are you building, and how many components does the
average one have?



- Gordon


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *dorkie dork from dorktown
*Sent:* Tuesday, December 05, 2006 11:19 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Building workspace - lowering the time



Is there anything I can do to lower the time it takes for Flex Builder to
Build the workspace? Sometimes it takes a few minutes when I first start
up.

dorkie finger tapping dork from dorktown





Re: [flexcoders] Fade from one color to another

2006-12-08 Thread dorkie dork from dorktown

@dustin - Do you know if there is a way to get around the grayish color in
the middle of the transition? It looks like it fades from white to the
grayish color then to black. And the same from black to white.

Here is my code:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
styleName=plain

   mx:Sequence id=fadeToBlack
   mx:AnimateProperty target={this} property=alpha fromValue=1
toValue=0
   effectEnd=setStyle('backgroundColor','0') /
   mx:AnimateProperty target={this} property=alpha fromValue=0
toValue=1 /
   /mx:Sequence

   mx:Sequence id=fadeToWhite
   mx:AnimateProperty target={this} property=alpha fromValue=1
toValue=0
   effectEnd=setStyle('backgroundColor','white') /
   mx:AnimateProperty target={this} property=alpha fromValue=0
toValue=1 /
   /mx:Sequence

   mx:Button label=Fade To White click=fadeToWhite.play(); /
   mx:Button label=Fade To Black click=fadeToBlack.play();  x=58
y=86/
/mx:Application

On 12/6/06, Deepa Subramaniam [EMAIL PROTECTED] wrote:


 What about overriding the onTweenUpdate event handlers didn't work?

I'll try to whip together an example that works in the next day or two.



-deepa


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *dorkie dork from dorktown
*Sent:* Tuesday, December 05, 2006 11:23 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Fade from one color to another



@dustin - that worked for simple colors that are close by but not for pure
white to pure black #FF, #00

@deepa - i could not get that to work after one hour.

i decided to try to dissolve from one state to another. one state has a
white background. the other state has a black background. the code i wrote
makes sense to me but the effects are triggering at the wrong time.
shouldn't this work? if there is more the fromState and toState are
misleading.

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute styleName=plain
mx:states
mx:State name=blackState
mx:SetProperty target={button1} name=label value=Fade to
White/
mx:SetStyle name=backgroundColor value=0x00/
mx:SetEventHandler target={button1} name=click
handler={currentState=''}/
/mx:State
/mx:states

!-- Fade to black --
!-- When user clicks a button the screen should fade to black--
!-- After application /state fades to black switch states --
!-- After switching states fade up from black --
mx:transitions
mx:Transition fromState= toState=blackState
mx:Parallel
mx:Dissolve duration=4000 alphaTo=1 color=#00
target={this}/
/mx:Parallel
/mx:Transition
mx:Transition fromState=blackState toState=
mx:Parallel
mx:Dissolve duration=4000 alphaTo=1 color=#FF
target={this}/
/mx:Parallel
/mx:Transition
/mx:transitions
mx:Button x=120 y=139 horizontalCenter=0 verticalCenter=0
label=Fade to Black id=button1 click={currentState='blackState'}/
/mx:Application

 On 12/4/06, *Deepa Subramaniam*  [EMAIL PROTECTED] wrote:

Ah – that is because AnimateProperty is just cycling through all the RGB
values between your fromValue color and your endValue color. What you may
want to do is add an event handler for the tweenUpdate event on the
AnimateProperty effect instance and check to see what the value passed in
the TweenEvent object is. That value is what the backgroundColor is at that
moment in the lifetime of the effect. You can then add in your own logic
that sets the backgroundColor depending on where the effect is in its
lifetime (ie: simulate a progression from dark gray to light gray). I'm not
100% sure how that will work out but I'd be interested in finding out what
doesn't work about it.



Incidentally, you should check out Alex Uhlmann's Animation Package where
I think he has an effect that does exactly what you want. That will probably
be easier J

http://www.alex-uhlmann.de/flash/animationpackage/



-deepa




 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *dorkie dork from dorktown
*Sent:* Monday, December 04, 2006 2:31 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Fade from one color to another



i see. that mostly works. except now it cycles through every color giving
a flicker effect like i am on acid. try this to see:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx= http://www.adobe.com/2006/mxml;
layout=absolute
styleName=plain
creationCompleteEffect={fadeColor}
mx:AnimateProperty id=fadeColor isStyle=true
property=backgroundColor
fromValue=0xFF toValue=0x00 target={
Application.application}
duration=2000/
/mx:Application

If i change the fromValue and the toValue to a two digit

Re: [flexcoders] Fade from one color to another

2006-12-12 Thread dorkie dork from dorktown

Darron,

Thank you. Yes, I found your site. I was wondering if you'd notice that. ;)


On 12/9/06, Dustin Mercer [EMAIL PROTECTED] wrote:


 Dorkie,



Sorry I didn't get back to you earlier, been away from email.  The reason
that grayish color appears is because of the way I am doing the fade.  It
goes to the default color of the app, the one that is behind the background
color.  I could show you how to get around it, but Darron's way is the
correct way.  That was just a few minute hack job to get something goingJ
Actually I will probably use Darron's example to retrofit my old code.
Thanks Darron!



Here's the link to his post.

http://www.darronschall.com/weblog/archives/000251.cfm



Dustin Mercer


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *dorkie dork from dorktown
*Sent:* Friday, December 08, 2006 1:18 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Fade from one color to another



@dustin - Do you know if there is a way to get around the grayish color in
the middle of the transition? It looks like it fades from white to the
grayish color then to black. And the same from black to white.

Here is my code:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute styleName=plain

mx:Sequence id=fadeToBlack
mx:AnimateProperty target={this} property=alpha fromValue=1
toValue=0
effectEnd=setStyle('backgroundColor','0') /
mx:AnimateProperty target={this} property=alpha fromValue=0
toValue=1 /
/mx:Sequence

mx:Sequence id=fadeToWhite
mx:AnimateProperty target={this} property=alpha fromValue=1
toValue=0
effectEnd=setStyle('backgroundColor','white') /
mx:AnimateProperty target={this} property=alpha fromValue=0
toValue=1 /
/mx:Sequence

mx:Button label=Fade To White click= fadeToWhite.play(); /
mx:Button label=Fade To Black click=fadeToBlack.play();  x=58
y=86/
/mx:Application

On 12/6/06, *Deepa Subramaniam* [EMAIL PROTECTED] wrote:

What about overriding the onTweenUpdate event handlers didn't work?

I'll try to whip together an example that works in the next day or two.



-deepa


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *dorkie dork from dorktown
*Sent:* Tuesday, December 05, 2006 11:23 PM


*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Fade from one color to another



@dustin - that worked for simple colors that are close by but not for pure
white to pure black #FF, #00

@deepa - i could not get that to work after one hour.

i decided to try to dissolve from one state to another. one state has a
white background. the other state has a black background. the code i wrote
makes sense to me but the effects are triggering at the wrong time.
shouldn't this work? if there is more the fromState and toState are
misleading.

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute styleName=plain
mx:states
mx:State name=blackState
mx:SetProperty target={button1} name=label value=Fade to
White/
mx:SetStyle name=backgroundColor value=0x00/
mx:SetEventHandler target={button1} name=click
handler={currentState=''}/
/mx:State
/mx:states

!-- Fade to black --
!-- When user clicks a button the screen should fade to black--
!-- After application /state fades to black switch states --
!-- After switching states fade up from black --
mx:transitions
mx:Transition fromState= toState=blackState
mx:Parallel
mx:Dissolve duration=4000 alphaTo=1 color=#00
target={this}/
/mx:Parallel
/mx:Transition
mx:Transition fromState=blackState toState=
mx:Parallel
mx:Dissolve duration=4000 alphaTo=1 color=#FF
target={this}/
/mx:Parallel
/mx:Transition
/mx:transitions
mx:Button x=120 y=139 horizontalCenter=0 verticalCenter=0
label=Fade to Black id=button1 click={currentState='blackState'}/
/mx:Application

On 12/4/06, *Deepa Subramaniam*  [EMAIL PROTECTED] wrote:

Ah – that is because AnimateProperty is just cycling through all the RGB
values between your fromValue color and your endValue color. What you may
want to do is add an event handler for the tweenUpdate event on the
AnimateProperty effect instance and check to see what the value passed in
the TweenEvent object is. That value is what the backgroundColor is at that
moment in the lifetime of the effect. You can then add in your own logic
that sets the backgroundColor depending on where the effect is in its
lifetime (ie: simulate a progression from dark gray to light gray). I'm not
100% sure how that will work out but I'd be interested in finding out what
doesn't work about it.



Incidentally, you should check out

Re: [flexcoders]Does the Accordion have an Icon Function?

2006-12-13 Thread dorkie dork from dorktown

Er, I created a simplified example and got that to work. So there must be
some gremlins in my code somewhere. I checked the source and did not see an
iconFunction.

On 12/13/06, dorkie dork from dorktown [EMAIL PROTECTED]
wrote:


Does the Accordion have an iconFunction? Similar to the iconFunction used
in the Tree and List controls.

For example, this code is supposed to set the icon for headers 0 and 1 but
each statement sets the icon across all headers.

[Bindable]
[Embed(source=images/Company-Icon.png)]
public var companyIcon:Class;

[Bindable]
[Embed(source=images/Market-Icon.png)]
public var marketIcon:Class;

// in init
navigationMenu.getHeaderAt(0).setStyle('icon', companyIcon);
navigationMenu.getHeaderAt(1).setStyle('icon', marketIcon);





[flexcoders]Does the Accordion have an Icon Function?

2006-12-13 Thread dorkie dork from dorktown

Does the Accordion have an iconFunction? Similar to the iconFunction used in
the Tree and List controls.

For example, this code is supposed to set the icon for headers 0 and 1 but
each statement sets the icon across all headers.

   [Bindable]
   [Embed(source=images/Company-Icon.png)]
   public var companyIcon:Class;

   [Bindable]
   [Embed(source=images/Market-Icon.png)]
   public var marketIcon:Class;

   // in init
   navigationMenu.getHeaderAt(0).setStyle('icon', companyIcon);
   navigationMenu.getHeaderAt(1).setStyle('icon', marketIcon);


Re: [flexcoders]Does the Accordion have an Icon Function?

2006-12-13 Thread dorkie dork from dorktown

Darron, I think its the same one. I'll report it here for others. Basically,
if you set the Accordion headerStyleName property to a defined class
selector then the behavior you describe occurs. If you remove the
headerStyleName attribute or remove the class definition then it works.

Dustin, I like that method. :)

Here is example code to compare against:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
   creationComplete=init()

mx:Script
   ![CDATA[

   [Bindable]
   [Embed(source=images/Box.png)]
   public var boxIcon:Class;

   [Bindable]
   [Embed(source=images/CheckBox.png)]
   public var checkboxIcon:Class;

   public function init():void {

   accordion1.getHeaderAt(0).setStyle('icon', boxIcon);
   accordion1.getHeaderAt(1).setStyle('icon', checkboxIcon);
   accordion1.getHeaderAt(2).setStyle('icon', checkboxIcon);

   }

   ]]
/mx:Script

mx:Style
   .myAccordionHeaderStyle {

   }
/mx:Style
mx:Box width=380 horizontalAlign=left verticalGap=12
   verticalScrollPolicy=off horizontalScrollPolicy=off
!-- REMOVE headerStyleName property and test again--
   mx:Accordion id=accordion1 width=100% color=#00
fontFamily=menuHeaderFont
   fontSize=14 resizeToContent=true fontWeight=bold
   creationPolicy=all
   historyManagementEnabled=false
   headerStyleName=myAccordionHeaderStyle
   paddingRight=0
   mx:VBox label=HEADER ONE width=100% verticalScrollPolicy=off
   mx:Text
   mx:htmlText
   ![CDATA[
   Here is some test text.
   ]]
   /mx:htmlText
   /mx:Text
  /mx:VBox
   mx:VBox label=HEADER TWO width=100% verticalGap=47
   mx:Text
   mx:htmlText
   ![CDATA[
   Here is some test text.
   ]]
   /mx:htmlText
   /mx:Text
  /mx:VBox
   mx:VBox label=HEADER THREE width=100%
verticalScrollPolicy=off
   mx:Text
   mx:htmlText
   ![CDATA[
   Here is some test text.
   ]]
   /mx:htmlText
   /mx:Text
   /mx:VBox
   /mx:Accordion
/mx:Box
/mx:Application


On 12/13/06, Darron J. Schall [EMAIL PROTECTED] wrote:


I think you've actually stumbled on a bug that I submitted a couple
months ago -- where the icon set in the last accordion header gets
applied to all previous headers, or something like that.  I narrowed it
down to a reproducible test case, and I believe Adobe was able to fix it
(as part of the upcoming 2.0.1 release).

I don't have that test case anymore, but it sounds like exactly the same
thing I ran into when I filed the bug.  I don't remember if there was a
workaround or not... sorry.

-d

dorkie dork from dorktown wrote:

 Er, I created a simplified example and got that to work. So there must
 be some gremlins in my code somewhere. I checked the source and did
 not see an iconFunction.

 On 12/13/06, * dorkie dork from dorktown*
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Does the Accordion have an iconFunction? Similar to the
 iconFunction used in the Tree and List controls.

 For example, this code is supposed to set the icon for headers 0
 and 1 but each statement sets the icon across all headers.

 [Bindable]
 [Embed(source=images/Company-Icon.png)]
 public var companyIcon:Class;

 [Bindable]
 [Embed(source=images/Market-Icon.png)]
 public var marketIcon:Class;

 // in init
 navigationMenu.getHeaderAt(0).setStyle('icon', companyIcon);
 navigationMenu.getHeaderAt(1).setStyle('icon', marketIcon);







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links






[flexcoders]Button text not centered vertically with embedded fonts

2006-12-14 Thread dorkie dork from dorktown

When I use embedded fonts on a button the text is aligned too high. I change
the font to a normal font and it is aligned correctly again. I am trying to
achieve a fix for this because the accordion header is a subclass of the
button class and this is where I'm having a problem.

mx:Style
   @font-face {
   src: local(Serpentine);
   fontFamily: menuHeaderFont;
   fontWeight: bold;
   }
   /mx:Style

   mx:Button label=COMPANY
   icon=@Embed('images/Checkbox.png')
   fontFamily=menuHeaderFont fontSize=14
   leading=-2/

I can set the leading to -2 but this is a hack and I'm not sure what it will
break. Anyone run across this?

dorkie stumped dork from dorktown


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

2006-12-14 Thread dorkie dork from dorktown

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


[flexcoders]Showing hand cursor to List rows

2006-12-14 Thread dorkie dork from dorktown

I am trying to show a hand cursor over each individual rows. This code shows
a cursor or the empty rows, which is the list, but not on rows that have
content.

 mx:List id=myList width=155
 rowHeight=18 verticalAlign=middle verticalScrollPolicy=off
 useHandCursor=true
 buttonMode=true
   mx:Object label=COMPANY STORE/
   mx:Object label=TEMPORARY DATA/
 /mx:List


ddfd


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

2006-12-14 Thread dorkie dork from dorktown

Mike,

Er, um. I know about filters property. How to *apply* it is the question.
Here is the MXML:

mx:Accordion

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




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:

 mx:Accordion

 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] Re: SEO Compatibility

2006-12-16 Thread dorkie dork from dorktown

Adobe: Yes google will index your Flex app. It reads the text in the file
and keywords in the html page (basically etc). Flex is SEO friendly.

Doug:  Sure, google will show your link to your site for resturant review
but it does not index the dynamic data in that site. So if someone is
searching for Casa Bonita (sings melody) and not resturant review the
site will not be listed because google does not know that resturant
review.com contains information about Casa Bonita. At least not without
unnatural restructuring of the application and application wrapper.

Me: I do not know if search engines can find and index this information. A
concrete example that a Flex app with dynamic data is being index would
suffice that it is not an issue. If it is an issue, referring specifically
about dynamic data, not static, then a distinction should be made to clarify
this conversation.

Flex = SEO friendly
Dynamic data in Flex = Impossible without modifications(?)

Right? So putting everything else aside... we could say that some people
want more support in this area or at least a better answer (or recommend
solution) to this specific issue.
/end of message

/start of suggested solution
We all know how a search engine works. It finds a site, indexes the content
on the home page and then crawls through the rest of it *by following
links*. Each page it finds it indexes the content on those pages.

So lets say we have a comic book forum created in flex. Our flex app has 3
main states, forum index, forum posts (newest ten shown) and forum message
thread. In an HTML site the search engine would follow the each forum link
and then read in the forum posts page and follow those links and read in
each message thread. Right now Flex apps have no links to follow because
they do not deal with pages they deal with states.

So what if on each state we wrote out html anchors to the browser
dynamically? Using something like URLKit you can go to different states in
your Flex app by url. So in your comic book forum your page loads, the flex
app writes links to the page after content is received from the server.
Google comes along finds page, finds the content, indexes it, finds the
links and recursively goes through the site. It is unknown how google
indexes so this may not be possible of course but I'm saying, if we build
it they will come - and adopt it or rewrite it. -er, this also works, if
we want it they will build it.

dorkie cant sleep dork from dorktown

I think we can come up with a solution.

the problem you are saying is how to index dynamic data.



On 12/15/06, Doug McCune [EMAIL PROTECTED] wrote:


 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: 

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

2006-12-16 Thread dorkie dork from dorktown

tell them it is 99%. then when people say they don't have it say they are in
the 1%. jk (couldn't resist)

On 12/15/06, pk_wasp [EMAIL PROTECTED] wrote:


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





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links






[flexcoders]Live preview of swfs

2006-12-18 Thread dorkie dork from dorktown

Is there any way to see a live preview of swfs at design time? I exported a
vector image to Flash so I can scale my logo as large or as small as I want
without it losing quality but when I bring it into Flex it shows a little
swf icon but not the image. I am losing the benefit by not being able to see
it.

I am using Flash 8 and Flex Builder 2.

dorkie vector dork from dorktown


Re: [flexcoders] SEO Compatibility

2006-12-19 Thread dorkie dork from dorktown

On 12/18/06, John Dowdell [EMAIL PROTECTED] wrote:



This was the original question. Other topics came up during discussion.
I'd like to confirm that I have the correct understanding of the main
action item here... is the following wishlist item accurate?

I'd like Adobe to provide examples on how to expose user-entered text,
stored within my database and displayed and entered through a Flex SWF's
UI, so that any search engine could search for that user text and return
the address of the interface.

I'm on the right page here for the subsequent discussion, true...?




Yes. Yes that is it. That is what I want.

Even if it isn't exactly what everyone wants once something is going or
available you will have a plethora of people refactor it for you.

dorkie dork from dorktown


Re: [flexcoders] Re: SEO Compatibility

2006-12-21 Thread dorkie dork from dorktown

One of the open source solutions I occasionaly use *cough* *cough* *drupal*
*cough* has a mod redirect / mod rewrite htaccess file (i'm combining
words). Any url that is entered into the site gets rewritten or redirected.
It is a dynamic system that allows you to dynamically redirect to the
content you want without hard coding paths or directories.

So you would create a dynamic page (doesn't really exist - only in the
database) and then an alias to reach it. For example, www.test.com/myalias.
Actually a lot of systems use this (wordpress, etc).

All urls entered in to the site would be redirected to index.php. At this
point you could with the super awesome power of server side code, deliver
page links dynamically and content dynamically. I recently did a project
with FXT and did exactly that. You pass the data as an xml model into a
script tag under the body tag. Search engines pick this up. My Flex app
pulled this xml in and then used it as a dataprovider for numerous controls.


I've asked in the wish list for Macromedia at the time before it was Adobe
to let us specify the type of extension for the published html wrapper.
Right now if you click publish or run it creates a HTML page. So somewhere
in the options it would be nice to choose the page extension type (php, asp,
jsp, etc) of the page we are publishing. I've also investigated and
requested a way to pick my template page that Flex finds and then replaces
the tokens which it is looking for inside of it. This may all be possible
already. I've been mostly only learning the API, mostly.

Now that I've had a chance to think about it a default Adobe Page and Link
Management admin site might be the solution. It would be created and
deployed to bin or bin-admin with every project. Then you would upload that
to the server along with the contents of your bin directory. A developer
could login to it on the server. The Adobe Page Manager would use an xml
file or database to create the aliases. The alias would be for different
states in a Flex app. When you create an alias there would be a place where
you could call the services or page associated with that state and alias. It
would then wrap that content in a xml tag like in FXT for indexing. You
could also pass any links back to the page. The content and links would be
in the noscript / script / area of the page and not be visible to the user
but it would be visible to the search bots. Because it uses a single page
index.php and .htaccess mod rewrite it would redirect all traffic to the
single index page (php, asp, java). That page would take that url alias,
search the xml file or database and serve up the appropriate content (in the
background hidden to users). I hope that makes sense.

It would manage aliases, content for that alias, links for the alias and
state to pass to the embedded flash swf. I can actually imagine how it would
work.

On 12/21/06, Kevin Newman [EMAIL PROTECTED] wrote:


I guess it isn't as large a problem as maybe I've been suggesting, after
having talked about it in this thread.

My whole problem is that I don't like urls that look like this:
http//domain.com/some/path/#other/path - which in all the examples, is
what you could end up with, if you try to combine a regular indexable
set of html files (or a server side app or whatever), with an self
updating deep link solution that uses the hash portion of the url (like
all current flash based deep link systems do).

At the end of the day the problem is largely cosmetic I suppose, but
it's still a problem I'd like to find a solution for. :-)

The optimal solution, imo, would be some way to have the pages get
indexed by search engines, then kick you into the app, at the app level,
rather than shoe horning the app in at the index level.

Kevin N.



hank williams wrote:



 Either way, it's reconciling the two urltypes that's the crux of the
 problem as I see it.


 Kevin,

 You keep saying this, and maybe I am missing the big picture here, but
 I am not clear why it is necessary to reconcile these two url types,
 or how they relate to each other at all. It seems to me you can use
 them both, they exist for different purposes and there is no problem.
 You seem to think that that is not right, and below categorize it as
 so large a problem. What am I not understanding?

 Regards,
 Hank







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






Re: [flexcoders] Flex help on IRC

2006-12-22 Thread dorkie dork from dorktown

bump.

On 11/28/06, Andrew D. Goodfellow [EMAIL PROTECTED] wrote:


Great idea Louie! I've been using this channel for about a day now and I'm
finding it very useful.

I'd definitely encourage everyone on the list to come and participate, or
at least lurk. :o)

-Andy


On 11/27/06, Louie Penaflor [EMAIL PROTECTED]  wrote:

Hey everyone,



 For those of you who would like to attempt a different way
 of getting help, we have started a flex channel on IRC Chat called
 #flex.  It's on efnet.  Hope to see you there.



 Louie








Re: [flexcoders] Re: SEO Compatibility

2006-12-22 Thread dorkie dork from dorktown

First, this structure already works for these content management / blog
sites. They have a single index page that shows content based on the url.
There is only one file. So we know it works.

#1 - yes. i am thinking at its most basic level, on that single catch all
index page, we have a function that gets called when the page loads. that
function is passed the broken down url information, ie, a object similar to
the location object (contains the pathname, protocol, etc - or we define a
set of global variables). these are set when the mod rewrite or referrer.
i'd have to check how they do it. back to the function - then your function
can parse and use logic you set up to deliver the content that you want to
make available to the search engines based on the url the user or search bot
requested. in your logic you may be going to the database and pulling
information based on the page they request. we store that information in a
variable that will eventually get written to the page underneath the swf in
xml hidden inside of a script tag.

#2 - the search engine does not know it is getting redirected to the
index.php, index.asp, index.jsp page. all it knows is that when it asks for
animals.com/carnivors/bears it is getting the page on bears.

#3 - yes. thats right. this is described in #1. i really think some
variables would be better than an object.

#4 - that is not necessary. remember, the user (and their browser) and the
search bot only believe in the url. they don't care or know if its a single
page or a different page that gets served up.

One more thing we would have to do that I did not mention in #1 was to pass
a list of links to the page to be written out. These can be in a display
none tag or in the no script section.

And finally that url path and variables should be passed to the flash swf in
the flash vars section.

Dang. I think this can be done rather quickly. This would be basic. A front
end / front end manager could be created for this later on top of this.

On 12/22/06, Kevin Newman [EMAIL PROTECTED] wrote:


dorkie dork from dorktown wrote:
 One of the open source solutions I occasionaly use *cough* *cough*
 *drupal* *cough* has a mod redirect / mod rewrite htaccess file (i'm
 combining words). Any url that is entered into the site gets rewritten
 or redirected. It is a dynamic system that allows you to dynamically
 redirect to the content you want without hard coding paths or
 directories.

 So you would create a dynamic page (doesn't really exist - only in the
 database) and then an alias to reach it. For example,
 www.test.com/myalias http://www.test.com/myalias. Actually a lot of
 systems use this (wordpress, etc).

 All urls entered in to the site would be redirected to index.php. At
 this point you could with the super awesome power of server side code,
 deliver page links dynamically and content dynamically. I recently did
 a project with FXT and did exactly that. You pass the data as an xml
 model into a script tag under the body tag. Search engines pick this
 up. My Flex app pulled this xml in and then used it as a dataprovider
 for numerous controls.

 I've asked in the wish list for Macromedia at the time before it was
 Adobe to let us specify the type of extension for the published html
 wrapper. Right now if you click publish or run it creates a HTML page.
 So somewhere in the options it would be nice to choose the page
 extension type (php, asp, jsp, etc) of the page we are publishing.
 I've also investigated and requested a way to pick my template page
 that Flex finds and then replaces the tokens which it is looking for
 inside of it. This may all be possible already. I've been mostly only
 learning the API, mostly.

 Now that I've had a chance to think about it a default Adobe Page and
 Link Management admin site might be the solution. It would be created
 and deployed to bin or bin-admin with every project. Then you would
 upload that to the server along with the contents of your bin
 directory. A developer could login to it on the server. The Adobe Page
 Manager would use an xml file or database to create the aliases. The
 alias would be for different states in a Flex app. When you create an
 alias there would be a place where you could call the services or page
 associated with that state and alias. It would then wrap that content
 in a xml tag like in FXT for indexing. You could also pass any links
 back to the page. The content and links would be in the noscript /
 script / area of the page and not be visible to the user but it would
 be visible to the search bots. Because it uses a single page index.php
 and .htaccess mod rewrite it would redirect all traffic to the single
 index page (php, asp, java). That page would take that url alias,
 search the xml file or database and serve up the appropriate content
 (in the background hidden to users). I hope that makes sense.

 It would manage aliases, content for that alias, links for the alias
 and state to pass

Re: [flexcoders] How to align text in middle in a row ?

2006-12-23 Thread dorkie dork from dorktown

This works with List components and it should work with the datagrid.
mx:DataGrid verticalAlign=middle/

On 12/23/06, eren bali [EMAIL PROTECTED] wrote:


ok than set your itemrenderer to a custom hbox like this:

HBox verticalAlign=middle 
   String id=text /
   Label text={text} /
/HBox

i did not compile this, do nop copy/paste


On 12/19/06, arpan srivastava [EMAIL PROTECTED] wrote:

   textAlign attribute will place the text in horizontally in center , I
 want to place it
 vertically in center of the row.

 it's like in a text box text always starts from top left corner,
 i want to start it from vertically middle of the text box

 - Original Message 
 From: david_gal-reyniez [EMAIL PROTECTED]
 To:  flexcoders@yahoogroups.com flexcoders@yahoogroups.com
 Sent: Monday, December 18, 2006 9:11:13 PM
 Subject: RE: [flexcoders] How to align text in middle in a row ?

  Hi Arpan,

 There is an the attribute which is named textAlign for the Object
 DataGridColumn .
 Is that the information you need?

 David

  --
 *De :* [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com]
 *De la part de* arpan srivastava
 *Envoyé :* lundi 18 décembre 2006 16:32
 *À :* [EMAIL PROTECTED] ups.com
 *Objet :* Re: [flexcoders] How to align text in middle in a row ?

   Sorry,

 I want to place the text vertically aligned in the middle.

 - Original Message 
 From: eren bali [EMAIL PROTECTED] com
 To: [EMAIL PROTECTED] ups.com
 Sent: Monday, December 18, 2006 7:17:55 PM
 Subject: Re: [flexcoders] How to align text in middle in a row ?

  set that label 100% width, and textAlign=center

 if this does not work use it inside a vbox


 On 12/18/06, arpan srivastava  [EMAIL PROTECTED] com[EMAIL PROTECTED]
 wrote:
 
 Hi,
  How can i center the text horizontally inside a row in a datagrid.
  I have also created an itemrenderer which extends Label, but you can only
  align the text vertically. I want it to be in center of the row.
 
   _ _ _ _ __
  Do You Yahoo!?
  Tired of spam? Yahoo! Mail has the best spam protection around
  http://mail. yahoo.com
 
 


 --
 Eren BAL(c)
 Invento Studios


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

  * * * * * *
 

  * * * * * *
 

 Coface facilite les échanges entre les entreprises partout dans le
 monde. Pour cela, elle offre à toutes les entreprises des solutions pour
 gérer, financer et protéger leur Poste clients : information et notation
 mondiale d'entreprises, gestion et recouvrement de créances , affacturage et
 assurance-crédit. Coface est notée AA par Fitch Ratings, Aa3 par Moody's et
 AA- par Standard  Poor's.

  Coface facilitates business-to- business trade throughout the world by
 offering companies solutions to help them manage, finance and protect their
 receivables : information and company ratings, receivables management,
 receivables finance and protection. Coface is rated AA by Fitch ratings, Aa3
 by Moody's and AA- by Standard  Poor's.

  * * * * * *
 


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




--
Eren BALİ
Invento Studios 



Re: [flexcoders] Flex Marketing

2006-12-24 Thread dorkie dork from dorktown

I agree Paul for the most part but at the same time I have two theories on
it.

1. It's the little dogs that bark the loudest. The big dogs don't have to.
If Adobe / Macromedia team is confident in their work then word of mouth
will spread it. It will get a reputation by virtue of its value.

2. The campaigns they've launched, labs.adobe.com, dev center, support
groups, developer relations, component developer relations, etc are all
actions that say they are laying the groundwork and foundation for things to
come. I would say they are building the Flex ecosystem among the current
Flash / Flex / ColdFusion developer community before inviting those that are
not already part of it.

And then I disagree with my point number one. The web is very large. Getting
the word out there for people to know that it exists is important. Many do
not know about it. So marketing is important. But I do not like some tactics
in Marketing. In most marketing they are sleazy and deceptive. Advertisers
promote something that in reality what it is not. So they may be waiting for
a time when they think it is ready and matured to a point they want to then
go for it. If it was me, when I thought it was ready, I would aim at making
Flex known and what it does for you without glamorization.

But as Tariq said, if no one knows about it they do not feel safe adopting
it. The only way I've got my Flex app in the door is because I knew the
project manager. He had never heard of Flex. If Flex was mentioned in Java
Developers journal magazines he would know about it. Everyone was expecting
me to do AJAX. They thought that was hot s**t. :P

They didnt know that Flex / Flash had any sort of capabilites similar to
ajax.

@Matt Chotin -

So where do they hear about other technologies?  Are they reading certain
publications?  Blogs?  When they talk about other technologies do they
actually know what they're talking about or is it just repeating the buzz?

Other developers at work hear about technology through Java Conferences,
magazines (JDJ), word of mouth, blogs. The project managers and his boss'
conception of Flash was flashy animation and games.

Friends who are not programmers know all about ajax from digg and tech
feeds. One friend was all stoked about ajax and web 2.0 and crap like that
and I had to explain it all to him. Those outside of the industry are mostly
repeating the buzz.

Now, once you get their attention with marketing and buzz words and ability
you have one more hurdle to overcome before adoption. The entry point is
rather steep as well. For all it can do it's definately worth it but, it
still remains out of the reach of many. Flex Elements may help an early
adoption rate especially to cross over developers from Java, HTML, AJAX, who
are wary of such a huge investment. Sorry to get off the marketing topic but
I believe it is related. Either that or give many of the popular tech blogs
a promotion code to put on their site for Flex Builder for 100% off or
something.



On 10/4/06, Paul Andrews [EMAIL PROTECTED] wrote:


 Is it just me that thinks Adobe is doing fine just as they are? I think
the real Flex breakthroughs will come as developers start releasing clever
apps and people start saying holy s**t.

I happen to think that the developer support by Adobe (and Macromedia
before them) is phenomenal.  Flex will move forward quietly until it hits
it's tipping point, then adoption will surge ahead.

Don't worry too much about promoting Flex - let your applications do that
for you.

Paul

- Original Message -

*From:* Tariq Ahmed [EMAIL PROTECTED]
*To:* flexcoders@yahoogroups.com
*Sent:* Wednesday, October 04, 2006 9:58 PM
*Subject:* Re: [flexcoders] Flex Marketing

I'd agree to that. The marketing effort seems to heavily rely on the
development community doing that job for them. Things like labs and DevNet
are KEY to maximizing technology adoption - but people need to know about it
in the first place.

To Restate Adobe's Goal: 1 000 000 Flex Developers by 2010.

Some HEAVY DUTY marketing is needed. It definitely made sense to capture
those who are most amiable to Flex (CF and Flash developers) first and grow
from there. I think someone blogged about this before; in that of course
Adobe related blogs are going to be heavy proponents for Adobe technologies.
But now it's time to penetrate into the rest of the world.

In polling my heavy duty tech friends in other industries, they BARELY
know what Flex is. Many haven't heard of it. And some have heard of it, just
because they heard me mention it.

Awareness of the brand and technology needs to be more prevalent.

Gimme a cool Flex decal and I'll put it on my car! :)



Clint Modien wrote:

 I mentioned this @ the Silicon Valley Flex User Group meeting the
other day but I wanted to reiterate it here and see if I could invoke
a response from Adobe.

Mr. Mendels?

Where is the marketing for Flex? Why keep the most beautiful
framework in the world for creating applications a 

Re: [flexcoders] Re: SEO Compatibility

2006-12-28 Thread dorkie dork from dorktown

i see what you are saying in your words. when we go to a new state, say
foo.com/bar/ you want the url to change to
foo.com/bar/monkey
not
foo.com/bar/#monkey

correct? have a look at www.neave.tv. as you move the app the browser's
location bar is updated.

are we changing topics again or are we moving to another piece of the
puzzle?

ie, jd summarized the current topic issue as this:

I'd like Adobe to provide examples on how to expose user-entered text,
stored within my database and displayed and entered through a Flex SWF's
UI, so that any search engine could search for that user text and return
the address of the interface.

and then we discussed some solutions to this.


On 12/28/06, Ian Thomas [EMAIL PROTECTED] wrote:




On 12/28/06, Kevin Newman [EMAIL PROTECTED] wrote:

 What you have described is basic deep linking, but does not solve the
 problem I have been attempting to articulate. Regardless of what goes on
 on the server, if you enter some path info after the .com part of the
 url, the server thinks it is getting its data from that location
 (foo.com/bar/ for example).


Not quite true. You can use mod_rewrite (on Apache) to chop up the URL -
everything after the foo.com/  can be altered internally to be a request
to something else entirely, without affecting the  browser.

e.g. the client enters foo.com/bar/monkey

internally, mod_rewrite alters it to foo.com/index.php?page=bar/monkey,
but the user still sees foo.com/bar/monkey in his browser.

I've done it lots, I know it works. :-)

You can then enter your application at any point you like based on a
complete URL - e.g. passing it through to Flash as flashvars via PHP.

But as you say, unless we then update the browser's location bar when we
move through the app, it doesn't help much. :-)

Cheers,
  Ian




Re: [flexcoders] Re: Need help about Wysiwyg

2006-12-30 Thread dorkie dork from dorktown

First and foremost we need more tags supported by htmlText and the rte for
many more HTML tags than currently supported. This is first priority.
Adobe's or any takers.

Second, I have been working on a HTML Component that will sit on top of your
Flex project. It works nicely and is very easy to use. I created it because
I need it. It should answer 90% of your needs when it comes to html. Its
compatible with the current generation of browsers and provides a fallback
mechanism for unsupported browsers. I'll have more news next week and at
that time I'd like to get some feedback. If you are interested to know more
please send me an email offlist. Or at least features you'd want.


On 12/29/06, greg h [EMAIL PROTECTED] wrote:


Ralf,

Thanks.  I had not previously looked at Deng.

For me, the challenge has been finding a Flash/Flex based WYSIWYG text
editor that outputs valid, standards compliant HTML/XHTML for display in
browsers.

Am I correct that Deng only renders existing XHTML?  That is, that it does
not provide editing capabilities?

Just now, in the course of writing this reply, I went back to the best Flash
editor I had found, FlashTextEditor.com http://flashtexteditor.com, and
I see an announcement from Dec 13, 2006 of a new version that supports CSS.
(The announcement is also here:  http://play.ground.gr/?p=103 ). But that
is targeting FP8/AS2/Flash V2.

If the creator of FlashTextEditor.com http://flashtexteditor.com/ can
get that all working for FP8/AS2/Flash V2, then he likely will be able to do
it for FP9/AS3/Flex 2.  I am cc'ing 
FlashTextEditor.comhttp://flashtexteditor.com/'s
creator on this reply (using [EMAIL PROTECTED]).  Maybe he will
post back with information on a release date for a Flex 2 version :-)

btw ... here is a link from Jesse Warden praising 
FlashTextEditor.comhttp://flashtexteditor.com/back in March 2005:
http://www.jessewarden.com/archives/2005/03/flash_richtexte.html

Best regards,

g


On 12/29/06, Ralf Bokelberg [EMAIL PROTECTED]  wrote:

  Claus Wahlers  Friends implemented a standards compatible browser
 library on earlier flash players, so i guess it's just a matter of time they
 or somebody else ports it to AS3.

 See http://www.osflash.org/deng

 Cheers,
 Ralf.

 On 12/29/06, greg h  [EMAIL PROTECTED] wrote:
 
My 2¢ ...
 
  1.  To provide support for valid, standards compliant HTML/XHTML Flash
  Player needs an updated alternative to the TextArea's htmlText
  property
  
http://livedocs.macromedia.com/flex/2/langref/mx/controls/TextArea.html#htmlText.
  Meaning, right through FP9 we have a problem with the legacy of how earlier
  FP versions provided HTML support.  For details see:
  http://www.adobe.com/go/tn_14808
  Flash TechNote
  Using HTML text formatting in Flash 5
  Last updated:  September 4, 2002
 
  2.  Apollo.  If not in Flash Player, hopefully something can be done
  in Apollo since it will integrate FP with a full standards compliant
  browser.
 
  g
 
  On 12/29/06, Daniel Freiman  [EMAIL PROTECTED] wrote:
  
I don't see why this should be very hard.  I'm not saying it would
   be quick, but since flash/flex has a known specification and html has a
   known specification, the transformation between the two should be fairly
   obvious.  Put another way, if you can save and excel file as HTML, there's
   no reason to believe that flash is special enough that it can't be
   transformed to generate html.
  
   I should be done with an application in about a month that does what
   you're looking for and more.  It wouldn't be that hard to change our
   proprietary XML output to HTML (it is something we're planing but not a 
high
   priority right now).  If anyone's interested in it and want to know more 
you
   can contact me off list.
  
   - Dan
  
 
 


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





[flexcoders] Application scrollbars will not go away in frameset - Solved Already

2007-01-02 Thread dorkie dork from dorktown

This is a post I was about to send to the list. I figured it out right
before sending but I am going to send it anyway in case someone else runs
into it.

I have a frameset that contains Flash/Flash/HTML/Flash. In the top Flash
banner the Flex scroll bars always appear. I have turned off
verticalScrollPolicy and horizontalScrollPolicy on the Application so I
don't know why it is still showing them.

Here is my Application code:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
   layout=absolute
   backgroundColor=0xFF
   creationComplete=init()
   xmlns:filters=flash.filters.*
   verticalScrollPolicy=off
   horizontalScrollPolicy=off

Here is my frameset code:

frameset rows=90,*,20 cols=* frameborder=no border=0
framespacing=0
 frame src=banner.html name=banner scrolling=No noresize=noresize
id=banner title=Top Frame /

If I increase the height of the rows property to 92 then the Flex scroll
bars go away but then there is a gap inbetween the top frame and the bottom
frame.

Solution Found:
The scrollbars were not from the application, they were from a canvas
container (width:100% and height:100%) in the application that had a text
field that was 1 pixel past the bounds of canvas. Since it was a cosmetic
issue why the textfield was past the edge of the canvas I decided to turn
off the scroll policy rather than move the text field back in. This worked.

Created scrollbars:
mx:Canvas width=100% height=100% backgroundSize=100%

Removed scrollbars:
mx:Canvas width=100% height=100% backgroundSize=100%
   verticalScrollPolicy=off horizontalScrollPolicy=off


[flexcoders]Eclipse 3.2.1 installed now how to install Flex Builder 2.0.1 plugin

2007-01-05 Thread dorkie dork from dorktown

It took me a while to get Eclipse 3.2.1 up and installed the way I want it
(newbie to eclipse) and I would like to install the Flex Builder plugin but
I don't want to screw up my existing setup. I'm running the installer and it
looks like it will over write the Java Runtime Environment.

This page has a install guide, *To install Flex Builder 2 Eclipse plug-in*:
but it doesn't mention anything about if you already have Eclipse installed.

http://www.adobe.com/support/documentation/en/flex/2/install.html

so in one word that sums up all my feelings, help!

ps Flex 2.0.1 was released today!!!
http://www.onflex.org/ted/2007/01/1-one-solid-flex-release-201.php


[flexcoders]Flex Project Nature

2007-01-08 Thread dorkie dork from dorktown

I cannot find information on Flex Project nature anywhere. The company I
work for has an existing Java project that I am now doing parts of the front
end in Flex. I have been wondering if it's possible to combine Flex behavior
to the Java project and put mxml applications in certain directories of it
(/web) and deploy them both together when I noticed the Flex Project
Nature option in the context menu. In the case that I missed them in
obvious location please send a link.

dorkie hybrid java and flex dork from dorktown


[flexcoders]503 Service Unavailable

2007-01-08 Thread dorkie dork from dorktown

I installed Eclipse and Flex Builder 2.0.1 as a plug in and I'm getting a
error when I try to look at the Help Content:

503 Service UnavailableFailed to resolve the name of server *127.0.0.1* to
connect


Is this something I botched up or is there something else I have to do?

dorkie help-less dork from dorktown


[flexcoders]Font embedding FlashType in 2.0.1 error

2007-01-09 Thread dorkie dork from dorktown

I cannot get Flash Type to work in my project. I have simplified everything
by going to the link below, using the example, !--
fonts/EmbeddedFontFaceActionScriptByName.mxml -- and specifying Times New
Roman. as the system font. Only changing that I get the following error.
You can try it too! Join the fun!

Example:
http://livedocs.macromedia.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Partsfile=fonts_070_06.html


This is the code, I set to Times New Roman and added flashType='true'
/*
 * Embed a font by name.
 */
[Embed(systemFont='Times New Roman',
   fontName='myPlainFont',
   mimeType='application/x-font',
   flashType='true'
)]
private var font1:Class;

Here are the error I get:
transcoding parameter 'flashType' is not supported by '
flex2.compiler.media.FontTranscoder'ybmain/flexFontTest.mxml
/ybmain/flex/FontTest.mxml11683609591306828

dorkie in you font face dork from dorktown


[flexcoders]Does Flex work with Java without FDS?

2007-01-12 Thread dorkie dork from dorktown

Does Flex work with Java without requiring FDS? I want to load up a Flex app
and using services similar to Flash Remoting run methods of a Java class and
return complex objects back.


Re: [flexcoders] Adding an item to binded data XML source does not refresh view in a mx:Tree

2007-01-21 Thread dorkie dork from dorktown

The XMLListCollection has a special design interfaces that allow it to be
used correctly with databinding. The XML object does not. Remember how you
use MyList.addItem(myItem) instead of myArray.push(myItem)? This is because
addItem inspects data and dispatches events. It is the same thing with the
XML object.

Array is used if data is static. ArrayCollection is used if data will
change.
XML is used if data is static. XMLCollection is used if data will change.

The general rule is, if data will change, data binding is used, or you need
to filter or sort the data put your array or xml into collections before
binding or putting into dataproviders.

HTH


On 1/21/07, Andriy Panas [EMAIL PROTECTED] wrote:


Hello flexcoders,

  I ran into 2 different behaviors dependant on the type of binded data
source (XML or XMLListCollection) to mx:Tree's dataProvider.

  Behavior #1
  --
  If I bind the data of XML type to dataProvider's mx:Tree the whenever I
add the new node to XML
data source at the runtime then Tree's view DOES NOT update automatically.

  Behavior #2
  --
  If I bind the data of XMLListCollection type to dataProvider's mx:Tree
the whenever I add the new node to XML
data source at the runtime then Tree's view DOES update automatically.

  Studying the source code of XML, XMLListCollection did not reveal to
me why does this situation happen.

  Any thoughts? I would appreciate any opinions on this issue to get a
better understanding of Flex 2 UI framework.

--Code example START--
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; width=100%
verticalAlign=left
mx:Script
![CDATA[
import mx.collections.XMLListCollection;


[Bindable]
var employeesXML : XML = list
department label=TV Station
employee label=John/
employee label=Bruce/
/department
department label=Radio Station
employee label=Gerald/
/department 
employee label=George/
/list;

[Bindable]
var employeesData : XMLListCollection = new
XMLListCollection(employeesXML.department);

function addNewItem() : void {
var newNode : XML = employee label=Jim/;
employeesXML.appendChild(newNode);
employeesData.addItem(newNode);
employeesTextXML1.text = employeesXML.toXMLString
();
employeesTextXML2.text = employeesData.toXMLString
();

}

]]
/mx:Script
mx:HBox width=100%
mx:Tree id=employees1 showRoot=false
dataProvider={employeesXML} width=50% labelField=@label
/mx:Tree
mx:Tree id=employees2 dataProvider={employeesData}
width=50% labelField=@label
/mx:Tree
/mx:HBox
mx:Button label=addItem click=addNewItem()/
mx:HBox width=100%
mx:TextArea id=employeesTextXML1 height=200
width=300/
mx:TextArea id=employeesTextXML2 height=200
width=300/
/mx:HBox
/mx:Application
--Code example END--

--
Best regards,
Andriy  mailto:[EMAIL PROTECTED]



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links






Re: [flexcoders] Adding an item to binded data XML source does not refresh view in a mx:Tree

2007-01-21 Thread dorkie dork from dorktown

They explain it better than I do. :P
http://livedocs.macromedia.com/flex/2/docs/0499.html

Search on the page for raw data object

Remember the race??? ;)

On 1/21/07, dorkie dork from dorktown [EMAIL PROTECTED]
wrote:


The XMLListCollection has a special design interfaces that allow it to be
used correctly with databinding. The XML object does not. Remember how you
use MyList.addItem(myItem) instead of myArray.push(myItem)? This is
because addItem inspects data and dispatches events. It is the same thing
with the XML object.

Array is used if data is static. ArrayCollection is used if data will
change.
XML is used if data is static. XMLCollection is used if data will change.

The general rule is, if data will change, data binding is used, or you
need to filter or sort the data put your array or xml into collections
before binding or putting into dataproviders.

HTH


On 1/21/07, Andriy Panas [EMAIL PROTECTED] wrote:

 Hello flexcoders,

   I ran into 2 different behaviors dependant on the type of binded data
 source (XML or XMLListCollection) to mx:Tree's dataProvider.

   Behavior #1
   --
   If I bind the data of XML type to dataProvider's mx:Tree the whenever
 I add the new node to XML
 data source at the runtime then Tree's view DOES NOT update
 automatically.

   Behavior #2
   --
   If I bind the data of XMLListCollection type to dataProvider's mx:Tree
 the whenever I add the new node to XML
 data source at the runtime then Tree's view DOES update automatically.

   Studying the source code of XML, XMLListCollection did not reveal to
 me why does this situation happen.

   Any thoughts? I would appreciate any opinions on this issue to get a
 better understanding of Flex 2 UI framework.

 --Code example START--
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx= http://www.adobe.com/2006/mxml; width=100%
 verticalAlign=left
 mx:Script
 ![CDATA[
 import mx.collections.XMLListCollection;


 [Bindable]
 var employeesXML : XML = list
 department label=TV Station
 employee label=John/
 employee label=Bruce/
 /department
 department label=Radio Station
 employee label=Gerald/
 /department 
 employee label=George/
 /list;

 [Bindable]
 var employeesData : XMLListCollection = new
 XMLListCollection(employeesXML.department );

 function addNewItem() : void {
 var newNode : XML = employee label=Jim/;
 employeesXML.appendChild(newNode);
  employeesData.addItem(newNode);
 employeesTextXML1.text =
 employeesXML.toXMLString();
 employeesTextXML2.text =
 employeesData.toXMLString();

 }

 ]]
 /mx:Script
 mx:HBox width=100%
 mx:Tree id=employees1 showRoot=false
 dataProvider={employeesXML} width=50% labelField=@label
 /mx:Tree
 mx:Tree id=employees2 dataProvider={employeesData}
 width=50% labelField=@label
 /mx:Tree
 /mx:HBox
 mx:Button label=addItem click=addNewItem()/
 mx:HBox width=100%
 mx:TextArea id=employeesTextXML1 height=200
 width=300/
 mx:TextArea id=employeesTextXML2 height=200
 width=300/
 /mx:HBox
 /mx:Application
 --Code example END--

 --
 Best regards,
 Andriy  mailto:[EMAIL PROTECTED]



 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links







Re: [flexcoders] Adding an item to binded data XML source does not refresh view in a mx:Tree

2007-01-22 Thread dorkie dork from dorktown

I would directly add items to the dataprovider. The dataProvider wraps raw
objects with its own methods and event dispatchers. Like this:

var newNode:XML = item label='Middle' isBranch=true/item;
xmlBound2Tree.dataProvider.addItemAt(newNode, 1);


This article may be of help to you.

http://livedocs.macromedia.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Partsfile=about_dataproviders_057_16.html

You may need to name your nodes the same name, give yourself a label
function that takes that into account and may need to enable the XML e4x
format.

On 1/21/07, dorkie dork from dorktown [EMAIL PROTECTED]
wrote:


They explain it better than I do. :P
http://livedocs.macromedia.com/flex/2/docs/0499.html

Search on the page for raw data object

Remember the race??? ;)

On 1/21/07, dorkie dork from dorktown [EMAIL PROTECTED] 
wrote:

 The XMLListCollection has a special design interfaces that allow it to
 be used correctly with databinding. The XML object does not. Remember how
 you use MyList.addItem(myItem) instead of myArray.push(myItem)? This is
 because addItem inspects data and dispatches events. It is the same thing
 with the XML object.

 Array is used if data is static. ArrayCollection is used if data will
 change.
 XML is used if data is static. XMLCollection is used if data will
 change.

 The general rule is, if data will change, data binding is used, or you
 need to filter or sort the data put your array or xml into collections
 before binding or putting into dataproviders.

 HTH


 On 1/21/07, Andriy Panas  [EMAIL PROTECTED] wrote:
 
  Hello flexcoders,
 
I ran into 2 different behaviors dependant on the type of binded
  data
  source (XML or XMLListCollection) to mx:Tree's dataProvider.
 
Behavior #1
--
If I bind the data of XML type to dataProvider's mx:Tree the
  whenever I add the new node to XML
  data source at the runtime then Tree's view DOES NOT update
  automatically.
 
Behavior #2
--
If I bind the data of XMLListCollection type to dataProvider's
  mx:Tree the whenever I add the new node to XML
  data source at the runtime then Tree's view DOES update automatically.
 
Studying the source code of XML, XMLListCollection did not reveal to
  me why does this situation happen.
 
Any thoughts? I would appreciate any opinions on this issue to get a
 
  better understanding of Flex 2 UI framework.
 
  --Code example START--
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx= http://www.adobe.com/2006/mxml;
  width=100% verticalAlign=left
  mx:Script
  ![CDATA[
  import mx.collections.XMLListCollection;
 
 
  [Bindable]
  var employeesXML : XML = list
  department label=TV Station
  employee label=John/
  employee label=Bruce/
  /department
  department label=Radio Station
  employee label=Gerald/
  /department 
  employee label=George/
  /list;
 
  [Bindable]
  var employeesData : XMLListCollection = new
  XMLListCollection( employeesXML.department );
 
  function addNewItem() : void {
  var newNode : XML = employee label=Jim/;
  employeesXML.appendChild(newNode);
   employeesData.addItem(newNode);
  employeesTextXML1.text =
  employeesXML.toXMLString();
  employeesTextXML2.text =
  employeesData.toXMLString();
 
  }
 
  ]]
  /mx:Script
  mx:HBox width=100%
  mx:Tree id=employees1 showRoot=false
  dataProvider={employeesXML} width=50% labelField=@label
  /mx:Tree
  mx:Tree id=employees2
  dataProvider={employeesData} width=50% labelField=@label
  /mx:Tree
  /mx:HBox
  mx:Button label=addItem click=addNewItem()/
  mx:HBox width=100%
  mx:TextArea id=employeesTextXML1 height=200
  width=300/
  mx:TextArea id=employeesTextXML2 height=200
  width=300/
  /mx:HBox
  /mx:Application
  --Code example END--
 
  --
  Best regards,
  Andriy  mailto:[EMAIL PROTECTED]
 
 
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 




Re: [flexcoders] Re:Does Flex work with Java without FDS?

2007-01-24 Thread dorkie dork from dorktown

Thanks, I looked at OpenAMF and it is dated April 5, 2006. Do you still use
it? Do you know if its still being developed?

I looked at WebORB for Java and it looks like they don't have a Java version
for Flex. Is this because FDS covers all the Java needs?

I couldn't find a price for FDS on Adobe site or in the Flexcoders archive.
Do you know what it is? Thanks.


PS my question really is what is the best way to connect flex to a pre
existing java enviornment. If I can sell the idea of using Flex for the
front end then I can try to get FDS or another alternative in use.


On 1/12/07, Juan Carlos Méndez [EMAIL PROTECTED] wrote:


yes.. with openamf and
http://renaun.com/blog/flex-components/remoteobjectamf0/

--
Juan Carlos Méndez
Ingeniero de Sistemas.
Especialista en Telemática y Negocios Por Internet.
Consultor J2EE
Móvil: 300 8200601
[EMAIL PROTECTED]
[EMAIL PROTECTED] 



Re: [flexcoders] Flex 3.0 - What happened to letting Flex 2 bed in?

2007-01-25 Thread dorkie dork from dorktown

I, for one, welcome our new rapid release cycle! All hail the dawn of a new
millinium!

joking aside, i really cannot wait for the new release. i have heard hints
of the features it will add that will really speed up the development and
design process and address some issues needed for mass adoption.

my only concern is that upgrade pricing becomes consistent with other Adobe
products. For example, Photoshop and Premiere upgrades were not as expensive
as Macromedia upgrades in the past (IIRC). if the option is to upgrade
sooner i hope it would leave me with some money left over for booze. an
essential ingredient to long development weeks.

ps please add me to the beta

On 1/25/07, David Mendels [EMAIL PROTECTED] wrote:



Hi,

Let me correct some misimpressions in this thread:

A) We are not rushing out Flex 3.  The Flex 3 beta has not started and
is some time away.  Once we have a first public alpha or beta, it will
still be a logn while until we ship.  What you are seeing is not about
us rushing the product, it is about us becoming much more open about
what is coming down the road in the future.  We started this with Adobe
Labs (initially Macromedia Labs) but in this cycle in the next few
months you will see up open up more so folks can see the roadmap and
give us feedback.

B) Keep in mind, we released the first public alpha of Flash at Max in
October 2005.  We had a small private alpha underway for a few months
before that.  But we didn't ship Flex 2 until June 27 2006.  Just
because we are looking for testers and able to demo so features doesn't
mean we are about to ship.  It just means we want to give you a view of
the product before it is baked so you can give us feedback (and also for
your planning).  From when we had our first external testers to when we
shipped Flex 2 ws almost 12 months.  It may not be as long this time
because it is not such an major architectural change, but we are going
to let the product bake and stay focused on quality.

C) Flex 2 was a major architectural release.  We changed the VM, the
language, the framework, and the tool in fundamental and non-compatible
ways.  Flex 3 will not be such a release.  We are now able to leverage
those years of work and build on it incrementally.  I think we can add a
ton of value in areas like productivity, designer developer workflow,
approachability, etc; but this release will not be a rewrite and will
not be something each of you needs to relearn and invest heavily to
migrate to.

D) A key point is that we are going to be targetting the Flash 9 Player
again.  It has been very succussfull, it has already underdone a
significant .oX release with any fixes, and we believe it is and will
continue to be rock solid when Flex 3 ships.  So we are not introducing
change for your end customers, or a new target platform for you to
consider fixing.

E) We did invest heavily in Flex 2.0.X and in polishing the 2.0
release.  We continue to do this and our team will release hot fixes
on occasion for critical issues.  Just because we are working on 3.0,
doesn't mean we don't also have people supporting and doing fixes when
needed on Flex 2

Hope this helps.  We really hope by being more open about what is coming
earlier we help you, not create all this stress in this thread :) Let me
know if this addresses all your concerns.

-David
Adobe


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






Re: [flexcoders] Re: Does Flex work with Java without FDS?

2007-01-26 Thread dorkie dork from dorktown

Charles,

Thank you for your response. You already know what my next question is? How
did you do this magic? Do you have an example or can you point to one?

On 1/25/07, Charles Havranek [EMAIL PROTECTED] wrote:


Yes it does, you can use plain HTTP/HTTPS GET  POST or Web Services.
(Maybe some others, but that's all I looked at)

I end up using fine grained REST style Web Services which results in
excellent performance and memory usage.

I did find some problem returning multiple serialized unbounded complex
types in Web Services using the Data Binding features of Flex, but got
around them using Action Script.  (And have much more reusable 
maintainable code to boot)













[flexcoders] List of styles for the StyleName properties

2007-01-29 Thread dorkie dork from dorktown

The DateChooser has a property headerStyleName. The datagrid and other
components have the same type of somethingStyleName property. Where do I
find the list of supported properties for the DateChooser headerStyleName
property and in the future the other stylename properties?

http://livedocs.macromedia.com/flex/2/langref/mx/controls/DateChooser.html#styleSummary

Thanks
PS I think the submit comments feature of the LiveDocs is down


[flexcoders] 503 Service Unavailable

2007-01-30 Thread dorkie dork from dorktown

Whenever I try to access the Flex help I get a 503 Service Unavailable. I am
using Eclipse with Flex Builder plugin. This didnt happen with the stand
alone. Is something I am doing or a bug?

503 Service UnavailableFailed to resolve the name of server *127.0.0.1* to
connect


[flexcoders] Embedding all or part of SWF assets

2007-01-31 Thread dorkie dork from dorktown

Lets say I have a swf file that has 10 assets (say skins) in it. If I use
this swf in my flex project but I only use one of those assets does Flex
compile in the other nine?

For example, I saw a theme.swf that contained skinning elements for a theme.
I want to embed one skin from it but I don't want to include the 30 other
skins that are in this theme.swf file thus increasing the size of the main
application.

dorkie slim fast dork from from dorktown


Re: [flexcoders] Re: PNG transparency failing in @Embed?

2007-01-31 Thread dorkie dork from dorktown

Pan,
I see the background in one and no background in the other. I think I am
having the same problem and I have had no idea what is causing it. Take a
look at my post about it. http://www.judahfrangipane.com/blog/?p=71 You can
see it works on a page by itself but embedded into my blog header there is
no transparency. I will have to try to not embed it and see if that makes a
difference.


On 1/31/07, Pan Troglodytes [EMAIL PROTECTED] wrote:


Could you clarify what you  mean by works for me?  Do you mean you are
getting transparency on the PNG?

I uploaded my full code for an example:

http://three.fsphost.com/flex2/png/PNGBug.html

Just right-click to view the source.

They both use the same png file.  The first one renders with an olive
background (the original background color of the image).  The second renders
the transparency properly.

Does this work differently under Flex/Flash Player for you?


On 1/31/07, ben.clinkinbeard [EMAIL PROTECTED]  wrote:

   mx:Image source=@Embed(source='plusSymbol.png')/ orks for me...

 Not sure what else to recommend.

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Pan
 Troglodytes
 [EMAIL PROTECTED] wrote:
 
  Sadly, no. It also doesn't work if you declare a variable like
 
  [Embed(source=/assets/user-big.png)] private var userIcon:Class;
 
 
  FYI, from the docs:
 
  About the source parameter
 
  In almost all cases, you must specify the source parameter or nothing
 is
  embedded.
 
  The source parameter is the default parameter of the [Embed]
 metadata tag;
  therefore, if you are not specifying any other parameters, you can
 just
  supply its value without explicitly including the parameter name or
  assigning it the desired value
 
 
  On 1/31/07, ben.clinkinbeard [EMAIL PROTECTED] wrote:
  
   According to the docs, the correct syntax is:
  
   mx:Image source=@Embed(source='assets/user-big.png')/
  
   Does that work?
  
   HTH,
   Ben
  
   --- In flexcoders@yahoogroups.com 
flexcoders%40yahoogroups.comflexcoders%40yahoogroups.com, Pan

   Troglodytes
   chimpathetic@ wrote:
   
This is still a problem. I couldn't remember if I entered it in
 the
   Adobe
bug page, so I just went ahead and did it. This is a bit of a
 pain as
transparent icons are very important in GUIs. GIF works fine but
 is
   limited
to 256 colors.
   
   
   
On 12/6/06, Pan Troglodytes chimpathetic@ wrote:

 I've run into a situation where the exact same PNG file will
 show
   up as
 transparent only when it's not embedded. Here is the mxml:

 mx:Image source=@Embed('assets/user-big.png')/
 mx:Image source=assets/user- big.png/

 Including both images on the page, the first is missing the
   transparent
 background. The second is fine. I have manually checked the
   images, both
 in the dev directory and bin directory. In fact, I have manually
   copied the
 dev ones over the top of the bin ones to make sure. If I drag
 the
   images to
 Firefox, both appear with no background. The background color is
   teal, so I
 would definitely notice.

 Near as I can tell, the embed is causing the background
   transparency to
 not be processed. I can't find anything in the docs saying this
   is expected
 behavior.

 --
 Jason
   
   
   
   
--
Jason
   
  
  
  
 
 
 
  --
  Jason
 




--
Jason 



Re: [flexcoders] Html in Flex?

2007-01-31 Thread dorkie dork from dorktown

I have been secretly working on an html component for the last 2 months that
is close to release. It has support for iframes but also support for
straight html without iframes. I will be doing a beta in a few weeks and
post a link to examples in the next couple of days. I've tested a bunch of
cool features (beta) but I can only work on about one more before beta. So
check my blog in the next few days http://www.judahfrangipane.com and leave
some good comments.

On 1/10/07, gtuhl [EMAIL PROTECTED] wrote:


We have an existing application that has a feature enabling a user to
set content for and preview html newsletters.  We are in the process
of researching Flex2 and determining whether the client-side of this
application (currently xul/html/js) should be converted.

Is there any way to render html in Flex2?  The htmlText property on
Text won't cut it as it only supports a trivial subset of html.

I essentially need to embed Gecko or another appropriate rendering
engine so that the users can get a rough guess of what their content
looks like.  The same pages allow the user to quickly send test
e-mails to whichever accounts they desire, but the quick-preview
feature provided by the current version of the application is heavily
used and cannot be cut.

Ideally Flex2 has something similar to the browser component in xul.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links






[flexcoders] Usergroup in Minneapolis?

2007-01-31 Thread dorkie dork from dorktown

Are there any usergroups in Minneapolis? There is an Adobe office 2 miles
from where I live so I would imagine there should be something nearby but
the offices are heavily guarded with laser beams and newbie be gone.


Re: [flexcoders] Re: PNG transparency failing in @Embed?

2007-01-31 Thread dorkie dork from dorktown

heres my image:
http://judahfrangipane.com/blog/wp-content/themes/default/bin/images/kubrickheader_mask.png

i'm loading it in externally though. it works at the first url but does not
work in the second url:
http://judahfrangipane.com/blog/wp-content/themes/default/bin/header.html
http://judahfrangipane.com/blog/

code:
mx:String id=mImage
http://judahfrangipane.com/blog/wp-content/themes/default/bin/images/kubrickheader_mask.png
/mx:String

!-- Create the mask. --
mx:Image id=headerImage2 source={mImage}
   width=100% height=100%
   scaleContent=false autoLoad=true x=0 y=0/

and if you need to know this, here are the application creation complete
events:
   !-- Effects --
   !-- These effects run one after another --
   mx:Sequence id=headerEffects
   !-- Add all the elements that need to be hidden when the app starts
--
   !-- Add them manually so that we can set the visibility to false in
the frame before it is shown --
   !-- Still flickers visible for one second ??? --
   mx:AddChildAction target={headerLabel} effectStart=
headerLabel.visible = false/
   mx:AddChildAction target={searchBox} effectStart=
searchBox.visible = false/
   mx:AddChildAction target={headerImage} effectStart=
headerImage.visible = false/

   mx:SetPropertyAction
targets={[headerLabel,searchBox,headerImage]}
   name=visible value=false/

   !-- Pause for 200ms --
   mx:Pause duration=400/

   !-- Move fake mask up to reveal headerImage --
   mx:Move id=moveUp yTo=-400 duration=6500
   target={headerImage2} yFrom=0
   easingFunction=Linear.easeNone /

On 2/1/07, ben.clinkinbeard [EMAIL PROTECTED] wrote:


http://three.fsphost.com/flex2/png/assets/user.png



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

 Open it in Fireworks, he's the master of PNG's.  If yall don't have
 it, fire it my way.

 [EMAIL PROTECTED]

 On Feb 1, 2007, at 12:28 AM, ben.clinkinbeard wrote:

 It seems to me like there is something funky going on with the PNG
 itself. Like I said, Photoshop doesn't even recognize the
 transparency, and that makes me uber-suspicious. Is the mime type or
 something along those lines jacked up?

 Ben

 --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote:
  
   Please file a bug too if you haven't already.
  
  
  
   Matt
  
  
  
   
  
   From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
   Behalf Of Doug McCune
   Sent: Wednesday, January 31, 2007 9:29 PM
   To: flexcoders@yahoogroups.com
   Subject: Re: [flexcoders] Re: PNG transparency failing in @Embed?
  
  
  
   Just to follow up, here's my post that explains the issue and my
   workaround:
   http://dougmccune.com/blog/2007/01/31/problem-with-transparent-
 pngs-in-f
   lex-using-embed/
   http://dougmccune.com/blog/2007/01/31/problem-with-transparent-
 pngs-in-
   flex-using-embed/
  
   Doug
  
   Pan Troglodytes wrote:
  
   Doug,
  
   Very cool that you tracked it down in SWFLoader. Right now I
   can get by with using GIF, but it's great to know if I absolutely
 have
   to have more than 256 colors I can use your code. Hopefully Adobe is
   following this thread. Either that, or they already tracked it
 down and
   have it fixed internally but just never read my posts. ;)
  
  
  
   On 1/31/07, Doug McCune dmccune@
   mailto:dmccune@  wrote:
  
   You're definitely right, that's a clear bug in how SWFLoader
   works. I have a solution that involves duplicating the code for
   SWFLoader and modifying it a little bit. What's interesting is
 that in
   the Design view of FB, the PNG has perfect transparency in both
 cases.
   But in the published SWF, the transparency is not preserved when
 using
   @Embed.
  
   I will be writing up a blog post and my solution later today.
  
   For now, here's a sample of the problem with a working solution.
   I'll be writing up the description of what I had to do (obviously
 it's
   not much since it didn't take very long). So if you want to check out
   the code before I write up the post, the important part has to do
 with
   setting the mimeType of the embedded asset, and then in the modified
   SWFLoader code, check out around line 1217 in the loadContent
 method. It
   uses loadBytes of the Loader class to load the bytes of the embedded
   asset.
  
   http://dougmccune.com/flex/png_test/
   http://dougmccune.com/flex/png_test/
   (right click to View Source)
  
   Doug
  
  
  
  
   Pan Troglodytes wrote:
  
   Could you clarify what you mean by works for me? Do you mean
   you are getting transparency on the PNG?
  
   I uploaded my full code for an example:
  
   http://three.fsphost.com/flex2/png/PNGBug.html
   http://three.fsphost.com/flex2/png/PNGBug.html
  
   Just right-click to view the source.
  
   They both use the same png file. The first one renders with an
   olive background (the original background color of the image). The
   second renders the 

Re: [flexcoders] Re: PNG transparency failing in @Embed?

2007-02-01 Thread dorkie dork from dorktown

heres the psd
http://judahfrangipane.com/blog/wp-content/themes/default/bin/images/kubrickheader_mask.psd

On 2/1/07, dorkie dork from dorktown [EMAIL PROTECTED]
wrote:


heres my image:

http://judahfrangipane.com/blog/wp-content/themes/default/bin/images/kubrickheader_mask.png

i'm loading it in externally though. it works at the first url but does
not work in the second url:
http://judahfrangipane.com/blog/wp-content/themes/default/bin/header.html
http://judahfrangipane.com/blog/

code:
mx:String 
id=mImagehttp://judahfrangipane.com/blog/wp-content/themes/default/bin/images/kubrickheader_mask.png
/mx:String

!-- Create the mask. --
mx:Image id=headerImage2 source={mImage}
width=100% height=100%
scaleContent=false autoLoad=true x=0 y=0/

and if you need to know this, here are the application creation complete
events:
!-- Effects --
!-- These effects run one after another --
mx:Sequence id=headerEffects
!-- Add all the elements that need to be hidden when the app
starts --
!-- Add them manually so that we can set the visibility to false
in the frame before it is shown --
!-- Still flickers visible for one second ??? --
mx:AddChildAction target={headerLabel} effectStart=
headerLabel.visible = false/
mx:AddChildAction target={searchBox} effectStart=
searchBox.visible = false/
mx:AddChildAction target={headerImage} effectStart=
headerImage.visible = false/

mx:SetPropertyAction
targets={[headerLabel,searchBox,headerImage]}
name=visible value=false/

!-- Pause for 200ms --
mx:Pause duration=400/

!-- Move fake mask up to reveal headerImage --
mx:Move id=moveUp yTo=-400 duration=6500
target={headerImage2} yFrom=0
easingFunction=Linear.easeNone /

On 2/1/07, ben.clinkinbeard [EMAIL PROTECTED] wrote:

 http://three.fsphost.com/flex2/png/assets/user.png



 --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:
 
  Open it in Fireworks, he's the master of PNG's.  If yall don't have
  it, fire it my way.
 
  [EMAIL PROTECTED]
 
  On Feb 1, 2007, at 12:28 AM, ben.clinkinbeard wrote:
 
  It seems to me like there is something funky going on with the PNG
  itself. Like I said, Photoshop doesn't even recognize the
  transparency, and that makes me uber-suspicious. Is the mime type or
  something along those lines jacked up?
 
  Ben
 
  --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote:
   
Please file a bug too if you haven't already.
   
   
   
Matt
   
   
   

   
From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED] On
Behalf Of Doug McCune
Sent: Wednesday, January 31, 2007 9:29 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: PNG transparency failing in @Embed?
   
   
   
Just to follow up, here's my post that explains the issue and my
workaround:
http://dougmccune.com/blog/2007/01/31/problem-with-transparent-
  pngs-in-f
lex-using-embed/
http://dougmccune.com/blog/2007/01/31/problem-with-transparent-
  pngs-in-
flex-using-embed/
   
Doug
   
Pan Troglodytes wrote:
   
Doug,
   
Very cool that you tracked it down in SWFLoader. Right now I
can get by with using GIF, but it's great to know if I absolutely
  have
to have more than 256 colors I can use your code. Hopefully Adobe
 is
following this thread. Either that, or they already tracked it
  down and
have it fixed internally but just never read my posts. ;)
   
   
   
On 1/31/07, Doug McCune dmccune@
mailto: dmccune@  wrote:
   
You're definitely right, that's a clear bug in how SWFLoader
works. I have a solution that involves duplicating the code for
SWFLoader and modifying it a little bit. What's interesting is
  that in
the Design view of FB, the PNG has perfect transparency in both
  cases.
But in the published SWF, the transparency is not preserved when
  using
@Embed.
   
I will be writing up a blog post and my solution later today.
   
For now, here's a sample of the problem with a working solution.
I'll be writing up the description of what I had to do (obviously
  it's
not much since it didn't take very long). So if you want to check
 out
the code before I write up the post, the important part has to do
  with
setting the mimeType of the embedded asset, and then in the
 modified
SWFLoader code, check out around line 1217 in the loadContent
  method. It
uses loadBytes of the Loader class to load the bytes of the
 embedded
asset.
   
http://dougmccune.com/flex/png_test/
http://dougmccune.com/flex/png_test/
(right click to View Source)
   
Doug
   
   
   
   
Pan Troglodytes wrote:
   
Could you clarify what you mean by works for me? Do you mean
you are getting transparency on the PNG?
   
I uploaded my full code for an example

Re: [flexcoders] Re:HTML in Flex

2007-02-08 Thread dorkie dork from dorktown

I was going to wait until it i had a few more things done but what the
heck... http://www.judahfrangipane.com/

On 2/8/07, Robi Ray [EMAIL PROTECTED] wrote:


You can use the iframe trick, but rather than iframe try using the 'div' 
'layer' html tags along with JavaScript. This will remove cross browser
issues.

Cheers !



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






Re: [flexcoders] Java developer is glad to participate in open source Flex project.

2007-02-12 Thread dorkie dork from dorktown

Hi Alex,

It sounds like OpenAMF might be a good place to start as well. I would
personally like to see more support (documentation, installation docs) on
this project. Let me know what you decide (contact offlist).

On 2/12/07, Igor Costa [EMAIL PROTECTED] wrote:


Hi Alexander

you could start looking at Code Google
and

www.riaforge.com
www.osflash.org


Best.

On 2/12/07, alex_s9v [EMAIL PROTECTED] wrote:

   Hi all!
 My name is Alexander.

 I have a passion for Flex and I'd like to participate in open source
 flex project.

 I have 2 years experience with server-side java (Struts, JSF and
 Hibernate) and a little experience with Eclipse RCP.

 I am searching for open source flex project where I can avail and can
 improve my Flex skills.




--

Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta 



Re: [flexcoders] Flex 2 and the Browser

2007-02-13 Thread dorkie dork from dorktown

you could try this:
mx:Button x=10 y=200 label=Button click={trace(
ExternalInterface.call('eval','document.location.href'));}/

put in a feature request to get the wrapper url and parameters. Feature
Request http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

On 8/2/06, Rick Root [EMAIL PROTECTED] wrote:


Matt Horn wrote:

   Two questions.
  
   #1 - Can a Flex 2 app know the URL of the browser window it
   is currently loaded into?

 Yes.

 var baseurl:String = Application.application.url;

Matt,

That returns the URL of the swf itself, not the URL of the parent
browser window in which the swf  lives (unless the swf was called
directly, not within an HTML page, I suppose).

Same goes for the Application.application.parameters - it returns the
URL parameters of the SWF itself, not the parent browser window.

No matter though, as I posted earlier in the thread, that's good enough :)

Rick


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links







[flexcoders]Find if item exists before adding it in XMLListCollection

2007-02-14 Thread dorkie dork from dorktown

I'm trying to find if a row with the same name exists in an XML List
Collection. The problem is, the e4x I try is not supported by
XMLListCollection. I keep getting a Error #1123: Filter operator not
supported on type mx.collections.XMLListCollection.

Here is my code:

public function addNewProject(event:FlexEvent):void {
var projectName:String = project.text;
var exists:Boolean = projectsList.(@name == projectName);

if (!exists) {
   var newNode:XML = project name=/;
   [EMAIL PROTECTED] = project.text;
   newNode.created = new Date();
   projectsList.addItemAt(newNode, 0);
}
}


TypeError: Error #1123: Filter operator not supported on type
mx.collections.XMLListCollection.


Re: [flexcoders] Re: flex and IE 7 problems.

2007-02-14 Thread dorkie dork from dorktown

i've run into some problems with ie6, https and frames. i had to come up
with a crazy workaround. here is what you do. come up with a simple test
sandbox so that you can isolate the problem. if it persists then post it to
the list so we can verify.


On 2/14/07, mthielman11 [EMAIL PROTECTED] wrote:


Yes this is a flex 2 app.  Nothing crazy going on at all.  A simple HTTP
post to do a user
login.  It sends 2 fields via xml back to the DB.  Server side its a resin
server sending data to
PostgreSQL.  When we tracked the logs its as REALLY strange.  a user was
loggin in,
username and was ferrall.  For some reason the log kept showing he was
typing farrell.  we
thought it was user error till we tried it and the same thing
happened.  Also was changing
other things we typed in.  SOme usernam e combos would cause the app to
not even send
anything to the server.  Again everything works perfectly fine in every
other browser we have
tried.  Only IE7 is causing the issue.



 I have been using IE 7 for a long time now with many, many flex apps and
 have not seen any issues. This is a flex 2 app right? Is there any other
 code involved on this login page outside of the swf? Perhaps some
 javascript or something else? Most of the changes in IE 7 that would
 break existing code are secure by default related. But it should not
 effect the Flash Player much at all. How are you doing your login? HTTP
 Post? Web service?




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






Re: [flexcoders]Find if item exists before adding it in XMLListCollection

2007-02-15 Thread dorkie dork from dorktown

thanks paul

On 2/14/07, Paul DeCoursey [EMAIL PROTECTED] wrote:


I had a similar situation with ArrayCollection.  what I do it iterate
through the collection and return the item if I find one that matches.

I created an ArrayCollectionIterator Class that helps with this.

public class ArrayCollectionIterator implements IIterator {

private var collection:ArrayCollection;
private var nextIndex:Number = 0;

public function
ArrayCollectionIterator(collection:ArrayCollection) {
this.collection = collection;
}

public function hasNext():Boolean {
return (this.nextIndexthis.collection.length);
}

public function next():Object {
if(!this.hasNext()) {
throw new Error(No more elements
available);
}
var obj:Object = this.collection[this.nextIndex];
nextIndex++;
return obj;
}

public function reset():void {
nextIndex = 0;
}

}


So the idea is I have a function that querys the list and returns the
item if found and null if not.  Then with the calling function I
either add or update based on the response.  Let me know if you need
more specific eexamples.  You should be able to adapt the above Class
to use the XMLListCollection.

pd

--- In flexcoders@yahoogroups.com, dorkie dork from dorktown
[EMAIL PROTECTED] wrote:

 I'm trying to find if a row with the same name exists in an XML List
 Collection. The problem is, the e4x I try is not supported by
 XMLListCollection. I keep getting a Error #1123: Filter operator not
 supported on type mx.collections.XMLListCollection.

 Here is my code:

  public function addNewProject(event:FlexEvent):void {
  var projectName:String = project.text;
  var exists:Boolean = projectsList.(@name == projectName);

  if (!exists) {
 var newNode:XML = project name=/;
 [EMAIL PROTECTED] = project.text;
 newNode.created = new Date();
 projectsList.addItemAt(newNode, 0);
  }
  }


 TypeError: Error #1123: Filter operator not supported on type
 mx.collections.XMLListCollection.





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






Re: [flexcoders] Re: flex and IE 7 problems.

2007-02-16 Thread dorkie dork from dorktown

btw. to clear things up. my issue was with flash player 8 (haven't tried 9
with this same bug), flash and it had to do with IE security. can you try it
outside of your network? or come up with a simple example we can test?

try it without setting the content type (as just a string). also try
escaping the characters before you send them. if you can isolate the source
you have something to work with.

On 2/15/07, dorkie dork from dorktown [EMAIL PROTECTED]
wrote:


i've run into some problems with ie6, https and frames. i had to come up
with a crazy workaround. here is what you do. come up with a simple test
sandbox so that you can isolate the problem. if it persists then post it to
the list so we can verify.


On 2/14/07, mthielman11 [EMAIL PROTECTED] wrote:

 Yes this is a flex 2 app.  Nothing crazy going on at all.  A simple HTTP
 post to do a user
 login.  It sends 2 fields via xml back to the DB.  Server side its a
 resin server sending data to
 PostgreSQL.  When we tracked the logs its as REALLY strange.  a user was
 loggin in,
 username and was ferrall.  For some reason the log kept showing he was
 typing farrell.  we
 thought it was user error till we tried it and the same thing
 happened.  Also was changing
 other things we typed in.  SOme usernam e combos would cause the app to
 not even send
 anything to the server.  Again everything works perfectly fine in every
 other browser we have
 tried.  Only IE7 is causing the issue.



  I have been using IE 7 for a long time now with many, many flex apps
 and
  have not seen any issues. This is a flex 2 app right? Is there any
 other
  code involved on this login page outside of the swf? Perhaps some
  javascript or something else? Most of the changes in IE 7 that would
  break existing code are secure by default related. But it should not
  effect the Flash Player much at all. How are you doing your login?
 HTTP
  Post? Web service?




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







Re: [flexcoders] checkbox with tree component

2007-02-23 Thread dorkie dork from dorktown

Saurav,

In case you want to buy a solution
http://www.teotigraphix.com/flex2/components/controls/checkboxtreefx.


On 2/22/07, sauravsinha79 [EMAIL PROTECTED] wrote:


Hi,

I want to add a check box with each tree node(branch/leaf).

Any help will be really appreciated.I went through some sample but
couldn't understand. I m just a begginer w.r.t flex, but i know AS2
(OOPS).

Any help will be really appreciated

Regards  Thanx
Saurav




--
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 - Join or create groups, clubs, forums  communities. Links







Re: [flexcoders] New Project: FlexCRUD -- Create Update Delete for Flex/amfphp/cairngorm

2007-02-26 Thread dorkie dork from dorktown

it sounds very useful to me. the link doesn't seem to work for me.

On 2/24/07, Mike Crowe [EMAIL PROTECTED] wrote:


Hi folks,

I'm in the process of releasing my system generation utility via
riaforge.  Essentially, I'm using about 15 templates to generate 
100 files.

From a 1' perspective, I have created a generic template based
system that generates:

  * Cairngorm commands:  Get, GetAll, Save, Delete
  * Cairngorm events:  GetSuccess, GetFailure, etc.
  * Cairngorm control file
  * amfphp Remote Delegate
  * amfphp ViewObject for both Actionscript and PHP
  * amfphp Service dispatcher
  * amfphp DTO file to save ViewObject to database
  * Unit test structures for testing both PHP-Database and Flex-
PHP-Database operations for all tables.
  * etc.

I based the database on PHP Doctrine, which handles all my database
interaction in a very clean manner.

Here's the help I need.  To me, I think this will be very helpful to
somebody *starting* a new project.  It will generate all the core
tables, events, commands, and directories for a basic system.
However, I need some review from the Flex community to tell me if
I'm way off base on this.  If it isn't useful, please be honest and
provide that feedback.

Here's the initial wiki documenting the core.  I'll shoot to release
the full code tomorrow:

http://www.your-solutions.us/doku.php/start

TIA
Mike




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






Re: [flexcoders] Re: DB access in Apollo

2007-03-06 Thread dorkie dork from dorktown

familiarity for me, my vote as well. and if i need to ever take my db online
i can point to mysql online db.

On 3/6/07, jason_williams_mm [EMAIL PROTECTED] wrote:


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

 Russell Sprague wrote:
  I vote for MySQL.

 Agreed

 Impudent1
 LeapFrog Productions



Are there specific reasons why you want or need MySQL?




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






Re: [flexcoders] Re: DB access in Apollo

2007-03-07 Thread dorkie dork from dorktown

mysql is familiar and it is on nearly every online hosting company. if you
want to port your app from desktop to online you don't have to rewrite your
sql statements / queries. just point to the online db. so portability. i
dont want to learn another db. i know phpmyadmin and mysql. i dont know if
my hosting company supports sqlite. no mention of it.

can adobe do both? i'd rather have either than neither or none. i know that
is the first thing i'll need when start apollo apps if its not included.
then i have to wait for apollo 2 and apollo 2 penetration rates. take a
little more time, i can wait, and get db access in to it.


On 3/7/07, hank williams [EMAIL PROTECTED] wrote:


On 3/7/07, Paul DeCoursey [EMAIL PROTECTED] wrote:
 I think it really depends on the application.  I don't think there is
 any 1 database that could cover even 10% of the use cases.

really? Not even 10% eh. So in the server market, MySQL, Oracle, MsSQL
dont cover the majority of use cases with huge overlap? I think the
marketshare among those apps is well over 70 or 80% of the market.

In desktop applications, that microsoft library Jet (I think is/was
the name) used to have near 100% of the embedded app market. Of course
I dont know what the state of that market is anymore.


If they do
 bundle a database it would have to be something small and easily
 replaceable, because everyone will want to replace it, no matter what
 it is.

I think the exact opposite of what you say is true. These databases
all do basically the same thing and whatever is bundled is what people
use. For any of these choices the performance will be exellent in the
context of a single user app, and almost *no one* will be motivated to
customize. I can think of very few things that any of the real
contenders couldnt do, that large numbers of people would want to do.
In fact Jason Williams has kinda proved that by asking (twice) what
specific benefits MySQL had and receiving *no* answers.

Regards,
Hank



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






Re: [flexcoders] Re: DB access in Apollo

2007-03-09 Thread dorkie dork from dorktown

It is a must have IMO. I thought it was already going to be built in.

Lets say you have a client that says we don't have database support but you
can use files, XML or shared objects. How would that limit your application?
If you needed a database you would have to go online to get it defeating the
purpose of Apollo's goal of desktop development.

There are already apps in development that would use a database:

- Java Docs Generator (in dev) - documents your code, stores and updates
java docs in db
- Project management software (in dev) - keeps track of tasks, projects
- Photo management software - accesses the filesystem like Adobe Bridge,
search and sort
- Music software (already created by an Adobe engineer) - keep track and
sort mp3's (itunes, windows media player, winamp, etc use their own built in
db)
- DVD collection - keeps track of all your dvds or cds
- CD demos - pass out demos on cd of your application may need db access

Really, think of all the applications on your computer that use a database.
Apollo is a desktop application builder.

Someone may say you say you can use xml but when you add anymore than a few
collections of data, you start to rebuilt a database and try and make xml do
what a database is supposed to. It is a sloppy hack.

Here's another thing. You come out with Apollo and it doesn't have DB
support. You get Apollo adopted after a year at 50% penetration but the big
huge apps in development out there need db support. So these can't come out
yet. They end up waiting until Apollo 2 is here but also has more then 50%
adoption rate. Now its 2 years later. People are frustrated. You could do
that or you could push back your release date a month or two now. I would
rather wait. I don't care which database you choose as long as there is some
kind of database in this release.

my 2 cents,
dorkie rioting in the streets dork from dorktown

On 3/9/07, Eric Guesdon [EMAIL PROTECTED] wrote:


  I mean nothing, i just asked every one if something like SharedObject
(of course more robust and larger) should answer to the database subject.



What do you think about that… from my point of view a system like
sharedobject should be enough

I don't know if you downloaded New York Times application (unfortunately
based on wpf) but they synchronized all their news each time you start the
application.

Of course it represents a large quantity of data but I'm not sure they use
a local database for that



Let me know



Regards



Eric


 --

*De :* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *De
la part de* Merrill, Jason
*Envoy� :* vendredi 9 mars 2007 17:54
*� :* flexcoders@yahoogroups.com
*Objet :* RE: [flexcoders] Re: DB access in Apollo



SharedObject.

You mean those little tiny 128k or whatever Shared Objects like from the
Flash player or do you mean Apollo will have a more robust  larger
Shared Object?

Jason Merrill
Bank of America
Global Technology  Operations
Learning  Leadership Development
eTools  Multimedia Team





Re: [flexcoders] Re: DB access in Apollo

2007-03-10 Thread dorkie dork from dorktown

btw, the way this thing works is by feature request (voting system). at
least at the company i work for. so if you aren't asking for it ask for it
now.
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform



On 3/9/07, dorkie dork from dorktown [EMAIL PROTECTED]
wrote:


It is a must have IMO. I thought it was already going to be built in.

Lets say you have a client that says we don't have database support but
you can use files, XML or shared objects. How would that limit your
application? If you needed a database you would have to go online to get it
defeating the purpose of Apollo's goal of desktop development.

There are already apps in development that would use a database:

- Java Docs Generator (in dev) - documents your code, stores and updates
java docs in db
- Project management software (in dev) - keeps track of tasks, projects
- Photo management software - accesses the filesystem like Adobe Bridge,
search and sort
- Music software (already created by an Adobe engineer) - keep track and
sort mp3's (itunes, windows media player, winamp, etc use their own built in
db)
- DVD collection - keeps track of all your dvds or cds
- CD demos - pass out demos on cd of your application may need db access

Really, think of all the applications on your computer that use a
database. Apollo is a desktop application builder.

Someone may say you say you can use xml but when you add anymore than a
few collections of data, you start to rebuilt a database and try and make
xml do what a database is supposed to. It is a sloppy hack.

Here's another thing. You come out with Apollo and it doesn't have DB
support. You get Apollo adopted after a year at 50% penetration but the big
huge apps in development out there need db support. So these can't come out
yet. They end up waiting until Apollo 2 is here but also has more then 50%
adoption rate. Now its 2 years later. People are frustrated. You could do
that or you could push back your release date a month or two now. I would
rather wait. I don't care which database you choose as long as there is some
kind of database in this release.

my 2 cents,
dorkie rioting in the streets dork from dorktown

On 3/9/07, Eric Guesdon [EMAIL PROTECTED]  wrote:

   I mean nothing, i just asked every one if something like SharedObject
 (of course more robust and larger) should answer to the database subject.



 What do you think about that… from my point of view a system like
 sharedobject should be enough

 I don't know if you downloaded New York Times application (unfortunately
 based on wpf) but they synchronized all their news each time you start the
 application.

 Of course it represents a large quantity of data but I'm not sure they
 use a local database for that



 Let me know



 Regards



 Eric


  --

 *De :* flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED] *De
 la part de* Merrill, Jason
 *Envoy� :* vendredi 9 mars 2007 17:54
 *� :* flexcoders@yahoogroups.com
 *Objet :* RE: [flexcoders] Re: DB access in Apollo



 SharedObject.

 You mean those little tiny 128k or whatever Shared Objects like from the
 Flash player or do you mean Apollo will have a more robust  larger
 Shared Object?

 Jason Merrill
 Bank of America
 Global Technology  Operations
 Learning  Leadership Development
 eTools  Multimedia Team

 






Re: [flexcoders] Re: DB access in Apollo

2007-03-10 Thread dorkie dork from dorktown

i agree. it should be built in. at some point the Apollo team realized they
needed to include built in support for HTML container and support css, etc.
and not rely on outside technology being there. thats its strong point in
that if it is built in we don't have to worry about installing something
else for the client.

On 3/10/07, Merrill, Jason [EMAIL PROTECTED] wrote:


 I don't it should be that difficult to built database connectivity like
zinc uses.
That way it can communicate with stand alone dbs like ms access, etc...

But then you have to deal with setting up  installing that database on
the user end.  If it was built in to Apollo, it would be much easier.


Jason Merrill
Bank of America
Global Technology  Operations
Learning  Leadership Development
eTools  Multimedia Team


 



Re: [flexcoders] HTML in Flex

2007-03-16 Thread dorkie dork from dorktown

this dork has a pretty cool html component. i think he said it was coming
out weekend. there's some demos on this page (check out the fit to height
feature)
http://www.judahfrangipane.com/blog/?p=79


On 3/16/07, Jatin Nanda [EMAIL PROTECTED] wrote:


There are a couple of guys who've already blogged this: -

1) Christophe Coenraets did a *Flex* and *IFrame for Flex 1.5
*2) http://www.deitte.com/archives/2006/05/update_to_embed.htm#more
3) http://renaun.com/blog/2006/11/16/157/

I'm sure there are more, but I reference these ones!

On 3/16/07, Kumar [EMAIL PROTECTED] wrote:

I have used the same functionality implementing an IFRAME in my
 application to open the webpage.

 It is the simplest and quick solution..



 Thanks,

 Kumar
   --

 *From:* flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED]
 *On Behalf Of *Tracy Spratt
 *Sent:* Friday, March 16, 2007 4:50 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* RE: [flexcoders] HTML in Flex



 Short answer, no.



 Longer answer: In order to be able to renderer all html, the Flash
 Player would have to contain an entire parsing engine, and that would make
 its download footprint too large.



 A workable solution is to use an IFRAME in the host browser that is
 positioned and sized to appear as if it was a part of the Flex application.
 Search / google tht and you will find the examples.



 Tracy


  --

 *From:* [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com]
 *On Behalf Of *Persaud, Anthony
 *Sent:* Thursday, March 15, 2007 12:12 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] HTML in Flex



 A newbie here. Is there a way to load an external HTML page or website
 (ex. www.google.com) inside a flex application? I see it in all the
 Apollo presentations, but haven't seen any FLEX component that can render an
 HTML (and let the user interact with it as if it was a browser). Any
 suggestions would be useful.



 Thanks,



 Anthony


  --

 *From:* [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED]
 *On Behalf Of *Doug Lowder
 *Sent:* Thursday, March 15, 2007 10:01 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Re: SelectedIndex bug after removing an element
 !!



 Try:

 grid.selectedIndex = x - 1;

 The selectedIndex property is zero-based, so in general you need to
 set it to (N - 1) to select the Nth line.

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 bobrene07 [EMAIL PROTECTED] wrote:
 
  hello,
 
 
  I have a problem with the selecting index after i removed an
 element.
 
  when i do the following:
 
  var x:int = grid.selectedIndex;
 
  if (x != -1) {
  grid.dataProvider.removeItemAt(x);
  grid.selectedIndex = x;
  }
 
  if x equal 4 it select the fift line.
 
  does anyone knows how to fix it ??
 
  thx
 
  Bob
 






[flexcoders]Apollo Training Videos by Mike Chambers free at Lynda.com

2007-03-19 Thread dorkie dork from dorktown

Apollo Training videos by Mike Chambers are free on Lynda.comhttp://lynda.com/

http://movielibrary.lynda.com/html/modPage.asp?ID=378

Join Mike Chambers, Adobe's Senior Product Manager for Developer Relations,
as he gives an exclusive, hands-on glimpse of the alpha version Apollo: a
powerful new development tool from Adobe. Web developers fluent in Flash,
Flex, HTML, JavaScript, and Ajax have been promised a smooth transitional
tool for building cross-platform desktop and hybrid web/desktop
applications, and Mike shows just how Apollo fulfills this promise.

In honor of the free posting of alpha software by Adobe on Adobe
Labshttp://labs.adobe.com/,
lynda.com is making this online training totally free to the community. Stay
tuned for a full-fledged training course once Apollo is finalized and for
sale.


Re: [flexcoders] Apollo Now Live on Labs | http://labs.adobe.com/technologies/apollo/

2007-03-19 Thread dorkie dork from dorktown

Apollo Training videos by Mike Chambers are available free on
Lynda.comhttp://lynda.com/

http://movielibrary.lynda.com/html/modPage.asp?ID=378

Join Mike Chambers, Adobe's Senior Product Manager for Developer Relations,
as he gives an exclusive, hands-on glimpse of the alpha version Apollo: a
powerful new development tool from Adobe. Web developers fluent in Flash,
Flex, HTML, JavaScript, and Ajax have been promised a smooth transitional
tool for building cross-platform desktop and hybrid web/desktop
applications, and Mike shows just how Apollo fulfills this promise.

In honor of the free posting of alpha software by Adobe on Adobe
Labshttp://labs.adobe.com/,
lynda.com is making this online training totally free to the community. Stay
tuned for a full-fledged training course once Apollo is finalized and for
sale.


On 3/19/07, Angus Johnson [EMAIL PROTECTED] wrote:


no wavering on my part! ...though you might need to supply some Berocca at
your BOF Andrew ;)

On 19/03/07, Andrew Muller  [EMAIL PROTECTED] wrote:

   And don't forget that both Mike Downey and Mike Chambers are
 presenting an Apollo opening keynote at webDU here in Sydney on
 Thursday so if you're in Australia and wavering perhaps now is the
 time to book those tickets...

 On 18 Mar 2007 22:32:26 -0700, Matt Chotin [EMAIL 
PROTECTED]mchotin%40adobe.com
 wrote:
 
 
 
 
 
 
 
  give it a few hours before you start commenting on broken links,
 they're
  still working out some kinks :-) but have fun!
 
  
  From: flexcoders@yahoogroups.com 
flexcoders%40yahoogroups.com[mailto:flexcoders@yahoogroups.comflexcoders%40yahoogroups.com]
 On
  Behalf Of Bjorn Schultheiss
  Sent: Sunday, March 18, 2007 10:31 PM
  To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  Subject: Re: [flexcoders] Apollo Now Live on Labs |
  http://labs.adobe.com/technologies/apollo/
 
 
 
 
 
  oh yeah boy!
 
 
 
 
 
  On 19/03/2007, at 3:54 PM, greg h wrote:
 
 
 
 
 
 
 
  http://labs.adobe.com/technologies/apollo/
 
 
 
 
 
 
 
 
 

 --
 --
 Andrew Muller
 http://www.webqem.com






Re: [flexcoders] Group

2007-03-26 Thread dorkie dork from dorktown

nobody in here but us chickens

On 3/26/07, Luís Gustavo Sanabio [EMAIL PROTECTED] wrote:


  Is anybody here?
 



[flexcoders]Databinding two way

2007-03-27 Thread dorkie dork from dorktown

I have a textarea that is bound to a datagrid. It is actually bound to the
selectedItem. Whenever a user clicks a row in the datagrid the text from
selectedItem.description is displayed in the textarea. What I can't figure
out is how to bind the text in the textarea back to that property.

Usage Scenario,
The user clicks a row in the datagrid and the textarea is populated with the
datagrid.selectedItem.description value. The user then types into the
textarea and adds text to it. This value is populated back to the
datagrid.selectedItem.description property.


Re: [flexcoders]Databinding two way

2007-03-27 Thread dorkie dork from dorktown

seemed to easy to be true but this works.

   mx:Binding source=text3.text destination=text4.text/
   mx:Binding source=text4.text destination=text3.text/

On 3/27/07, dorkie dork from dorktown [EMAIL PROTECTED]
wrote:


I have a textarea that is bound to a datagrid. It is actually bound to the
selectedItem. Whenever a user clicks a row in the datagrid the text from
selectedItem.description is displayed in the textarea. What I can't figure
out is how to bind the text in the textarea back to that property.

Usage Scenario,
The user clicks a row in the datagrid and the textarea is populated with
the datagrid.selectedItem.description value. The user then types into the
textarea and adds text to it. This value is populated back to the
datagrid.selectedItem.description property.





[flexcoders]Flex got the shaft in CS3

2007-03-29 Thread dorkie dork from dorktown

After watching the Adobe CS3
Launchhttp://www.adobe.com/products/creativesuite/launchevent/webcast/event
I can't help but feel Flex got the shaft. Why was Flex not mentioned?
Why is it not mentioned in any of the Adobe CS3 suite? If you notice it is
not mentioned as being apart of any of the cs3 suites (in the menu above the
video).


Re: [flexcoders] What's your average amount of memory usage in Eclipse?

2007-03-29 Thread dorkie dork from dorktown

can you guys post your eclipse ini or just the line of code that you
changed? i have a couple of different memory values i'm not sure which to
change.

On 29 Mar 2007 09:40:46 -0700, slangeberg [EMAIL PROTECTED] wrote:


  Yeah, mine is regularly that high (~300MB) or even more. I set my limit
to the exact same (768MB), and it's been running much better! So, no
crashes, here. You may want to look at all your installed plug-ins. They
don't always play nice. I had most problems with a PHP plug-in, but it may
have just been a combination of them!

-Scott

On 29 Mar 2007 08:08:26 -0700, Brian Holmes [EMAIL PROTECTED]
wrote:

I'm using the FB plugin and have had crashes occurring in Eclipse
 regularly over  the last few days,

 With weird erros about not being able to open workspaces and what nots.



 I upped my memory to 768m in eclipse.ini and was wondering what other
 people's javaw.exe is running at in memory usage?

 Mine's been hovering around 300mb and it just seems wrong.





 b.

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




--

: : ) Scott
 



Re: [flexcoders] What's your average amount of memory usage in Eclipse?

2007-03-29 Thread dorkie dork from dorktown

forgot to mention, this file is FlexBuilder.ini in the C:\Program
Files\Adobe\Flex Builder 2 directory. not sure what that minheap deal is or
does.

On 3/29/07, dorkie dork from dorktown [EMAIL PROTECTED]
wrote:


thats odd. i must have changed it at some point in the past.
-vmargs
-Xms256M
-Xmx768M
-XX:MinHeapFreeRatio=20

@*Dimitrios - i agree. i had to do this when i was working with java
environment and flex builder plugin. took down the number of crashes
completely. *

On 29 Mar 2007 11:38:25 -0700, slangeberg [EMAIL PROTECTED] wrote:

   -vmargs
 -Xms256m
 -Xmx768m



 On 3/29/07, dorkie dork from dorktown  [EMAIL PROTECTED]
  wrote:
 
can you guys post your eclipse ini or just the line of code that you
  changed? i have a couple of different memory values i'm not sure which to
  change.
 
  On 29 Mar 2007 09:40:46 -0700, slangeberg [EMAIL PROTECTED]
  wrote:
  
 Yeah, mine is regularly that high (~300MB) or even more. I set my
   limit to the exact same (768MB), and it's been running much better! So, no
   crashes, here. You may want to look at all your installed plug-ins. They
   don't always play nice. I had most problems with a PHP plug-in, but it may
   have just been a combination of them!
  
   -Scott
  
   On 29 Mar 2007 08:08:26 -0700, Brian Holmes [EMAIL PROTECTED]
   wrote:
   
   I'm using the FB plugin and have had crashes occurring in
Eclipse regularly over  the last few days,
   
With weird erros about not being able to open workspaces and what
nots.
   
   
   
I upped my memory to 768m in eclipse.ini and was wondering what
other people's javaw.exe is running at in memory usage?
   
Mine's been hovering around 300mb and it just seems wrong.
   
   
   
   
   
b.
   
--
***
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.
***
   
   
  
  
   --
  
   : : ) Scott
  
 
 


 --

 : : ) Scott

  






Re: [flexcoders] What's your average amount of memory usage in Eclipse?

2007-03-29 Thread dorkie dork from dorktown

thats odd. i must have changed it at some point in the past.
-vmargs
-Xms256M
-Xmx768M
-XX:MinHeapFreeRatio=20

@*Dimitrios - i agree. i had to do this when i was working with java
environment and flex builder plugin. took down the number of crashes
completely. *

On 29 Mar 2007 11:38:25 -0700, slangeberg [EMAIL PROTECTED] wrote:


  -vmargs
-Xms256m
-Xmx768m



On 3/29/07, dorkie dork from dorktown [EMAIL PROTECTED] 
wrote:

   can you guys post your eclipse ini or just the line of code that you
 changed? i have a couple of different memory values i'm not sure which to
 change.

 On 29 Mar 2007 09:40:46 -0700, slangeberg [EMAIL PROTECTED] wrote:
 
Yeah, mine is regularly that high (~300MB) or even more. I set my
  limit to the exact same (768MB), and it's been running much better! So, no
  crashes, here. You may want to look at all your installed plug-ins. They
  don't always play nice. I had most problems with a PHP plug-in, but it may
  have just been a combination of them!
 
  -Scott
 
  On 29 Mar 2007 08:08:26 -0700, Brian Holmes [EMAIL PROTECTED]
  wrote:
  
  I'm using the FB plugin and have had crashes occurring in Eclipse
   regularly over  the last few days,
  
   With weird erros about not being able to open workspaces and what
   nots.
  
  
  
   I upped my memory to 768m in eclipse.ini and was wondering what
   other people's javaw.exe is running at in memory usage?
  
   Mine's been hovering around 300mb and it just seems wrong.
  
  
  
  
  
   b.
  
   --
   ***
   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.
   ***
  
  
 
 
  --
 
  : : ) Scott
 




--

: : ) Scott

 



Re: [flexcoders] What's your average amount of memory usage in Eclipse?

2007-03-29 Thread dorkie dork from dorktown

sorry, i forgot to clarify. yes. if you are using eclipse with flex builder
plugin then change the eclipse.ini in the eclipse install directory. if you
are using flex builder then you would change the FlexBuilder.ini file in the
Flex Builder install directory.


On 29 Mar 2007 11:47:55 -0700, slangeberg [EMAIL PROTECTED] wrote:


  I posted eclipse.ini from the eclipse folder. Not sure if/how you can
change these for a FlexBuilder (not plug-in) install.

-Scott


On 29 Mar 2007 11:43:46 -0700, dorkie dork from dorktown 
[EMAIL PROTECTED] wrote:

   forgot to mention, this file is FlexBuilder.ini in the C:\Program
 Files\Adobe\Flex Builder 2 directory. not sure what that minheap deal is or
 does.

 On 3/29/07, dorkie dork from dorktown [EMAIL PROTECTED]
 wrote:
 
  thats odd. i must have changed it at some point in the past.
  -vmargs
  -Xms256M
  -Xmx768M
  -XX:MinHeapFreeRatio=20
 
  @*Dimitrios - i agree. i had to do this when i was working with java
  environment and flex builder plugin. took down the number of crashes
  completely. *
 
  On 29 Mar 2007 11:38:25 -0700, slangeberg  [EMAIL PROTECTED]
  wrote:
  
 -vmargs
   -Xms256m
   -Xmx768m
  
  
  
   On 3/29/07, dorkie dork from dorktown [EMAIL PROTECTED] 
   wrote:
   
  can you guys post your eclipse ini or just the line of code that
you changed? i have a couple of different memory values i'm not sure 
which
to change.
   
On 29 Mar 2007 09:40:46 -0700, slangeberg [EMAIL PROTECTED]
wrote:

   Yeah, mine is regularly that high (~300MB) or even more. I set
 my limit to the exact same (768MB), and it's been running much 
better! So,
 no crashes, here. You may want to look at all your installed 
plug-ins. They
 don't always play nice. I had most problems with a PHP plug-in, but 
it may
 have just been a combination of them!

 -Scott

 On 29 Mar 2007 08:08:26 -0700, Brian Holmes [EMAIL PROTECTED]
 wrote:
 
 I'm using the FB plugin and have had crashes occurring in
  Eclipse regularly over  the last few days,
 
  With weird erros about not being able to open workspaces and
  what nots.
 
 
 
  I upped my memory to 768m in eclipse.ini and was wondering
  what other people's javaw.exe is running at in memory usage?
 
  Mine's been hovering around 300mb and it just seems wrong.
 
 
 
 
 
  b.
 
  --
  ***
  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.
  ***
 
 


 --

 : : ) Scott

   
   
  
  
   --
  
   : : ) Scott
  
  
 



--

: : ) Scott

 



[flexcoders]PHP and Flex questions

2007-04-03 Thread dorkie dork from dorktown

Can someone tell me if these statements are true or false and if false what
is the correct answer?

- When a Flex application in a browser communicates with a php page for the
first time a session is created. This is the same behavior as user receiving
a PHP page in their browser.

- This session that is created last indefinitely with Flex applications
because Flex keeps the connection open / session alive on the server.

- Flex keeps the connection alive by periodically pinging the server.

- Sessions will never timeout due to this behavior.

- When the user navigates away from the Flex application the session will
timeout on the server.

- To manually timeout a session on the server call a page or function that
executes this code  session.destroy(); -- not sure what the recommended
method to clear the session on the server.


Any answers will help even partial.


Re: [flexcoders]PHP and Flex questions

2007-04-04 Thread dorkie dork from dorktown

thank you

On 04 Apr 2007 01:27:44 -0700, dordea cosmin [EMAIL PROTECTED] wrote:



When a Flex application in a browser communicates with a php page for the
first time a session is created. This is the same behavior as user receiving
a PHP page in their browser.
 - true , but the session is created only if the php installed in your
server is configured to auto start a session or you manually start the
session in your scrip.

- This session that is created last indefinitely with Flex applications
because Flex keeps the connection open / session alive on the server.

I am not  sure if  this is 100% true , but i believe by default , the http
headers send Connection: Keep-Alive, so sessions remain alive. In my
application it works okay, session doesn't expire while flex application
runs. However, I believe if you send custom HTTP headers this behavior can
be lost.


- Flex keeps the connection alive by periodically pinging the server.
same as above


- Sessions will never timeout due to this behavior.
same as above


- When the user navigates away from the Flex application the session will
timeout on the server.

 true , it will timeout in the time specified in your php.ini


To manually timeout a session on the server call a page or function that
executes this code  session.destroy( ); -- not sure what the
recommended method to clear the session on the server.


- true , depending on your php session you will call the correct function
to destroy the session

Hope this helps.

- Original Message 
From: dorkie dork from dorktown [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, April 3, 2007 8:37:15 PM
Subject: [flexcoders]PHP and Flex questions

 Can someone tell me if these statements are true or false and if false
what is the correct answer?

- When a Flex application in a browser communicates with a php page for
the first time a session is created. This is the same behavior as user
receiving a PHP page in their browser.


- This session that is created last indefinitely with Flex applications
because Flex keeps the connection open / session alive on the server.

- Flex keeps the connection alive by periodically pinging the server.

- Sessions will never timeout due to this behavior.

- When the user navigates away from the Flex application the session will
timeout on the server.

- To manually timeout a session on the server call a page or function that
executes this code  session.destroy( ); -- not sure what the
recommended method to clear the session on the server.


Any answers will help even partial.


--
8:00? 8:25? 8:40? Find a flick in no time
with theYahoo! Search movie showtime shortcut.

 



Re: [flexcoders]PHP and Flex questions

2007-04-06 Thread dorkie dork from dorktown

Could you give an example of how you do this? If this is secure it sounds
much easier to handle.

On 04 Apr 2007 10:12:22 -0700, Ray Horn [EMAIL PROTECTED] wrote:


  Rather than worry about the server session why not simply maintain the
session state in the client since it is assume your client is running a SWF
ala Flex.  The fact that the client has accomplished a login could be
handled by sending a specific token to the server as long as the token is
some kind of UUID value that is known to be random yet non-sequential.

I have coded this into a Flex Object that subclasses the HTTPService and
once setup needs no further maintenance.  In my specific case my app is
always logged-in since it runs via an Intranet however my initial
HTTPService call gets the user's metadata from the server and then I pass
the user's ID back to the server on each HTTPService call but this is done
transparently.

Just a suggestion.  I realize this may not be in keeping with the way most
people might apprach this sort of problem.

- Original Message 
From: dordea cosmin [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, April 4, 2007 1:27:44 AM
Subject: Re: [flexcoders]PHP and Flex questions


When a Flex application in a browser communicates with a php page for the
first time a session is created. This is the same behavior as user receiving
a PHP page in their browser.
 - true , but the session is created only if the php installed in your
server is configured to auto start a session or you manually start the
session in your scrip.

- This session that is created last indefinitely with Flex applications
because Flex keeps the connection open / session alive on the server.

I am not  sure if  this is 100% true , but i believe by default , the http
headers send Connection: Keep-Alive, so sessions remain alive. In my
application it works okay, session doesn't expire while flex application
runs. However, I believe if you send custom HTTP headers this behavior can
be lost.


- Flex keeps the connection alive by periodically pinging the server.
same as above


- Sessions will never timeout due to this behavior.
same as above


- When the user navigates away from the Flex application the session will
timeout on the server.

 true , it will timeout in the time specified in your php.ini


To manually timeout a session on the server call a page or function that
executes this code  session.destroy( ); -- not sure what the
recommended method to clear the session on the server.


- true , depending on your php session you will call the correct function
to destroy the session

Hope this helps.

- Original Message 
From: dorkie dork from dorktown dorkiedorkfromdorkt [EMAIL PROTECTED] com
To: [EMAIL PROTECTED] ups.com
Sent: Tuesday, April 3, 2007 8:37:15 PM
Subject: [flexcoders] PHP and Flex questions

 Can someone tell me if these statements are true or false and if false
what is the correct answer?

- When a Flex application in a browser communicates with a php page for
the first time a session is created. This is the same behavior as user
receiving a PHP page in their browser.


- This session that is created last indefinitely with Flex applications
because Flex keeps the connection open / session alive on the server.

- Flex keeps the connection alive by periodically pinging the server.

- Sessions will never timeout due to this behavior.

- When the user navigates away from the Flex application the session will
timeout on the server.

- To manually timeout a session on the server call a page or function that
executes this code  session.destroy( ); -- not sure what the
recommended method to clear the session on the server.


Any answers will help even partial.


--
8:00? 8:25? 8:40? Find a 
flickhttp://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail#newsin no time
with theYahoo! Search movie showtime 
shortcut.http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail#news


 



[flexcoders]How to parse bad XML into valid XML

2007-04-06 Thread dorkie dork from dorktown

I am trying to get results from google and use e4x to show the results in a
list component. The problem is that the XML parser is giving me a 1090: XML
parser failure: element is malformed.

Is there a class or property that will unmalform the xml so I can use it as
an xml object?


Re: [flexcoders] Sending multiple HTTPService requests - how to really cancel all but the last

2007-04-08 Thread dorkie dork from dorktown

arent httpservice requests asyncronous? i thought you could have a bunch
running at the same time and receive a response from each as you got them.
are they returning in linear order? in an application i'm working on i make
three different service request calls. i'll see if i can find out how to
cancel them.

On 07 Apr 2007 23:48:50 -0700, Ray Horn [EMAIL PROTECTED] wrote:


  I too ran into this sort of problem however I chose to build a REST
Serialization mechanism that guarantees I can queue-up requests as deep as I
need and then execute them serially since that is the way my REST backend
needs the requests in order to maintain database state.

- Original Message 
From: coderdude2 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, April 7, 2007 5:05:02 PM
Subject: [flexcoders] Sending multiple HTTPService requests - how to
really cancel all but the last

 I'm using several HTTPService calls to plain old REST API's on the
backend.

If the end user clicks some of the UI controls multiple times quickly,
many calls to these services get queued up, and it can take a long
time for all the data to be retrieved.

For ex. clicking on a list box item sends requests to refresh all the
data, and if the user were to use the keyboard to quickly scroll
through the listbox, many many calls would get queued up.

I've tried setting the concurrency= last on the httpservices, but it
appears the only effect of that is to make the UI change only when the
last dataset is received, but still all the service calls continue to
be queued and there is a long delay after making many calls.

I've also tried httpservice .disconnect( ) and .cancel() before making
any new backend call but it didn't appear to have any effect as far as
preventing many calls from getting queued up.

Thanks in advance for any ideas. I know I could also look into
retrieving all the data only once and doing local Flex filtering on it
rather than getting the data fresh from the backend each time, but for
now it's just easier to make the backend calls and use the DB to do
the proper filtering and querying.


 



Re: [flexcoders] Sending multiple HTTPService requests - how to really cancel all but the last

2007-04-09 Thread dorkie dork from dorktown

So what you are saying is if I have 3 httpservice requests send at the same
time 2 go out and 1 is queued up. When a result or fault event occurs on one
of them then the 3rd service request is sent correct?

How do I know if I am using a persistent connection? I was asking this
question earlier, does a Flex application keep the connection alive so that
sessions will never timeout as long as the application is running in the
browser? Even if the user has is not sending any requests to the server but
the first? Sorry don't mean to hijack this thread.



On 09 Apr 2007 05:20:37 -0700, Peter Farland [EMAIL PROTECTED] wrote:


   The maximum number of concurrent HTTP connections allowed to a web
server is controlled by the browser. The HTTP 1.1 specification suggests a
limit of 2 connections per host, but this requires further consideration if
persistent connections are to be used. Some browsers can be configured to
accept more, but your users will more than likely have the default settings.
IE honors the 2 connections per host suggestion (but to change this you have
to edit the registry, see MaxConnectionsPerServer). Firefox sets this value
to 8 but does still limit persistent connections to 2 (you can change these
settings via about:config).

If you were dealing with a closed network or intranet application, you may
be able to change your company's IT policy and roll out different default
settings, but for public applications I doubt this will be possible. There
are lots of other tricks that you can use to optimize HTTP requests (e.g.
idempotent GET requests you benefit from pipelining etc)... but my point is
that there's a bit more to consider than a bunch of simultaneous requests.

 



Re: [flexcoders] Re: Help !!! How to decode URL encoding

2007-04-10 Thread dorkie dork from dorktown

i didnt see it but is there a function that decodes that url encoded string
into an object with name value pairs?

for example,
http://www.mysite.com/mypage.php?name=dorkiedorktown=dorktown

into:
trace(myRequest.name) // dorkiedork
trace(myRequest.town) //dorktown



On 10 Apr 2007 13:23:41 -0700, Doug Lowder [EMAIL PROTECTED] wrote:


  There's a top-level decodeURI() function:

http://livedocs.adobe.com/flex/201/langref/package.html#decodeURI()

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
mgrayfmr [EMAIL PROTECTED] wrote:

 Hi Guys:

 I am trying to parse a string that is URL encoded, and I want to
 remove, or decode it.
 I was surprised that there wasn't something available in a utility
 class already in AS3.
 Anyone ever run into this ?

 I saw a post that had a link to some code that sounds like it would
 solve my problem:
 http://tech.groups.yahoo.com/group/flexcoders/message/55312
 But the post is missing any code snippets.

 If anyone has any ideas, please let me know !!!
 Thanks,
 Mike


 



Re: [flexcoders] Help !!! How to decode URL encoding

2007-04-10 Thread dorkie dork from dorktown

cheers! :)

On 10 Apr 2007 13:41:33 -0700, Mike Kelp [EMAIL PROTECTED] wrote:


   The URLVariables class is great for this:
http://livedocs.adobe.com/flex/2/langref/flash/net/URLVariables.html

If I remember correctly, it can be as simple as this:

var test:URLVariables = new URLVariables();
test.decode(cheese=gouldacrackers=saltine);

Alert.show(Cheese:  + test.cheese +  Crackers:  + test.crackers);

Mike.

mgrayfmr wrote:

 Hi Guys:

I am trying to parse a string that is URL encoded, and I want to
remove, or decode it.
I was surprised that there wasn't something available in a utility
class already in AS3.
Anyone ever run into this ?

I saw a post that had a link to some code that sounds like it would
solve my problem:
http://tech.groups.yahoo.com/group/flexcoders/message/55312
But the post is missing any code snippets.

If anyone has any ideas, please let me know !!!
Thanks,
Mike

   



[flexcoders] Does AS3 support Strong Typing, Class casting or intrinsics

2007-04-10 Thread dorkie dork from dorktown

I'm not sure if I'm using the right term (please correct me) but does AS3
support strong typing? In Java it is:

strong type would be telling that ArrayCollection the  type of object you
are going to store in it. Like

CollectionUserObject list = new VectorUserObject(10);

-  In this statement I am telling java that the Collection will hold a
UserObject Class.


[flexcoders]Where is the right property?

2007-04-11 Thread dorkie dork from dorktown

I am trying to constrain my component 10 pixels from the right edge in
ActionScript and mxml editor is telling me there is no right property.

This code throws the following error:

myLabel.right = 10;
myImage.right = 10;

1119: Access of possibly undefined property right through a reference with
static type mx.controls:Image.
1119: Access of possibly undefined property right through a reference with
static type mx.controls:Label.

i am clueless why there is no right property in AS3 when there is clearly a
right property in MXML.


Re: [flexcoders]Where is the right property?

2007-04-11 Thread dorkie dork from dorktown

ahhh... thank you!

On 11 Apr 2007 18:09:41 -0700, Gordon Smith [EMAIL PROTECTED] wrote:


   That's correct.

- Gordon

 --
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Bjorn Schultheiss
*Sent:* Wednesday, April 11, 2007 4:28 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders]Where is the right property?

 I think its a style. You might need myLabel.setStyle( 'right', 10 );


Bjorn


 On 12/04/2007, at 9:22 AM, dorkie dork from dorktown wrote:

  I am trying to constrain my component 10 pixels from the right edge in
ActionScript and mxml editor is telling me there! is no right property.

This code throws the following error:

myLabel.right = 10;
myImage.right = 10;

1119: Access of possibly undefined property right through a reference with
static type mx.co! ntrols:Image.
1119: Access of possibly undefined property right through a reference with
static type mx.controls:Label.

i am clueless why there is no right property in AS3 when there is clearly
a right property in MXML.





 


[flexcoders]Is there an event that the application dispatches when a flash swf has not been interacted with for a certain amount of time?

2007-04-11 Thread dorkie dork from dorktown

Is there an event that the application dispatches when a flash swf has not
been interacted with for a certain amount of time?

For example, I have a site that a user has to log into. After they login if
they have not interacted at all with the application is there a event that
is dispatched that I can listen for so I can log the user out?

If not can I suggest something like this:

Application inactivityTimeout=10 

Application.addEventListener(Application.INACTIVITY, myLogOutFunction);

public function myLogoutFunction(event:Event):void {
   // logoutService.send();
   // applicationState.selectedChild = loginState;
   // loginMessage.text = You haven't done anything for 10 minutes. Get
back to work.;
}


Re: [flexcoders] Re: Tree component that doesn't display all nodes?

2007-04-12 Thread dorkie dork from dorktown

if you use e4x format and regexp with your xml object then you can filter to
show whatever data you want. i am not familiar with them enough to give you
an example. note, you can also use regexp with xml.



On 12 Apr 2007 15:30:51 -0700, hosey hosey [EMAIL PROTECTED] wrote:


  The main issue being I want live data changes; such that if the xml
changes a label the tree changes its label (this works on default tree
component).  There will be 400 nodes with 40 unwanted to be displayed nodes.

On 4/12/07, hosey hosey [EMAIL PROTECTED] wrote:

 The datasource is
 cb title=hello
noshow title=dontshowanything/
cb title=there/
 /cb

 I would like the tree to display

 -hello
   -there

 not

 -hello
-
-there

 Any ideas?

 Thanks
 Hosey


 



Re: [flexcoders] Re: Tree component that doesn't display all nodes?

2007-04-12 Thread dorkie dork from dorktown

i see. what i would do is use a lazy loading mechanism. so you only display
the top level branches. when the user opens a branch then you lazy load the
child nodes. when the user opens the branch then you can get the node they
opened and filter the node they opened of all the noshow nodes.

// in the open node event

var filteredNode:XML = myTree.selectedNode.myFilter;
myTree.selectedNode = filteredNode;

actually, i think there is a way to apply a filter on xmllist collection non
destructively. i think maybe you could put your selected node into an xml
list collection and then filter it. if this was AS2 i'd be able to help you
more.

On 12 Apr 2007 18:40:43 -0700, hosey hosey [EMAIL PROTECTED] wrote:


  Thanks, I dont believe that can work.

If the data is
xml
   cb title=hello
  noshow notitle=dontshowanything/
  cb title=there/
   /cb
/xml

and I set the datasource=data.cb

then the tree appears with hello and all of the following tags.

if I set the datasource =data..cb
then I get an XMLlist of all of the tags I need , but the first of which
expands revealing the no show tag

if I set the datasource=data.cb.(nodeName!=noShow).. the first of which
expands revealing the no show tag


Anyways I am looking into creating a filter function, but I think a better
way is to extned a renderer...but I dont know yet

Thanks
Hosey
 



Re: [flexcoders] Re: Will Microsoft's new Silverlight Player Kill our beloved Flex ?

2007-04-21 Thread dorkie dork from dorktown

I'd like to say me too to the FDS thing. It really is an issue. They only
address Java while ignoring the .NET, PHP and Ruby crowd. They also market
FDS way above what the market can bear. In marketing you have to know what
clients are willing to pay for your solution over another solution. Without
options like AMFPHP and WebORB Flash would not be as successful as it is
today. Still, these entities can only support what their free time allows
them.

As far as Silverlight goes, i like the name, i like the site, it looks cool.
I think it validates that RIA technology allows you to do so much more for
your user again. The web took away the power of the desktop. RIA is bring
the power of applications to the web. For MS to make this choice to pursue
this is clear that they see the value and need in it. If I owned the Flash
Player I would not be able to compete when MS decided to play. Since its
Adobe, I'm not bothered at all, except for the stupid FDS thing. I'm trying
to convince my boss to use Flex and like Scott says, this is a entry
barrier. When you are trying to get software adopted like Flex (people are
still not sure about it) you don't make it so difficult to take advantage
of. Adobe knows this, thats why they don't put the price on the site. It
would scare people away. I can only hope Silverlight has some sort of FDS
for *much* cheaper (free?) than FDS. Anyway, starting to rant.

my 1.98 cents


On 4/21/07, Scott Barnes [EMAIL PROTECTED] wrote:


  Brian,

I got could point for point with you and sound like a goose, but overall,
I'll push back with a question. How many people on this list are in need of
PDF work flow generation vs Remoting that's easier to work with on both JAVA
and .Net while at the same time have a low cost barrier. I'd like to think
that Scrapblog.com concepts could do more with Adobe technology, instead
they had to shop around and thankfully WebORB folks have a descent product
to cope with this burden.

LiveCycle is just not ready to be slotted into RIA as it's still somewhat
foreign to the RIA momentum. It's forcing the issue.
Microsoft has more to learn, and I'll be sure to flog them where I can to
make that happen. I'm in Seattle next week and i'm not there to eat
lunch/dinners and party, I have reasons and it's to do with Web 2.0 and
RIA :)

--
Regards,
Scott Barnes


 



Re: [flexcoders] Re: Will Microsoft's new Silverlight Player Kill our beloved Flex ?

2007-04-22 Thread dorkie dork from dorktown

you wrote,
How many enterprise / companies do you know are shopping around for
electronic forms built in PDF vs SAAS solutions?  PDF is a danger in some
organisations, it's something they want to put as much distance away from as
possible and prefer to leave them buried in the Document Management
Solution(s). I'm not saying it's not worth the persuit (I think MSFT has
some stuff in this space as well, forgive me as I've not cared to look into
what they are) but do so *NOT* at the expense of FLEX/RIA development
world-wide.

that's what i'm talking about! there is a goal here that i thought Flex/RIA
was trying to address. i thought that was to make development and developers
lives easier and add new and necessary features to progress that.

i love flex. it is an amazing vehicle but i think we need to get the
foundation built. the flex 2 framework is part of the foundation. the data
services adapters on the server need to be part of that foundation. at least
basic amf remoting deserializers / classes. half the benefit of flex is the
data communications. client side *is* only half the application.

flex builder - reasonably priced
flex sdk - free (great for mass adoption)
flex data services - out of reach for mass adoption of flex

IMO that is the reason people would shop around to another solution.

i don't see Silverlight's path in this market. if it does have something out
of the box it will have a huge advantage.


On 4/21/07, Scott Barnes [EMAIL PROTECTED] wrote:


  Paul,

How many enterprise / companies do you know are shopping around for
electronic forms built in PDF vs SAAS solutions?  PDF is a danger in some
organisations, it's something they want to put as much distance away from as
possible and prefer to leave them buried in the Document Management
Solution(s). I'm not saying it's not worth the persuit (I think MSFT has
some stuff in this space as well, forgive me as I've not cared to look into
what they are) but do so *NOT* at the expense of FLEX/RIA development
world-wide.

2002 RIA Theory was written down, people bought it (I for one, hey he also
was the brains behind CF, so I owe my mortgage to his last idea, so figured
he'd be worth the second). It's 2007 and RIA is supposed to be bigger! Yet,
isn't as widespread.

So, Microsoft are looking to give developers access to three tiers of User
Experience through a more mature approach that goes beyond the runtime stck
with a focus on the developers initially, get them on firm footing, then go
look at the higher ends of town as by this point developers, whom are just
as important, have validated the substance of the technology on merit.

Good Experience
AJAX  / HTML / CSS

Great Experience
Silverlight

Ultimate Experience
Windows Presentation Foundation


ASP.NET 2.0 has reduced effort by up to two-thirds since ASP 1.0 was
produced, I say this as being a Coldfusion developer for 9 years I'm amazed
at how fluent one is able to go from ASP to AJAX, so I can only hint that
going from ASP.NET AJAX to Silverlight is going to be enormous in
productivity gains and with the right tools, this hopefully should seem
effortless. Steve.B looked like a loon when he jumped up and down about
Developers, Developers, Developers but he was right, this is where the
focus should be at the start of technology, expand when you get their
blessing first and this is based off of uptake.

Validating RIA? Hate to break the news to one and all, but Microsoft's
focus is to stimulate the online/offline application market whom have been
using DHTML solutions for years, to get more robust and scaleable by
offering the above three tiers of experience potential. Flash has it's own
agenda, and Microsoft isn't about to crush that - hence I why I echo, it's
about co-existence not changing technology stacks.

Adobe make great output, but I worry at times about the input as I know
they can do better (similar with Microsoft, only reverse, great at input but
at times need work on output). No two companies are perfect.

I rant but I'm not buying Adobe's direction on this one - if I may say
that clocked off MSFT's payroll and using Flex on my weekend(s).


On 4/22/07, Paul DeCoursey [EMAIL PROTECTED] wrote:

   I agree that Adobe is ignoring a large market. The low cost remoting
 product kind of already exists in open source, third party, and in
 house solutions. What Adobe is doing with Live Cycle is capturing the
 niche markets that do need PDF workflow in their RIA Applications.
 These companies have deep pockets and will use these for projects that
 can save them millions of dollars a year.

 I don't think that Adobe needs to have the low cost remoting product
 in their line, and I think that Adobe is counting on third parties and
 the community to provide those solutions.

 Paul

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Scott
 Barnes [EMAIL PROTECTED]
 wrote:
 
  I got could point for point with you and sound like a goose, but
 overall,
  I'll push back with a 

Re: [flexcoders] Re: IFrame problem

2007-04-22 Thread dorkie dork from dorktown

you can also check out the html component at
www.drumbeatinsight.com/htmlcomponent follow the quickstart guide to get
going.

On 4/20/07, gotjosh819i [EMAIL PROTECTED] wrote:


  Mane,

(blog entry)
http://www.deitte.com/archives/2006/05/update_to_embed.htm

A cpl things that need to be done assuming you already have the
IFrame.mxml file and its namespace setup:

1) In the html-template folder in your project open
index.template.html add this code to line 27 replacing the current
script code:

script language=JavaScript type=text/javascript
!--
function moveIFrame(x,y,w,h) {
var frameRef=document.getElementById(myFrame);
frameRef.style.left=x;
frameRef.style.top=y;
frameRef.width=w;
frameRef.height=h;
}

function hideIFrame(){
document.getElementById(myFrame).style.visibility=hidden;
}

function showIFrame(){
document.getElementById(myFrame).style.visibility=visible;
}

function loadIFrame(url){
top.frames[myFrame].location.href=url;
}
// Version check for the Flash Player that has the ability to start
Player Product Install (6.0r65)
var hasProductInstall = DetectFlashVer(6, 0, 65);

// Version check based upon the values defined in globals
var hasRequestedVersion = DetectFlashVer(requiredMajorVersion,
requiredMinorVersion, requiredRevision);

// Check to see if a player with Flash Product Install is available
and the version does not meet the requirements for playback
if ( hasProductInstall  !hasRequestedVersion ) {
// MMdoctitle is the stored document.title value used by the
installation process to close the window that started the process
// This is necessary in order to close browser windows that
are still utilizing the older version of the player after
installation has completed
// DO NOT MODIFY THE FOLLOWING FOUR LINES
// Location visited after installation is complete if
installation is required
var MMPlayerType = (isIE == true) ? ActiveX : PlugIn;
var MMredirectURL = window.location;
document.title = document.title.slice(0, 47) +  - Flash Player
Installation;
var MMdoctitle = document.title;

AC_FL_RunContent(
src, playerProductInstall,

FlashVars, MMredirectURL=+MMredirectURL+'MMplayerType='+M
MPlayerType+'MMdoctitle='+MMdoctitle+,
width, ${width},
height, ${height},
align, middle,
id, ${application},
quality, high,
bgcolor, ${bgcolor},
name, ${application},
wmode,opaque,
allowScriptAccess,sameDomain,
type, application/x-shockwave-flash,

pluginspage, http://www.adobe.com/go/getflashplayer;
);
} else if (hasRequestedVersion) {
// if we've detected an acceptable version
// embed the Flash Content SWF when all tests are passed
AC_FL_RunContent(
src, ${swf},
width, ${width},
height, ${height},
align, middle,
id, ${application},
quality, high,
bgcolor, ${bgcolor},
name, ${application},
wmode,opaque,
flashvars,'historyUrl=history.htm%
3Flconid=' + lc_id + '',
allowScriptAccess,sameDomain,
type, application/x-shockwave-flash,

pluginspage, http://www.adobe.com/go/getflashplayer;
);
} else { // flash is too old or we can't detect the plugin
var alternateContent = 'Alternate HTML content should be placed
here. '
+ 'This content requires the Adobe Flash Player. '
+ 'a href=http://www.adobe.com/go/getflash/Get Flash/a';
document.write(alternateContent); // insert non-flash content
}
// --
/script

This lets flex and javascript communicate.

That should do it.

 



Re: [flexcoders] Re: Will Microsoft's new Silverlight Player Kill our beloved Flex ?

2007-04-23 Thread dorkie dork from dorktown

i wouldn't say that. i think he has some valid points that echo my own. i
love flex and i love the visual studio products when i worked in them. don't
really like some of MS business practices but i feel more comfortable with
MS than i have in a long time (well parts of it). but like scott, my first
goal above a brand is a better experience for the future for the user and
for the developer.

i don't think MS has told us everything about their plans for Silverlight.
what especially concerns me is all the staff they have. if these guys have a
say in the actual delivered product that *they* think it needs i think it
will be a great product. i dont think that will put us out of the job or
prevent flex from being successful.

nintendo (yay!) has a strategy that is focus on making games fun / a great
experience. they don't really care what the competition is doing. their $200
system is selling more than the super ps3 and super xbox 360. they don't
have their head in the sand but even if they did they are focused on the
right thing. if adobe focuses on making flex great, a great experience for
user and developer, then they got the focus right. all the things they need
to do will be enveloped under that umbrella.

dorkie dork
from dorktown


On 4/23/07, Brian Lesser [EMAIL PROTECTED] wrote:


  Sadly, this seems to describe Scott's post Microsoft behavior:

http://en.wikipedia.org/wiki/Internet_troll

I wish it was otherwise...
-Brian

Scott Barnes wrote:


 http://www.youtube. com/watch? v=TyuDAzzKnz8
 http://www.youtube.com/watch?v=TyuDAzzKnz8

 :)


--
__
Brian Lesser
Assistant Director, Application Development and Integration
Computing and Communications Services
Ryerson University
350 Victoria St.
Toronto, Ontario Phone: (416) 979-5000 ext. 6835
M5B 2K3 Fax: (416) 979-5220
Office: POD?? E-mail: [EMAIL PROTECTED] blesser%40ryerson.ca
(Enter through LB99) Web: 
http://www.ryerson.ca/~blesserhttp://www.ryerson.ca/%7Eblesser
__

 



Re: [flexcoders] Re: IFrame problem

2007-04-24 Thread dorkie dork from dorktown

What is it doing?

On 4/23/07, manfred.maierhofer [EMAIL PROTECTED] wrote:


  Thanks for the help and now I got it working in IE, but in Mozilla
Firefox 2.0.0.3 it doens't show the iframe properly.

Are there any known problems with this browser and the IFrame component?

Thanks,
Mane

 



Re: [flexcoders] Re: IFrame problem

2007-04-24 Thread dorkie dork from dorktown

can you send me an example off list?

On 4/24/07, manfred.maierhofer [EMAIL PROTECTED] wrote:


  I got it working with the wmode setting.

But now I have the next problem. I'm using state transitions to
navigate within my application and the IFrame is supposed to move and
resize in one of the transitions but everytime the transition starts
the IFrame disappears and doesn't appear anymore. Any suggestions for
this behaviour?

Thanks,
Mane

 



[flexcoders]SecurityError: Error #2148: SWF file file:///T:/.../html_designs_22/banner2.swf cannot access local resource file:///T:/.../html_designs_22/images/YBNET-Globe.png.

2007-04-24 Thread dorkie dork from dorktown

i copied my files out onto the network and i am now getting this error. the
weird thing is, the image shows up in my application and none of the other
images have problems.

can someone explain this error to me more?


SecurityError: Error #2148: SWF file
file:///T://html_designs_22/banner2.swf cannot access local resource
file:///T:/ /html_designs_22/images/YBNET-Globe.png. Only
local-with-filesystem and trusted local SWF files may access local
resources.
   at flash.display::Loader/get content()
   at mx.controls::SWFLoader/get content()
   at banner2/::handleImageComplete()
   at banner2/__globe1_complete()
   at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction
()
   at flash.events::EventDispatcher/dispatchEvent()
   at
mx.controls::SWFLoader/http://www.adobe.com/2006/flex/mx/internal::contentLoaderInfo_completeEventHandler
()
   at
mx.controls::Image/http://www.adobe.com/2006/flex/mx/internal::contentLoaderInfo_completeEventHandler
()


[flexcoders]How does Flex work on Mobile devices

2007-04-27 Thread dorkie dork from dorktown

My boss asked, What options does Flex have for deploying to mobile
devices?


Re: [flexcoders] Re: Will Microsoft's new Silverlight Player Kill our beloved Flex ?

2007-04-29 Thread dorkie dork from dorktown

the problem with microsoft is they live in a bubble. they live in their own
little world where only windows exists. well, at the college i visit half
the people have macs. i am in a college coffee / study shop with about 150
people and half have macs. this all changed when the mac books came out last
year. long time windows users switched. my roomate uses a mac and loves it.
not everyone uses windows.

i dont' trust their cross compatible promises either. what if they do make
version on mac. anyone remember ie on mac? they need to prove they have
changed the way they do things (and think) before i would ever trust them.

since i'm ranting, it seems, that users opinions don't matter. all they need
to do is listen to their users and i do not get that from them. vista is an
example of them living in a bubble. so as the web changes i do not think
silverlight will progress when they do not listen to the users.


On 4/29/07, simonjpalmer [EMAIL PROTECTED] wrote:


  Does C# kill Java?
Does IE kill Firefox?
Does SQLServer kill Oracle?
Does Windows kill UNIX?
Will Silverlight kill Flex?

From my 20 odd years of software development, during which time the
Microsoft hegemony has been at its apogee, none of the above are true.
In fact if you want a really scalable enterprise platform you would
choose the right hand side of the list above rather than the left.

Where Microsoft win hands down is in Office Applications and desktop
operating systems. Excel is quite possibly the best piece of desktop
software ever written (Word being the worst) and long may it reign as
such. Windows is crap, but it's more than good enough for your
average user and most Microsoft desktop products are actually pretty
good (c'mon, be generous).

I regret deeply that the rest of the world doesn't have a house full
of beautiful, stable, simple Macs like I do, but the reality is that
they don't as Jason points out. Instead the three or four computers
the normal person interacts with in their daily lives are almost
exclusively running Windows (even the ATM machines and tills at the
supermarket). Not a pleasant truth, but a truth nonetheless. If you
are looking for broad adoption and commercial success as a software
company you start with Windows.

The wonderful reality, however, is that the software industry, like
all others in the history of human endeavour, thrives on competition
and there is space for more than one company/product/offering to
survive. Adobe are not going to be Microsoft. THANK GOD! They have
and in my opinion will always have, a distinct and separate offering.
If they can't retain that differentiation then they don't deserve to
remain in business and the market will take care of them.

So this is a bit of a silly thread as far as I am concerned. The
answer for me is clearly No for all the same reasons that Microsoft
haven't killed any of the other things on the list at the top. They
might try, but I think they should be more worried about Google and
web based desktop software than Adobe and the flash player.

Simon

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Bjorn
Schultheiss
[EMAIL PROTECTED] wrote:




 Hey Jason,

 Even if 90% of internet's users are running Windows, how many
 millions aren't..
 If you can deploy applications that is guaranteed to only be used by
 Windows users, well good luck to you.

 Here we target creatives in the advertising industry and I don't have
 that luxury.




 Regards,

 Bjorn Schultheiss
 Senior Developer
 
 Personalised Communication Power

 Level 2, 31 Coventry St.
 South Melbourne 3205,
 VIC Australia

 T: +61 3 9674 7400
 F: +61 3 9645 9160
 W: http://www.qdc.net.au

 ((This transmission is confidential and intended solely
 for the person or organization to whom it is addressed. It may
 contain privileged and confidential information. If you are not the
 intended recipient, you should not copy, distribute or take any
 action in reliance on it. If you believe you received this
 transmission in error, please notify the sender.---))



 One person wrote:
  Everybody uses Windows, almost all the workstations are windows. Macs
  have IE working OK.

 Another responded:
 Think again.
 Think again? What kind of an argument is that? People keep
 brining up certain technlogies not working on Mac OS or Linux as a
 bad thing. Personally, I've never bought into the, that technology
 does not support obscure browser X or non-Windows operating system
 Y and therefore is doomed to fail argument. As much as I wish it
 were not true, Microsoft is one example of a company who has time and
 again developed solutions for Windows only and been quite successful
 at it. Not supporting Mac or Linux WILL hurt you a little, but it's
 still a Windows world (unfortunately) and thus there is a huge market
 there to tap. The world is changing, sure, but very very slowly in
 this regard.

 At the same time, I think Silverlight is coming out a little too late
 - the RIA 

Re: [flexcoders]How does Flex work on Mobile devices

2007-04-30 Thread dorkie dork from dorktown

lol. i'll try that. ;)


On 4/27/07, Nick Collins [EMAIL PROTECTED] wrote:


  tell him laptops are technically mobile devices? :-)

On 4/27/07, Clint Tredway [EMAIL PROTECTED] wrote:

   none at this point as the player for devices is not able to run flex
 apps.

 On 4/27/07, dorkie dork from dorktown  [EMAIL PROTECTED]
 wrote:
 
My boss asked, What options does Flex have for deploying to mobile
  devices?
 



 --
 I am not a diabetic, I have diabetes
 my blog - http://grumpee.instantspot.com/blog


 



  1   2   3   4   5   >