RE: [flexcoders] n00b question :)

2009-01-19 Thread Kenneth Sutherland
It's essentially/simply used for your folder structure and then used to
import in your various classes.

So inside your src folder if you had a folder structure of
src-com-mywebname - view, then any classes inside the folder 'view'
would have a package name of com.mywebname.view and the import would be
com.mywebname.view.*; or com.mywebname.view.myClassName;

 

If your using flexbuilder it names the package for you.  If you create a
new AS file inside a particular folder flexbuilder will give the package
name the same folder location. Should you move an AS file from one
folder to another you will need to rename the package.

 

For more detail check out

http://www.foundation-flash.com/tutorials/packages/

 

and

 

http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhe
lp.htm?context=LiveDocs_Partsfile=0041.html

 

 

Kenneth.

 

 

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Chris
Sent: 18 January 2009 07:43
To: flexcoders@yahoogroups.com
Subject: [flexcoders] n00b question :)

 

I keep seeing code samples using package.

Can someone clarify what this is? I'm not sure what it is and how
it's used and how I/when I should use one.

Thanks in advance :)

--Chris--

 

Disclaimer 
---
This electronic message contains information which may be privileged and 
confidential. The information is intended to be for the use of the 
individual(s) or entity named above. If you are not the intended recipient, be 
aware that any disclosure, copying, distribution or use of the contents of this 
information is prohibited. If you have received this electronic message in 
error, please notify us by telephone on 0131 476 6000 and delete the material 
from your computer. 
Registered in Scotland number: SC 172507. 
Registered office address: Quay House 142 Commercial Street Edinburgh EH6 6LB. 

This email message has been scanned for viruses by Mimecast.
---

RE: [flexcoders] n00b question on dynamic generation of UI components

2007-03-10 Thread Gordon Smith
Your application file itself should be MXML. In other words, you should
have at least an mx:Application tag, or you'll run into various
problems. But every other component instance can easily be
programmatically created using 'new'. I'm not very knowledgeable about
states, but I'm pretty sure that you can programmatically generate them
also.
 
- Gordon



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of systemsforge
Sent: Saturday, March 10, 2007 11:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] n00b question on dynamic generation of UI
components



Just wondering, is it possible to completely programmatically generate
all interface elements at runtime in Flex (i.e. do you HAVE to have
any compile time MXML or can you dynamically generate your entire UI
on the fly using AS if you so wish).

Simple example, want to generate forms for CRUD. I could code gen a
set of MXML files or I could (hopefully) write dynamic AS that'd take
a field list and create the appropriate components at runtime.
Ignoring performance issues for now, are there any limitations/gotchas
in completely dynamically generated UIs based on AS?

Also, can you dynamically add/edit/delete view states just using AS?

Any hints/tips much appreciated.

Best Wishes,
Peter



 


Re: [flexcoders] n00b question on dynamic generation of UI components

2007-03-10 Thread Benjamin Schwehn
systemsforge wrote:
 Just wondering, is it possible to completely programmatically generate
 all interface elements at runtime in Flex (i.e. do you HAVE to have
 any compile time MXML or can you dynamically generate your entire UI
 on the fly using AS if you so wish).

You sure can, matter of fact -- as I understand it -- mxml files are all 
converted to AS before compilation, so you don't compile mxml ever 
anyways. So logically, anything you can do in mxml, you can do in AS.

You can have a look at the generated AS if you use the compiler option 
-keep-generated-actionscript


hth
Ben


Re: [flexcoders] n00b question: Flex compnents

2005-03-02 Thread alf
http://www.macromedia.com/software/flex/productinfo/features/
Quoting Eric Diamond [EMAIL PROTECTED]:
I am a visual designer who is looking into Flex for a client solution.
I know there are standard components like accordions, datagrids, etc.
that can be used to create an interface. Is there a guide that lists
all of them out so I can know what is out-of-the-box-standard and what
might have to be custom written? I am having a hard time find the right
stuff on the Macromedia site. Can someone point me to the light? Thanks
in advance!
---
Eric Diamond
firstwater
where clarity comes first
847 674 6568
847 414 6467 mobile
AIM: ericdiamondmm





RE: [flexcoders] n00b question: Flex compnents

2005-03-02 Thread Dennis Baldwin



Version 1.5 
controls: http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/index.html

-Original Message-From: Eric Diamond 
[mailto:[EMAIL PROTECTED]Sent: Tuesday, March 01, 2005 7:55 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
n00b question: Flex compnentsI am a visual designer who 
is looking into Flex for a client solution. I know there are standard 
components like accordions, datagrids, etc. that can be used to create an 
interface. Is there a guide that lists all of them out so I can know whatis 
out-of-the-box-standard and what might have to be custom written? I am having 
a hard time find the right stuff on the Macromedia site. Can someone point me 
to the light? Thanks in advance!---Eric 
Diamondfirstwaterwhere 
clarity comes first847 
674 6568847 414 6467 mobileAIM: ericdiamondmm


Re: [flexcoders] n00b question: Flex compnents

2005-03-02 Thread Eric Diamond
Thanks!!!
---
Eric Diamond
firstwater
x-tad-smallerwhere clarity comes first

/x-tad-smaller847 674 6568
847 414 6467 mobile
AIM: ericdiamondmm
On Mar 1, 2005, at 8:05 PM, [EMAIL PROTECTED] wrote:

http://www.macromedia.com/software/flex/productinfo/features/

 Quoting Eric Diamond [EMAIL PROTECTED]>:

 > I am a visual designer who is looking into Flex for a client solution.
 > I know there are standard components like accordions, datagrids, etc.
 > that can be used to create an interface. Is there a guide that lists
 > all of them out so I can know what is out-of-the-box-standard and what
 > might have to be custom written? I am having a hard time find the right
 > stuff on the Macromedia site. Can someone point me to the light? Thanks
 > in advance!
 > ---
 > Eric Diamond
 > firstwater
 > where clarity comes first
 >
 > 847 674 6568
 > 847 414 6467 mobile
 > AIM: ericdiamondmm








Yahoo! Groups Sponsor

x-tad-smallerADVERTISEMENT/x-tad-smaller22305_0205_016_b_300250_a.gif>
l.gif>

Yahoo! Groups Links

	• To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
 
	• To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 
	• Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.