[flexcoders] Show ProgressBar upon loading Modules

2009-08-27 Thread yonghan79
Hi all , i need help please..I've suceeded to show progressbar upon
loading modules within FlexMDI Window,but i haven't figured out how to
hide the progressbar upon ModuleEvent.READY.. I pu the codes here  my
codes http://www.pastebin.org/12640  ..Thanks a lot...



[flexcoders] Loading module within flexMDI

2009-08-25 Thread yonghan79
Hi all,i want to ask.Does anyone ever before loading modules within flexMdi 
window...Thanks..



[flexcoders] Combobox like on http://www.bombaysapphire.com

2009-08-11 Thread yonghan79
Hi all,i wonder does anyone ever before create combobox like the one
here  bombaysapphire.com born detail combobox
http://www.bombaysapphire.com  .What did the creator used?Thanks a
lot..



[flexcoders] Amfphp inside module

2009-08-04 Thread yonghan79
Hi all,i want to ask.Does anyone ever before creating application using amfphp 
within modules?Right now i'm trying to create an aplication using amfphp,and 
access the methods within modules..When i run try to save data,i got errors 
like this :

TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
at modules::Kategori/addKategori()[C:\Documents and Settings\handoyo\My 
Documents\Flex Builder 3\administrator\src\modules\Kategori.mxml:56]
at modules::Kategori/___Kategori_Button1_click()[C:\Documents and 
Settings\handoyo\My Documents\Flex Builder 
3\administrator\src\modules\Kategori.mxml:109]

Can someone point me please?Thanks a lot..




[flexcoders] Re: Amfphp inside module

2009-08-04 Thread yonghan79

--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

 source not found ?? When does it produce this error? When it breaks?

 Is amf null when it breaks? How do you initialize amf?

 Perhaps posting more code will help us to help you.

 I find it hard to believe you have never used debug before.



 --- In flexcoders@yahoogroups.com, Yesaya handoyo yonghan79@ wrote:
 
  Sorry,i didn't use debug before...It return source not found..But
when
  i didn't use modules,it works fine with saving data to database...
 
  On 8/4/09, Yesaya handoyo yonghan79@ wrote:
   amf is the id for the amfphp service,i try to set breakpoint
there.But
   it doesn't break..I just have to click on the line right to set
   breakpoint?
  
   On 8/4/09, valdhor valdhorlists@ wrote:
   OK, so what is amf and where is it initialized?
  
   If you put a breakpoint on line 55 and then when it breaks, is
amf null?
  
   --- In flexcoders@yahoogroups.com, Yesaya handoyo yonghan79@
wrote:
  
   I haven't try to set breakpoint on line 55...Should i pass the
string
   to the main application first instead of directly accessing
methods
   within modules??Also i put the code of line 55 and 109 here
   http://www.pastebin.org/6427
  
   On 8/4/09, valdhor valdhorlists@ wrote:
AMFPHP runs on the server side so it has no bearing on your
error.
   
What happens at Kategori.mxml lines 56 and 109?
   
Have you tried setting a breakpoint on line 55 and seeing what
object
is
null?
   
   
--- In flexcoders@yahoogroups.com, yonghan79 yonghan79@
wrote:
   
Hi all,i want to ask.Does anyone ever before creating
application
using
amfphp within modules?Right now i'm trying to create an
aplication
using
amfphp,and access the methods within modules..When i run try
to save
data,i got errors like this :
   
TypeError: Error #1009: Cannot access a property or method of
a null
object reference.
at modules::Kategori/addKategori()[C:\Documents and
Settings\handoyo\My
Documents\Flex Builder
3\administrator\src\modules\Kategori.mxml:56]
at modules::Kategori/___Kategori_Button1_click()[C:\Documents
and
Settings\handoyo\My Documents\Flex Builder
3\administrator\src\modules\Kategori.mxml:109]
   
Can someone point me please?Thanks a lot..
   
   
   
   
  
  
  
  
  
 

I set the breakpoint on line 55,56,109,110..When i debug,here are the
errors in the console

