[flexcoders] Re: Adobe pulls Single CPU and 100-user licenses

2010-01-23 Thread busitech
I took a look at the FB4 Beta 2 License Agreement, and here's what I found:

2.4.7 Flash (R) Builder(R) with LiveCycle(R) Data Services(LCDS) Data 
Management Library. Your rights to this Software are limited. In order to (a) 
utilize the file called fds.swc (the LCDS Library) to develop associations 
, (b) utilize the LCDS Library to develop offline capability, (c) use the 
application modeling plug-in, or (d) utilize the LCDS Library to develop a 
product that competes with LiveCycle Data Services or BlazeDS, you must obtain 
additional licensing rights from Adobe.

So, the lawyers have been working overtime...  This weekend I'm going to spend 
some time with each of the available components, to see how complete the 
package can becomes after adding up the sum of the parts...

Matthew



RE: [flexcoders] Adobe pulls Single CPU and 100-user licenses [1 Attachment]

2010-01-23 Thread Glenn Williams
I didn't know cf9 had lcds 3 tom?

 

 

 

 

 

 

 

 

tinylion development  design

 



 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Tom Chiverton
Sent: 22 January 2010 09:47
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Adobe pulls Single CPU and 100-user licenses

 

  

On Thursday 21 Jan 2010, busitech wrote:
 How are these changes affecting your business?

Dunno about price, but have you looked at ColdFusion? Comes with LCDS and a 
bunch of other stuff.

-- 
Helping to administratively introduce granular revolutionary prospective 
one-to-one customers as part of the IT team of the year 2010, '09 and '08



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

Halliwells LLP is a limited liability partnership registered in England and
Wales under registered number OC307980 whose registered office address is at
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
of members is available for inspection at the registered office together
with a list of those non members who are referred to as partners. We use the
word ?partner? to refer to a member of the LLP, or an employee or consultant
with equivalent standing and qualifications. Regulated by the Solicitors
Regulation Authority.

CONFIDENTIALITY

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

For more information about Halliwells LLP visit  http://www.Halliwells.com
www.Halliwells.com. 



image001.jpg

Re: [flexcoders] Adobe pulls Single CPU and 100-user licenses

2010-01-23 Thread João Fernandes
No, CF9 is bundled with BlazeDS and can have LCDS 2.6.x deployed on it
(manually merging). Currently there is no LCDS 3 support for CF9.

João Fernandes

On 23 January 2010 08:22, Glenn Williams gl...@tinylion.co.uk wrote:


  [Attachment(s) #1265a47372272d14_TopText from Glenn Williams included
 below]

  I didn’t know cf9 had lcds 3 tom?

















 tiny*lion* development  design





 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Tom Chiverton
 *Sent:* 22 January 2010 09:47
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Adobe pulls Single CPU and 100-user licenses





 On Thursday 21 Jan 2010, busitech wrote:
  How are these changes affecting your business?

 Dunno about price, but have you looked at ColdFusion? Comes with LCDS and a

 bunch of other stuff.

 --
 Helping to administratively introduce granular revolutionary prospective
 one-to-one customers as part of the IT team of the year 2010, '09 and '08

 

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

 Halliwells LLP is a limited liability partnership registered in England and
 Wales under registered number OC307980 whose registered office address is at
 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
 of members is available for inspection at the registered office together
 with a list of those non members who are referred to as partners. We use the
 word ?partner? to refer to a member of the LLP, or an employee or consultant
 with equivalent standing and qualifications. Regulated by the Solicitors
 Regulation Authority.

 CONFIDENTIALITY

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

 For more information about Halliwells LLP visit 
 *www.Halliwells.com*http://www.Halliwells.com
 .

   




-- 

João Fernandes
image001.jpg

Re: [flexcoders] Adobe pulls Single CPU and 100-user licenses

2010-01-23 Thread Jochem van Dieten
On Thu, Jan 21, 2010 at 4:38 PM, busitech wrote:
 I'm curious how many of your projects were deployed into production using the 
 no-charge Single CPU (or the 100-user departmental) licenses of LCDS 2.x.

