Re: [flexcoders] External CSS file in Flex 4

2010-09-04 Thread Haykel BEN JEMIA
Hi,

you could put in 'mycss.css' the default settings and then with PHP only
send the values that are specific for the user in a simple format and apply
them with 'styleManager.setStyleDeclaration'.

Haykel Ben Jemia

Allmas
Web  RIA Development
http://www.allmas-tn.com




On Fri, Sep 3, 2010 at 1:54 PM, Ghost Hack ghoxth...@yahoo.com.br wrote:



 Hi people,

 i'm having some trouble while using the tag fx:Style
 source=assets/mycss.css /. When I generate a release of my project, Flex
 4 embed my CSS file into compiled application, while i want to use PHP to
 generate dynamic CSS based on the user configuration in database.

 Is there any workaround i'm missing?


 Thanks in advance,
 Marco Lacava.
  



[flexcoders] Using modules and remote objects

2010-09-04 Thread ZIONIST
Hi guys i have some issues concerning modules and remote objects. i have an 
application that is split into modules and in each i use remote objects to 
display data from the database. the problem is there is no data being displayed 
and when i try to use the same code in a single app without using modules, the 
data is displayed. could someone please help me out here. i really need to use 
modules because it helps reduce the size of my app. 



[flexcoders] Which URL to use for amfEndpoint in LCCS Project?

2010-09-04 Thread bashababob
I'm new to AIR development.  I'm trying to get this sample app running in Flash 
Builder:

http://coenraets.org/blog/2010/08/multi-user-video-tic-tac-toe-for-and roid/  
http://coenraets.org/tictactoe/tictactoe.fxp

 

But I can't figure out what URL to put in as the amfEndpoint in the 
app-config.xml file that sets the remoteObject.endpoint to get it to work.  Do 
I have to be running ColdFusion server locally or something?

 

It would be awesome if that's a quick simple answer someone can give me.  I'm 
sure it's something silly.  Thanks for your help and patience!



[flexcoders] focus manager questions

2010-09-04 Thread hamann . w


Hi,

is there a simple way to
a) get rid of the yellow rectangle (the object listens to focusin and focusout 
event in order
to display its focussed state)
b) get a handle on the (application) focus manager (in order to use its 
setFocus() method instead of
setting stage.focus)

Many thanks
Wolfgang Hamann 



[flexcoders] local clipboard

2010-09-04 Thread hamann . w

Hi,

I would like to follow the suggestions and implement a local clipboard by 
capturing
keystrokes (ctl-c, ctl-v, ctl-a for select all). Unfortunately, FP10 (on 
linux) returns
a keycode of 0x for all 3 of these. The same is true when running 
inside a browser.
Is there a way to get these codes (perhaps at the
cost of no longer using the system clipboard)?

Another keyboard issue: with FP9, the ALT key was available to the application.
With FP10, ALT dragging will move the entire FP on the screen

Wolfgang Hamann




[flexcoders] Re: External CSS file in Flex 4

2010-09-04 Thread ghoxthack
Thanks for the answer, it looks the simplest way to do the job.

Anyway, if i'm not missing anything, Adobe had made the worst project option 
when talking about personalized styles and CSS. So much have been said about 
Spark and the separation of design and logic, and the only way to apply easily 
a personalized server side persisted style is doing it manually.

I was applying styles manually parsing CSS and looking for selectors, applying 
it directly to CSS should help me a lot. Thanks Haykel.

Sorry the bad english.

Cheers,
Marco Lacava.


--- In flexcoders@yahoogroups.com, Haykel BEN JEMIA hayke...@... wrote:

 Hi,
 
 you could put in 'mycss.css' the default settings and then with PHP only
 send the values that are specific for the user in a simple format and apply
 them with 'styleManager.setStyleDeclaration'.
 
 Haykel Ben Jemia
 
 Allmas
 Web  RIA Development
 http://www.allmas-tn.com
 
 
 
 
 On Fri, Sep 3, 2010 at 1:54 PM, Ghost Hack ghoxth...@... wrote:
 
 
 
  Hi people,
 
  i'm having some trouble while using the tag fx:Style
  source=assets/mycss.css /. When I generate a release of my project, Flex
  4 embed my CSS file into compiled application, while i want to use PHP to
  generate dynamic CSS based on the user configuration in database.
 
  Is there any workaround i'm missing?
 
 
  Thanks in advance,
  Marco Lacava.
   
 





[flexcoders] Re: flashBuilder.ini

2010-09-04 Thread Mike
I have the exact same hardware setup as you - 12 GB RAM on an i7 930 is
a wonderful thing!  Here are my settings:
-nlen_US-startupplugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090\
715.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win3\
2.x86_1.0.200.v20090519-vmargs-Xms800m-Xmx800m-XX:MaxPermSize=384m-XX:Pe\
rmSize=128m-Djava.net.preferIPv4Stack=true
I would like to increase Xmx to a larger value, but get an error when I
do so.  Can anyone paste a working FlashBuilder.ini file with a larger
value?
Mike


Re: [flexcoders] Using modules and remote objects

2010-09-04 Thread Alex Harui
It is best if the service and data objects are all in the main appdomain.  
FP10.1 has some fixes to make some of it better, and allows for the service and 
data objects to be in the same child appdomain, but having a service in the 
main and data objects defined in the child probably isn’t going to work.


On 9/4/10 3:04 AM, ZIONIST stinas...@yahoo.com wrote:






Hi guys i have some issues concerning modules and remote objects. i have an 
application that is split into modules and in each i use remote objects to 
display data from the database. the problem is there is no data being displayed 
and when i try to use the same code in a single app without using modules, the 
data is displayed. could someone please help me out here. i really need to use 
modules because it helps reduce the size of my app.






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] focus manager questions

2010-09-04 Thread Alex Harui
If you are using Flex applications, there shouldn’t be a yellow rectangle, and 
there should be a focusManager variable.


On 9/4/10 1:38 AM, haman...@t-online.de haman...@t-online.de wrote:








Hi,

is there a simple way to
a) get rid of the yellow rectangle (the object listens to focusin and focusout 
event in order
to display its focussed state)
b) get a handle on the (application) focus manager (in order to use its 
setFocus() method instead of
setting stage.focus)

Many thanks
Wolfgang Hamann






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui