[flexcoders] Create angle, reflected, diamond gradient using actionscript

2009-01-07 Thread vuthecuong


Question Create angle, reflected, diamond gradient using actionscript
Hi,
As you know, in Graphics class there is beginGradientFill method to draw
gradient:
beginGradientFill(type:String, colors:Array, alphas:Array, ratios:Array,
matrix:Matrix = null, spreadMethod:String = pad,
interpolationMethod:String = rgb, focalPointRatio:Number = 0):void
I saw that the first parameter type:String only have two values: linear
or radial. In photoshop, beside theses there are angle, reflected,
diamond gradient type also.
So which class (or libraries etc) I can use in order to create angle,
reflected, diamond gradient using fully actionscript?
Or angle, reflected, diamond gradient type can not be implemented
using AS?
Could anyone point me to the right direction?
many thanks and best regards

-- 
View this message in context: 
http://www.nabble.com/Create-angle%2C-reflected%2C-diamond-gradient-using-actionscript-tp21330771p21330771.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] fla file format license

2008-11-14 Thread vuthecuong



Joseph Balderson wrote:
 
 IFAIK, you cannot license the FLA format from Adobe, and it is a closed
 source 
 binary format. Wait a little while for when they come out with the XFL
 format 
 for Flash, otherwise you'll have to do what every other SWF tool vendor
 has done 
 and create your own format.
 ___
 
 Joseph Balderson, Flex  Flash Platform Developer | joeflash.ca
 Author, Professional Flex 3 | http://tinyurl.com/5qbqlk
 
 
 vuthecuong wrote:
 Hi all Gurus,
 Because flash is related to Flex also, and I planned to use Flex in my
 project so I post here:
 
 I need advice from you about license of fla file format.
 =
 Background:
 we intend to develop standalone flash application with nearly same
 fearture
 as FLASH CS. Our application can save as (output) fla file also.
 Basic features are insert text,images into fla file, edit these
 text/images
 then output edited content to swf file.
 ===
 So my question is:
 If we sell this app to end-user, do we violate the fla file license of
 Adobe?
 AFAIK, fla file is property of Adobe and it can not be edited in other
 app.
 If yes, could you point me to weblink of Abode fla file license or
 something
 like that?
 Please help me, I need your help.
 Best regards,
 
 
 
Yeah, thank you for the information.
best regards,


-- 
View this message in context: 
http://www.nabble.com/fla-file-format-license-tp20473578p20496574.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] load fla file into web UI then edit image inside it

2008-11-12 Thread vuthecuong



rfkrocktk wrote:
 
 Well, first you need to implement some backend programming which will read
 a
 FLA file. You can try opening an FLA file with Notepad or maybe as a ZIP
 Archive... I'm not sure which format the FLA type follows, if it even has
 a
 format. Once you 'get in' to the FLA file's contents, you'll have to find
 the one you're looking for. After that, you should save it to a file on
 your
 server. Once that's done, send a value to your Flex client containing a
 link
 to the image file/the text. Edit the text, send it back and have
 middleware
 do the saving into the FLA file. Edit the Image, save it as an image with
 middleware to your server, then have your middleware insert the edited
 image
 into the FLA file.
 
 Creating a remote Flash IDE is a pretty ambitious task. I'm interested in
 what you discover, if you find anything cool, do post back!
 
 On Thu, Oct 30, 2008 at 10:49 PM, vuthecuong [EMAIL PROTECTED]
 wrote:
 

 Suppose that I biuld a wab app with php as back-end and flex sitting on
 font-end with porpose to load fla file to display on web UI, then extract
 text and image inside it, edit these text and images, then save back to
 that
 fla file.
 - How can do this with Flex or with anything else?
 I just want to know the general way to get this done.
 regards

 --
 View this message in context:
 http://www.nabble.com/load-fla-file-into-web-UI-then-edit-image-inside-it-tp20260510p20260510.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

  

 
 
 
 -- 
 And do this, knowing the time, that now it is high time to awake out of
 sleep;
 for now our salvation is nearer than when we first believed.
 
 
I'm very for late response. My reasearch result is: currently we cannot load
fla file into web-base app, and of course we cannot extract text and image
of fla file to edit them, and we cannot save back to fla file edited content
since fla is closed format and Adobe is not public it's format
specification.
very sad.
regards

-- 
View this message in context: 
http://www.nabble.com/load-fla-file-into-web-UI-then-edit-image-inside-it-tp20260510p20472961.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] fla file format license

2008-11-12 Thread vuthecuong

Hi all Gurus,
Because flash is related to Flex also, and I planned to use Flex in my
project so I post here:

I need advice from you about license of fla file format.
=
Background:
we intend to develop standalone flash application with nearly same fearture
as FLASH CS. Our application can save as (output) fla file also.
Basic features are insert text,images into fla file, edit these text/images
then output edited content to swf file.
===
So my question is:
If we sell this app to end-user, do we violate the fla file license of
Adobe?
AFAIK, fla file is property of Adobe and it can not be edited in other app.
If yes, could you point me to weblink of Abode fla file license or something
like that?
Please help me, I need your help.
Best regards,

-- 
View this message in context: 
http://www.nabble.com/fla-file-format-license-tp20473578p20473578.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] format code in FB3

2008-11-03 Thread vuthecuong

in eclipse (develop java), I just press ctrl+shift+F to format code.
So what is the equavalent one in FF3 IDE?
(in FF3 IDE, ctrl+shift+F open search box)
regards
-- 
View this message in context: 
http://www.nabble.com/format-code-in-FB3-tp20316059p20316059.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] need your advice on flash or flex

2008-10-30 Thread vuthecuong



Tom Chiverton-2 wrote:
 
 - about insert flash file (.fla?) to DB, this web app is for intranet
 use
 only, and size of flash file is less then 300kb. So should I need to pay
 attention on performance etc?
Depends. Are there one insert a year or 3 million ?
 
 
these fla files are templates, so number of theme is limited, about 1000
files or less,
and because they are templates so they rarely be edited.
Is this OK to manage via DB? (Personally I think no problem. But I need your
advice for sure)

 On next month I will incharge of web-based app project that:
 - what tool I should use? flash? or flex? or both? or ajax with php? and
 why?
If you are in charge, leave the detailed design decisions to the
developers. 
OK. I understand. But how about opinion for each option? 
Ex: what is advantage or disavantage of each one bases on my web app?
many thanks

-- 
View this message in context: 
http://www.nabble.com/need-your-advice-on-flash-or-flex-tp20227710p20239265.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] need your advice on flash or flex

2008-10-30 Thread vuthecuong



Tom Chiverton-2 wrote:
 
 On Thursday 30 Oct 2008, vuthecuong wrote:
 and because they are templates so they rarely be edited.
 Is this OK to manage via DB? (Personally I think no problem. But I need
 your advice for sure)
 
 I'd stick them in the filesystem, with the location in the database,
 myself.
 
 OK. I understand. But how about opinion for each option?
 
 I prefer Flex, but I'm a coder. Arty types prefer Flash.
 
 Ex: what is advantage or disavantage of each one bases on my web app?
 many thanks
 
 Apples and oranges.
 
 -- 
 Tom Chiverton
 Helping to conveniently extend industry-wide markets
 
 
 
 
 
 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. Any reference to a partner in relation to Halliwells LLP means a
 member of Halliwells LLP.  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.
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links
 
 
 
 
 
Thanks for the reply, I'd go for Flex.
regards
-- 
View this message in context: 
http://www.nabble.com/need-your-advice-on-flash-or-flex-tp20227710p20245877.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] need your advice on flash or flex

2008-10-30 Thread vuthecuong



valdhor-2 wrote:
 
 If it were me...
 
 1.  Use ImageMagick (http://www.imagemagick.org) on the server to
 extract the photoshop layers then modify and convert them.
 
 2.  Have the Flash files reference external images and text. Modify
 these external files rather than the flash files. Leave the flash
 files on disk and use the database to reference where each one is.
 
 You can use whatever tools you are comfortable with. Me, I would use
 PHP on the backend using the ImageMagick API; For the frontend I would
 use Flex. But that is just me.
 
 
 --- In flexcoders@yahoogroups.com, vuthecuong [EMAIL PROTECTED] wrote:

 
 On next month I will incharge of web-based app project that:
 ==
 1) - Read layers of PSD file (photoshop) then create banner of each
 layer.
 - Display images in categories.
 - Drage and drop image into banner (gif file) frame.
 - rotate, resize text and image inside that banner.
 
 2) - insert flash file (.fla?) to DB.
 - load that flash files into web GUI
 - edit text and image inside that flash file.
 - save back to DB.
  ==
 So my questions are:
 - what tool I should use? flash? or flex? or both? or ajax with php? and
 why?
 - about insert flash file (.fla?) to DB, this web app is for
 intranet use
 only, and size of flash file is less then 300kb. So should I need to pay
 attention on performance etc?
 - especially edit text and image inside flash file (fla?), flash or
 flex is
 better to use? why?
 I'm very confused. Please help me. I need your help.
 regards,
 -- 
 View this message in context:
 http://www.nabble.com/need-your-advice-on-flash-or-flex-tp20227710p20227710.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

 
Hi,
Thanks for your opinion. In fact I already decided nearly as same as you
atleast at main point:
imagemagick, php and Flex in combination.

Just one point I would like to clarify more:
You said that  Have the Flash files reference external images and text.
Modify
these external files rather than the flash files.. Okay. It's one of the
option. But tenically can I
load fla file into web UI (using php+SQL) then modify text and image embed
into that fla file (using imagemagick + flex)?
thanks and regards,


-- 
View this message in context: 
http://www.nabble.com/need-your-advice-on-flash-or-flex-tp20227710p20258499.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] load fla file into web UI then edit image inside it

2008-10-30 Thread vuthecuong

Suppose that I biuld a wab app with php as back-end and flex sitting on
font-end with porpose to load fla file to display on web UI, then extract
text and image inside it, edit these text and images, then save back to that
fla file.
- How can do this with Flex or with anything else? 
I just want to know the general way to get this done.
regards


-- 
View this message in context: 
http://www.nabble.com/load-fla-file-into-web-UI-then-edit-image-inside-it-tp20260510p20260510.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] need your advice on flash or flex

2008-10-29 Thread vuthecuong

On next month I will incharge of web-based app project that:
==
1) - Read layers of PSD file (photoshop) then create banner of each layer.
- Display images in categories.
- Drage and drop image into banner (gif file) frame.
- rotate, resize text and image inside that banner.

2) - insert flash file (.fla?) to DB.
- load that flash files into web GUI
- edit text and image inside that flash file.
- save back to DB.
 ==
So my questions are:
- what tool I should use? flash? or flex? or both? or ajax with php? and
why?
- about insert flash file (.fla?) to DB, this web app is for intranet use
only, and size of flash file is less then 300kb. So should I need to pay
attention on performance etc?
- especially edit text and image inside flash file (fla?), flash or flex is
better to use? why?
I'm very confused. Please help me. I need your help.
regards,
-- 
View this message in context: 
http://www.nabble.com/need-your-advice-on-flash-or-flex-tp20227710p20227710.html
Sent from the FlexCoders mailing list archive at Nabble.com.