One of our clients is an ISV who would now require licenses for about
700 CPUs. They use a limited subset of LCDS features and we are
currently trying to figure out how much work it is to just roll our
own.

Jochem

-- 
Jochem van Dieten
http://jochem.vandieten.net/


Re: [flexcoders] Re: Adobe pulls Single CPU and 100-user licenses

2010-01-23 Thread Jochem van Dieten
On Fri, Jan 22, 2010 at 7:11 PM, busitech wrote:
 João, would you (and others) mind heading over to Anil Channappa's blog post  
 about this to voice your concern?  There's a long string of comments which 
 are calling for lower pricing so LCDS can be successful.  We are very 
 passionate about this product, and want to see it available for everyone.

Successful and available for everyone are two very different things.
LCDS can be successful without being available for everyone. It would
be nice if it were, but frankly I am more concerned with Adobe making
enough money of LCDS to release new versions of LCDS and BlazeDS then
with LCDS being cheap enough for me to afford for my pet projects.

Jochem


--
Jochem van Dieten
http://jochem.vandieten.net/


[flexcoders] Dog woofs, Cat meows; can the same listener listen to either and how do you remove the eventlistener?

2010-01-23 Thread Tim Romano
The question is at the very bottom. Here's the scenario:

Let's say I have a base class Animal, and subclasses Dog and Cat that 
extend Animal.
Animal has a protected Speak() method which Dog and Cat each override: 
when aDog instance and aCat Speak(), they each raise an event, a 
CreatureSpeakingEvent.


class Dog extends Animal {
override protected class Speak() {
  var sound:String = woof;
   var eventObj:CreatureSpeakingEvent = new CreatureSpeaking ( 
CreatureSpeakingEvent, sound,  true, false );
 this.dispatchEvent(eventObj);
}
}

class Cat extends Animal {
override protected class Speak() {
  var sound:String=meow;
   var eventObj:CreatureSpeakingEvent = new CreatureSpeakingEvent ( 
CreatureSpeakingEvent, sound,  true, false );
 this.dispatchEvent(eventObj);
}
}

In the main class, which can instantiate either or both of these 
animals, a listener is attached to the CreatureSpeakingEvent event:

var aDog = new Dog();
var aCat = new Cat();
aDog.addEventListener(CreatureSpeakingEvent, onCreatureSpeaking);
aCat.addEventListener(CreatureSpeakingEvent, onCreatureSpeaking);

The onCreatureSpeaking() function listens:

private function onCreatureSpeaking(e:CreatureSpeakingEvent) {
//  is the following cast to the base-class Animal acceptable?
Animal (e.target).removeEventListener(CreatureSpeakingEvent, 
onCreatureSpeaking);
}


Thanks for the help!
Tim




[flexcoders] Codefest and Adobe Presents Gumbo Rumble:Are you ready for the new AIR?

2010-01-23 Thread saket
Hello

Adobe and Department Of Computer Engineering, IT-BHU presents  GumboRumble: Are 
you ready for the new AIR. It is a completely _online_ event for _students_ 
across the globe, on development of applications on AIR 2.0 SDK  has prizes 
worth 50,000 INR (approx. 1100 USD)

_Adobe certificates_ will be awarded to all _successful entries_.

Team Registration has begun and is free. Visit 
http://www.itbhu.ac.in/codefest/teams.php . You will need to login first.
Problem Statements will be released on 25th January, 2010.

Whats the fun part?

   * Form team with any student across the globe.
   * All submissions through our website portal.
   * Able to download binaries of your opponents  report bugs in them.
   * Complete developer support during the event on forum  through emails, 
Gtalk.
   * Prizes to _top 15_ submissions.

This is not only an arena of WAR for the developers, but also a learning ground 
for students and new developers who want to start learning and developing on 
this platform.

So what are you waiting for, put your coders hat on , and register for the 
event to win prizes.

For any queries, mail us at codef...@itbhu.ac.in or contact the following:

Neeraj Kumar:  91-9235-106-978, neeraj.kumar.cs...@itbhu.ac.in

PS: There are lots of flex tutorials are available at 
http://www.itbhu.ac.in/codefest/flex-tutorials.php to get you started.

Happy coding, and be free!

Regards,
Team Codefest
http://itbhu.ac.in/codefest/
Follow us at http://twitter.com/c0defest/
Read our blog at http://codefest.wordpress.com/



[flexcoders] [HELP] Little help with parsing datas

2010-01-23 Thread ~[TM3]~[Dev]At0ng[/Dev]~[/TM3]~
I recently have this code from gotoandlearnforums to parse datas
separated with commas from a text file but the problem is I dunno (I
really had no idea how) how to exclude rows that begins with a double
slashes (//), hope someone can help me with this. Parsing datas is ok
but excluding rows is not   private function init(e:Event):void
{ //load the data var loader:URLLoader = new
URLLoader(new URLRequest(stuff.txt));
loader.addEventListener(Event.COMPLETE, parseData);  } 
private function parseData(e:Event):void  {
var txt:String = e.target.data; var rows:Array =
txt.split(\r\n);//split the string into rows 
var temp:Array = new Array();  for(var i:int =
0; irows.length; i++) {//you would include
an if statement here to not include lines that begin with //
var columns:Array = rows[i].split(,);//split each row into columns
temp.push({id:columns[0],name:columns[1],position:columns[2]});
} ac = new ArrayCollection(temp)


RE: [SPAM] Re: [SPAM] [flexcoders] TabNavigator switches to second tab when revealed after a currentState change

2010-01-23 Thread Tracy Spratt
A ViewStack is simply a way to switch between components.  It has no visible
presence of its own.  The children of a ViewStack can be anything (in some
container), including a full TabNavigator.  You can nest ViewStacks as
desired.

 

A side note on TavNavigator;  if you think you will ever want to dynamically
control the visible tabs, say based on user identity/permissions, I advise
TabBar + ViewStack.  To remove hide a tab in a TabNavigator, you have to
manipulate the childen directly.  If you use a TabBar, you can control its
content just by manipulating its dataProvider.  A hidden view will still be
in the ViewStack, but its tab will not be visible, thus the view will be
unavailable.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Penny Laus
Sent: Saturday, January 23, 2010 2:06 AM
To: flexcoders@yahoogroups.com
Subject: [SPAM] Re: [SPAM] [flexcoders] TabNavigator switches to second tab
when revealed after a currentState change

 

  

 

On Sat, Jan 23, 2010 at 5:28 PM, Tracy Spratt tr...@nts3rd.
mailto:tr...@nts3rd.com com wrote:

  

For a change as significant as that, I suggest using ViewStack instead of
states.

Tracy,

Thanks very much for responding - I always read your postings with
attention.

In my case are you suggesting I put everything into a ViewStack and not use
states? So, I'd have something like

ViewStack 

   0 - My landing screen with the login/send password/add registration

  1 - 2 -3 My registration details

Am I right in thinking that I could use a TabBar to make ViewStack 1, 2  3
look and act like a TabNavigator?

Thanks for the help!

 





[flexcoders] Re: dynamically loading cssStyle text into Application?

2010-01-23 Thread MicC

thanks valdhor - apologies for delayed appreciation :-)

--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

 parseCSS only works for text fields (See
 http://livedocs.adobe.com/flex/3/langref/flash/text/StyleSheet.html)
 
 You will need to parse the string yourself and apply styles as required.
 
 One of the bigger problems are that some styles require strings, others
 require numbers and some even require arrays.
 
 I came up with the following code to demonstrate (You can extend it to
 do whatever you want):
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 layout=absolute
  creationComplete=onCreationComplete()
  mx:Script
  ![CDATA[
  import mx.styles.StyleManager;
 
  private var styleString:String = Button {cornerRadius: 9;
 highlightAlphas: 0, 0; fillAlphas: 1, 1, 1, 1; fillColors: #6699ff,
 #6699ff, #6699ff, #6699ff; color: #0033cc; textRollOverColor: #00;
 textSelectedColor: #00; borderColor: #6699ff; themeColor: #ff;
 fontSize: 12; fontWeight: normal; };
 
  private function onCreationComplete():void
  {
  var CSSArray:Array = styleString.split({);
  var CSSStyleDeclarationName:String =
 CSSArray[0].replace( , );
 
  var stylesArray:Array = CSSArray[1].split(;);
  for each(var currentStyle:String in stylesArray)
  {
  currentStyle = currentStyle.replace(},
 ).replace( , );
  if(currentStyle != null  currentStyle.length  0)
  {
  var currentStyleName:String =
 currentStyle.split(:)[0];
  var currentStyleValue:String =
 currentStyle.split(:)[1].replace( , );
  if(currentStyleName != null  currentStyleValue
 != null)
  {
  switch(currentStyleName)
  {
  case fillColors:
  case fillAlphas:
  case highlightAlphas:
 
 StyleManager.getStyleDeclaration(CSSStyleDeclarationName).setStyle(curre\
 ntStyleName, currentStyleValue.split(,));
  break;
  case cornerRadius:
  case fontSize:
 
 StyleManager.getStyleDeclaration(CSSStyleDeclarationName).setStyle(curre\
 ntStyleName, new Number(currentStyleValue));
  break;
  default:
 
 StyleManager.getStyleDeclaration(CSSStyleDeclarationName).setStyle(curre\
 ntStyleName, currentStyleValue);
  break;
  }
  }
  }
  }
  }
  ]]
  /mx:Script
  mx:Button label=Test Button/
 /mx:Application
 
 
 
 --- In flexcoders@yahoogroups.com, MicC chigwell23@ wrote:
 
  I am loading cssStyle text from server with a stored procedure and
  loading into a string:
 
  Button {
  cornerRadius: 9;
  highlightAlphas: 0, 0;
  fillAlphas: 1, 1, 1, 1;
  fillColors: #6699ff, #6699ff, #6699ff, #6699ff;
  color: #0033cc;
  textRollOverColor: #00;
  textSelectedColor: #00;
  borderColor: #6699ff;
  themeColor: #ff;
  fontSize: 12;
  fontWeight: normal;
  }
 
  into cssString. I want to use this as the Application's StyleSheet
 i.e.
 
mx:Style source=contents of cssString/
 
  I tried
 
  this.styleName = cssString;
 
  and played with
 
  appStyle = new StyleSheet;
  appStyle.parseCSS(cssString);
 
  but a little knowledge is a dangerous thing :-) How do I get the style
  text to become the Application StyleSheet? TIA,
 
  Mic.
 





[flexcoders] setting drop on dataGrid.dataGridHeader question

2010-01-23 Thread MicC
To do this I think I need to set events DragEvent.DRAG_ENTER, 
DragEvent.DRAG_DROP on the dataGridHeader. I have a reference to the grid, but 
cannot get to its header! I am looking for the correct actionscript for

grid.dataGridHeader.addEventListener( DragEvent.DRAG_ENTER, gridDrop );

Unless I am on the wrong track here :-) TIA,

Mic.




[flexcoders] Re: setting drop on dataGrid.dataGridHeader question

2010-01-23 Thread MicC


var o:Object = new Object;
o = grid1.getChildAt(3);
o.addEventListener(DragEvent.DRAG_ENTER,allowDrop);
o.addEventListener(DragEvent.DRAG_DROP,acceptDrop);

works but seems an inelegant way of accessing header - is there a better way?

Next question :-) The grid header that is dropped on is referenced by

var dropTarget:Object = dragEvent.currentTarget;

but I cannot find the actual header column that was dropped on as dropTarget = 
the complete header. Does this mean that I am going to have to code a custom 
header with individual custom header item renderers that receive drops? TIA,

Mic.

--- In flexcoders@yahoogroups.com, MicC chigwel...@... wrote:

 To do this I think I need to set events DragEvent.DRAG_ENTER, 
 DragEvent.DRAG_DROP on the dataGridHeader. I have a reference to the grid, 
 but cannot get to its header! I am looking for the correct actionscript for
 
 grid.dataGridHeader.addEventListener( DragEvent.DRAG_ENTER, gridDrop );
 
 Unless I am on the wrong track here :-) TIA,
 
 Mic.





Re: [SPAM] Re: [SPAM] [flexcoders] TabNavigator switches to second tab when revealed after a currentState change

2010-01-23 Thread Penny Laus
On Sun, Jan 24, 2010 at 1:40 AM, Tracy Spratt tr...@nts3rd.com wrote:



  A ViewStack is simply a way to switch between components.  It has no
 visible presence of its own.  The children of a ViewStack can be anything
 (in some container), including a full TabNavigator.  You can nest ViewStacks
 as desired.


 Thanks very much for your suggestions - it's working beautifully now. And,
as you say, there's no reason not to put a full TabNavigator within the
ViewStack.

Have a good weekend.

-- PL


[flexcoders] ViewStack versus state changes

2010-01-23 Thread Penny Laus
After struggling a bit to combine a TagNavigator and a few states in
an application, I'm wondering - when are states preferable to a
ViewStack-derived navigator? ViewStack offers several advantages:

* The MXML is clear and easy to reorganize.

* You can get a least some kind of help from the visual designer in
Flex. (I like to use it for previews and to get my interface objects
into rough order.)

* It seems to work flawlessly.

States, on the other hand, end up adding a ton of rendering
instructions to the MXML. It's pretty awkward to work with the objects
either in the MXML or the designer view.

From reading various docs and blobs I've gotten the impression that
states are considered superior for some reason. I just can't tell what
that reason might be.

A clear advantage I can see to states is when the bulk of the objects
are shared between the two states - then it's simpler to have one
instance of those objects.

I'd be really curious to hear what more experience people think about
this. (I still feel like I'm floundering around in Flex a good deal of
the time.)

Thanks!


[flexcoders] Reading URL arguments from within initApp()

2010-01-23 Thread Penny Laus
I'm working on a registration system that will be used by new and
existing participants. The customer would like to be able to email
existing participants a URL that bypasses the login screen. So, if the
usual URL is

http://www.foo.com/register.html

They would like to use a URL that skips the landing screen and goes
right to the registration details (name, address, etc.):

   http://www.foo.com/register.html?user=bobpassword=pluto