[SWF] /seven7com/administrator/administrator-debug/index.swf - 429,359
bytes after decompression
Error #2046: The loaded file did not have a valid signature.
Failed to load RSL framework_3.4.0.6955.swz
Failing over to RSL framework_3.4.0.6955.swf
[SWF] /seven7com/administrator/administrator-debug/index.swf - 1,155,248
bytes after decompression
[SWF] /seven7com/administrator/administrator-debug/modules/Kategori.swf
- 116,239 bytes after decompression
Error #2046: The loaded file did not have a valid signature.
Failed to load RSL framework_3.4.0.6955.swz
Failing over to RSL framework_3.4.0.6955.swf
[SWF] /seven7com/administrator/administrator-debug/index.swf - 1,155,248
bytes after decompression
TypeError: Error #1009: Cannot access a property or method of a null
object reference.
 at modules::Kategori/addKategori()[C:\Documents and
Settings\handoyo\My Documents\Flex Builder
3\administrator\src\modules\Kategori.mxml:56]
 at modules::Kategori/___Kategori_Button1_click()[C:\Documents and
Settings\handoyo\My Documents\Flex Builder
3\administrator\src\modules\Kategori.mxml:109]

I put the codes here Kategori.mxml http://www.pastebin.org/6442  and
index.mxml http://www.pastebin.org/6444  .. Thanks a lot



[flexcoders] Unload several modules at the same time

2009-08-03 Thread yonghan79
Hi all,i want to ask.Suppose i got an application with several modules..Suppose 
i load the modules,then i want to unload them at the same time,is it 
possible?Also if i put a close button within the modules,what code should i 
put?Thanks a lot... ^_^



[flexcoders] ContextMenu in DataGrid

2009-07-30 Thread yonghan79
Hi all,i've managed to populate items in DataGrid by using amfphp and 
arraycollection..I'm intending to use ContextMenu,i follow the examples from 
blog.flexexamples.com..It shows warning : Data Binding will not be able to 
detect assigment to cm. Suppose something wrong there?Please point me..Thanks 
a lot..



[flexcoders] custom validate email with tooltip

2009-07-25 Thread yonghan79
Hi all,does anyone ever before create custom validators for emails?For example 
i'm typing my email,when i don't type the @ then the tooltip will show up and 
display you are missing the @,when i don't type the .com,the tooltip will 
display you are missing the domain...Do anyone mind to point me how to do 
it?Thanks a lot.. 



[flexcoders] What kind of data types should i use?

2009-07-24 Thread yonghan79
Hi all,i need help please..I got fields in mysql table which use decimal and 
datetime..I'm intending to use VO,what kind of data types should i use? I post 
the sql and the php class here in http://www.pastebin.org/3965 .. Thanks a 
lot...




[flexcoders] create www.example123.com/#/testing

2009-07-19 Thread yonghan79
Hi all,i want to ask does anyone ever before create flex 3 application that for 
example i click on the menu testing then the address on the browser address 
will be like www.example123.com/#/testing,when i click on the example,it will 
be www.example123.com/#/example...Similiar in the php based application which 
the difference was at the end of the file,the .php was not shown...Do you mind 
to teach me how to do it in flex???Thanks a lot...



[flexcoders] Trying to change Flex 3 ToggleButtonBar dataprovider on user or admin log in

2009-07-12 Thread yonghan79
Hi all,i'm trying to change Flex 3 ToggleButtonBar dataprovider on user or 
admin log in..I'm trying to use 2 viewstack,one for user,one for admin and i 
got a component where the login form is in the component..What should i do to 
define the dataprovider on the mainbased on user log in??Thanks a lot... 



[flexcoders] Set up zendamf with flexbuilder

2009-07-10 Thread yonghan79
Hi all,i follow the tutorial about Integrate Flex Builder 3.0  Php easly with 
the fresh ZendAMF..I got this error message 

[RPC Fault faultString=Send failed faultCode=Client.Error.MessageSend 
faultDetail=Channel.Connect.Failed error NetConnection.Call.BadVersion: : url: 
'http://localhost/zend_gateway.php']
at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:220]
at 
mx.rpc::Responder/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responder.as:53]
at 
mx.rpc::AsyncRequest/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:103]
at 
mx.messaging::ChannelSet/faultPendingSends()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\ChannelSet.as:1482]
at 
mx.messaging::ChannelSet/channelFaultHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\ChannelSet.as:975]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at 
mx.messaging::Channel/connectFailed()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\Channel.as:997]
at 
mx.messaging.channels::PollingChannel/connectFailed()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\channels\PollingChannel.as:354]
at 
mx.messaging.channels::AMFChannel/statusHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\channels\AMFChannel.as:390]

Where did i go wrong..Also i don't know how to set up the bootstrap..I hope 
that someone is willing to point me the right direction..Thanks a lot... ^_^