Adobe Dreamweaver Forums



Last 10 THreads :         Flash movie not working in html (Last Post : WEBDavid - Replies : 0 - Views : 1 )           »          load xml into mc symbols (Last Post : DigitalUprising - Replies : 0 - Views : 1 )           »          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 )           »         


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-25-2008, 08:23 PM
projectproofing
 
Posts: n/a
Diggs:
Default Flex Builder Getting On LAST Nerve

I like to start my AS files by adding all the import statement of all the items
I know I am going to need. However, if I forget one and FB is nice enough to
add it form me, it tends to delete a couple of mine (seemingly randomly, except
for Alert...It hates that one).

Is this a 'feature'? Is it a bug? Can it be stopped. I appreciate adding ones
on the fly for me, but my apps are striking errors since it deletes them for me.



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-25-2008, 11:33 PM
WestSide
 
Posts: n/a
Diggs:
Default Re: Flex Builder Getting On LAST Nerve

Hi,

This has happened to me just recently. I thought I was going crazy. I know my answer does not help in terms of a resolution, but you're not alone. I am using FB 3

-Westside
Reply With Quote
  #3 (permalink)  
Old 12-05-2008, 02:33 PM
projectproofing
 
Posts: n/a
Diggs:
Default Re: Flex Builder Getting On LAST Nerve

I found out it is a feature/bug in Flex Builder. Its supposed to remove unused imports before the code is compiled to reduce the code size. You can turn it off in the preferences area.
Reply With Quote


  #4 (permalink)  
Old 12-05-2008, 03:32 PM
Ansury
 
Posts: n/a
Diggs:
Default Re: Flex Builder Getting On LAST Nerve

It always works right for me. Why waste time adding them manually when code autocompletion will add it for you?
Reply With Quote
  #5 (permalink)  
Old 12-05-2008, 06:13 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Flex Builder Getting On LAST Nerve


"Ansury" <webforumsuser@macromedia.com> wrote in message
news:ghbhgr$3us$1@forums.macromedia.com...
> It always works right for me. Why waste time adding them manually when
> code autocompletion will add it for you?


For instance, if you're using Flex Builder to edit the AS file of a Flex
component created with the Flex Component kit, Flex will take out the
MovieClip import statement...


Reply With Quote
  #6 (permalink)  
Old 12-05-2008, 07:42 PM
Ansury
 
Posts: n/a
Diggs:
Default Re: Flex Builder Getting On LAST Nerve

Then it's a feature *with* a bug. There's probably a ticket in JIRA already
(below link).

I think I recall seeing something like this happen but it's not a regular
thing for me and I probably shrugged it off at the time.

Reply With Quote


  #7 (permalink)  
Old 12-10-2008, 05:43 AM
WestSide
 
Posts: n/a
Diggs:
Default Re: Flex Builder Getting On LAST Nerve

@Ansury - Sometimes it makes sense to learn to do things without the tool in
the event the tool is not available then what? Dreamweaver will generate code
for you but just because it does should you? And is the code clean that is
"generated".

-Westside

Reply With Quote
  #8 (permalink)  
Old 12-10-2008, 03:32 PM
Ansury
 
Posts: n/a
Diggs:
Default Re: Flex Builder Getting On LAST Nerve

lol - The tool's there to use, please don't lecture me. Besides, there's
nothing there to learn, it's just a couple of import statements. The Eclipse
Java plugin organizes imports just fine and it's a big time saver, FB's should
work the same, ideally.

Reply With Quote
  #9 (permalink)  
Old 12-10-2008, 03:42 PM
rtalton
 
Posts: n/a
Diggs:
Default Re: Flex Builder Getting On LAST Nerve

And here's another noob question:
Does the FB3.2 compiler ignore unused import statements in both AS and MXML
files? I'm always going back and removing unused import statements manually
when cleaning up my code-is there a better way?

Reply With Quote


  #10 (permalink)  
Old 12-10-2008, 03:53 PM
Ansury
 
Posts: n/a
Diggs:
Default Re: Flex Builder Getting On LAST Nerve

WestSide - but I don't disagree with you fundamentally regarding understanding
how things work under the hood, which I assume you are trying to get at. I
still prefer "notepad" or such for html edit.. even if something cleaner than
Dreamweaver or Frontpage ever comes around, and so on.

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