(Those aren't the exact arguments but should illustrate the point.)

I've been hunting around but haven't sorted out where to find the
correct properties. If I can read in the URL, I can pass the data to
my existing login function and carry on from there. If there's a more
standard/best-practice way of starting the app with URL arguments, I'm
all ears. Would someone be so kind as to point me in the right
direction? Chances are, I just haven't figured out the right name for
the feature I'm after.

Thanks!!!


[flexcoders] Re: [HELP] Little help with parsing datas

2010-01-23 Thread jc_bad28
My approach would be to load all the rows and parse the // characters as a 
column, get a count of rows where that column is not empty, and then delete 
them.

--- In flexcoders@yahoogroups.com, ~[TM3]~[Dev]At0ng[/Dev]~[/TM3]~ 
atong...@... wrote:

 I recently have this code from gotoandlearnforums to parse datas
 separated with commas from a text file but the problem is I dunno (I
 really had no idea how) how to exclude rows that begins with a double
 slashes (//), hope someone can help me with this. Parsing datas is ok
 but excluding rows is not   private function init(e:Event):void
 { //load the data var loader:URLLoader = new
 URLLoader(new URLRequest(stuff.txt));
 loader.addEventListener(Event.COMPLETE, parseData);  } 
 private function parseData(e:Event):void  {
 var txt:String = e.target.data; var rows:Array =
 txt.split(\r\n);//split the string into rows 
 var temp:Array = new Array();  for(var i:int =
 0; irows.length; i++) {//you would include
 an if statement here to not include lines that begin with //
 var columns:Array = rows[i].split(,);//split each row into columns
 temp.push({id:columns[0],name:columns[1],position:columns[2]});
 } ac = new ArrayCollection(temp)





[flexcoders] Re: How to parse xml with namespaces

2010-01-23 Thread jc_bad28
Here's how I handle the messy SOAP and namespace returned from my web service 
application server: (I set the return format to e4x)

 private function webServiceResultHandler(event:ResultEvent):void
 {
var xmlResult:XMLList = event.result as XMLList;
var xmlSource:String = xmlResult.toString();

//Strip namespace
xmlSource = xmlSource.replace(/[^!?]?[^]+?/g, removeNamspaces);
xmlResult = XMLList(xmlSource);

}

 public function removeNamspaces(...rest):String
{
rest[0] = rest[0].replace(/xmlns[^]+\[^]+\/g, );
var attrs:Array = rest[0].match(/\[^]*\/g);
rest[0] = rest[0].replace(/\[^]*\/g, %attribute value%);
rest[0] = rest[0].replace(/(\/?|\s)\w+\:/g, $1);
while (rest[0].indexOf(%attribute value%)  0)
{
rest[0] = rest[0].replace(%attribute value%, attrs.shift());
}
return rest[0];
}

--- In flexcoders@yahoogroups.com, Vaibhav Seth vaibhav.s...@... wrote:

 
 Use regex and eliminate the namspaces from the root tag of the XML, check if 
 it works.
 
 Root
 .
 .
 .
 
 /Root
 
 Thanks,
 Vaibhav Seth.
 
 
 
 
  EMAILING FOR THE GREATER GOOD
 Join me
 
 To: flexcoders@yahoogroups.com
 From: lukevanderfl...@...
 Date: Fri, 22 Jan 2010 03:04:05 +
 Subject: [flexcoders] How to parse xml with namespaces
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  
 
 
 
   
 
 
 
   
   
   Hi. 
 
 
 
 Here is a snippet of xml:
 
 It contains an element with a namespace (c:question) and several elements 
 without a namespace.
 
 If I get the whole thing as an XML object, how do I go about accessing all 
 the different fields.
 
 E.G. I need to access the c:question text or c:question subelements
 
 
 
 So: 1. c:question text: This is a wine question
 
 2. c:question subelements: p.ul.li: Penfolds Grange - no effect or p: 
 A bottle shop in a remote country pub sells five different bottled wines. 
 The publican increases the price of a bottle of Jacob's Creek core range by 
 50 cents.
 
 3. question attribute format: radio
 
 
 
 Ive tried setting a namespace for c and a default namespace but cannot 
 consistently access elements and values from both namespaces.
 
 
 
 Id love your help..
 
 Thanks.
 
 Kr. 
 
 Luke.
 
 
 
 =
 
 ?xml version=\1.0\ encoding=\UTF-8\?
 
 c:question xmlns=\http://www.w3.org/1999/xhtml\; 
 xmlns:c=\http://www.eddygordon.com/namespaces/course\;This is a wine 
 question
 
 pA bottle shop in a remote country pub sells five different bottled wines. 
 The publican increases the price of a bottle of Jacob's Creek core range by 
 50 cents. 
 
 /p
 
 pAssuming that the prices of the other wines do not change, the Jacob's 
 Creek price increase is likely to affect sales of the other products as 
 follows:
 
 /p
 
 p 
 
   ul
 
 liPenfolds Grange - no effect;
 
 /li
 
 liWyndham Estate Bin Range - the Wyndham Estate products are slightly 
 more expensive but the price increase has narrowed the gap so a slight 
 increase can be expected;
 
 /li
 
 liLindemans Bin Range - large increase in sales as this is a direct 
 competitor;
 
 /li
 
 liRosemount Split Label Range - large increase in sales as this is a 
 direct competitor
 
 /li
 
   /ul/ppBased on this information, which wines are in the same market 
 as Jacob's Creek? 
 
 /p
 
 question format=\radio\ name=\part1\
 
  answer correct=\true\Lindemans Bin Range and Rosemount Split Label Range 
 are definitely in the same market and Wyndham Estate may be.
 
  /answer
 
  answerPenfolds Grange is the only wine in the same market.
 
  /answer
 
  answerLindemans Bin Range and Rosemount Split Label Range are the only 
 wines in the same market.
 
  /answer
 
 /questionp/
 
 /c:question
 
 





[flexcoders] How to parse words in a PDF file?

2010-01-23 Thread Greg Lafrance
I want to parse the text in a PDF file and extract the words into an array, 
because I am creating an application to create English to Japanese dictionaries.

 
How can I do this in ActionScript?




[flexcoders] Loading videos/sound in Flex (web) out of a ByteArray

2010-01-23 Thread Mark
Hello, 

I am working on a flex project for my job, and we have seem to of hit a road 
block.

we have two parts to our project, one part which is written in AIR that is used 
to create case files, which is really just a zip with a XML file and 'assets', 
as in pictures, text, audio, video, hyperlinks, and whatever else we may want 
to use in the future

The way the zip library we are using works is that we get the individual file 
information out of the zip  by calling a function which returns a ByteArray 
representation of the data

However, our problem is using the limitations of the Flash/Flex Web-browser 
plugin (not air) which does not have any of the file functions, so we cannot 
save the files we extract from the zip to the hard drive, (which we do with the 
AIR portion of the project),  we are forced to keep them as ByteArrays. 

But, we are having problems with a part of our program which previews these 
assets, namely Audio and Video files in the browser, it appears that the 
VideoDisplay and Sound classes do not accept ByteArrays, but only streams or a 
URLbut we cannot give it a URL because we just don't have one, the files 
are in memory as a ByteArray object.

Is there any cool way to convert a ByteArray into a Sound /VideoDisplay that 
anyone knows of? If not, we are going to have to resort to using an external 
php script to do the work of unzipping files on the server, which defeats the 
purpose of having it all in one file anyway. 

~Mark



[flexcoders] Re: Adobe pulls Single CPU and 100-user licenses

2010-01-23 Thread busitech
Successful and available for everyone are two very different thingsI
am more concerned with Adobe making enough money of LCDS  Hi Jochem, I
agree 100%, it should not be given away.  A lower price does make it
available to a larger market.  For example, if a copy of LCDS were: -
$1,000 for every firm with less than 100 employees - and $5,000 for
every firm with 100 or morethe revenue potential would be nearly 11
times greater than if every firm having 500 or more employees purchased
a copy at the list price.  That's how big the SMB market is in America. 
This is from data provided by the US Census Bureau.
I learned quite a bit looking at this data.  The census data showed over
5 million small business firms (up to 500 employees).  There were only
17,000 firms with 500 or more employees.
If a firm had more than one location, it was counted again for each
state where they do business.  I didn't run the numbers based on every
location needing a license because most firms have a data center
supporting multiple locations, and LCDS has been proven to support
thousands of connections.
This does not include sales to any of the 20 million sole proprietors in
the report.  These are firms which are composed of all owners/partners
and no employees like many LLC's (law firms, accountants, etc).  I
suppose there are some doctors in that category, too which could be
prospects for office management software which needs data services.
There is probably other ways to look at this, or something I've
overlooked.  The premise is that the SMB market is huge.  For the last
3+ years, it had appeared like someone at Adobe had this figured out,
while the more affordable options were available.  Personally I thought
it was explicit endorsement of interest in the SMB marketplace, which is
why we got on board.
I wonder how many CF users will have this same rude awakening when they
go to upgrade to 9?