Adobe Dreamweaver Forums



Last 10 THreads :         drop down menu over flash (Last Post : ltartisel - Replies : 2 - Views : 3 )           »          Flash-PHP Mail Form (Last Post : kglad - Replies : 3 - Views : 4 )           »          Flash Controls Not Displaying in Embedded File (Last Post : kglad - Replies : 5 - Views : 6 )           »          DW Flash Encoder (Last Post : wycn - Replies : 2 - Views : 3 )           »          navigation bar (Last Post : G. Rex - Replies : 5 - Views : 6 )           »          Adobe Flash 10 kills Wimpy (Last Post : ClubEXL.com - Replies : 82 - Views : 955 )           »          static sound (Last Post : 21n9 - Replies : 10 - Views : 11 )           »          flash loader reappears after movie plays (Last Post : kglad - Replies : 4 - Views : 5 )           »          Flex compiler in FlexBuilder and Flex SDK (Last Post : 2009 Matt - Replies : 4 - Views : 5 )           »          Is file too large? (Last Post : kglad - Replies : 1 - Views : 2 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-21-2008, 03:03 PM
ethr
 
Posts: n/a
Diggs:
Default Modules - late binding

I've just started reading about modular programming in Flex 3. So far it
appears to be fairly similar to v2 in that all objects need to be declared at
compile time in order to be available (early binding).

Is it possible to define and instantiate modules at run-time? IE The main app
doesn't know of them at build but can create them from some external reference
(like an XML list via RPC)...



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-21-2008, 04:33 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Modules - late binding


"ethr" <webforumsuser@macromedia.com> wrote in message
news:gg6i58$rjc$1@forums.macromedia.com...
> I've just started reading about modular programming in Flex 3. So far it
> appears to be fairly similar to v2 in that all objects need to be declared
> at
> compile time in order to be available (early binding).
>
> Is it possible to define and instantiate modules at run-time? IE The main
> app
> doesn't know of them at build but can create them from some external
> reference
> (like an XML list via RPC)...
>

http://www.magnoliamultimedia.com/fl...s_Flex_FAQ.pdf

Q4


Reply With Quote
  #3 (permalink)  
Old 11-21-2008, 05:24 PM
ethr
 
Posts: n/a
Diggs:
Default Re: Modules - late binding

I've used this approach in the past. It works but the fact that you need to
(pre)reference every component before you can create it is a nuisance.

What Im curious about is whether this 'modular design' that is touted in v3
does anything to amend this. So far I'm guessing not.

Reply With Quote


  #4 (permalink)  
Old 11-21-2008, 07:33 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Modules - late binding


"ethr" <webforumsuser@macromedia.com> wrote in message
news:gg6qkd$8tr$1@forums.macromedia.com...
> I've used this approach in the past. It works but the fact that you need
> to
> (pre)reference every component before you can create it is a nuisance.
>
> What Im curious about is whether this 'modular design' that is touted in
> v3
> does anything to amend this. So far I'm guessing not.


I think you can change your compiler settings to compile in classes you
haven't referenced at compile time.

Just curious...do you REALLY want every possible class you could potentially
use compiled into a giant swf?


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 12:32 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk