I tried to create a class extends from
MovieClip and can added mx.controls.Text
I tried MovieClip/UIMovieClip...doesn't work !
I don't use Sprite as all other controls
that I will aded is from UIComponent based.
package {
import mx.flash.UIMovieClip;
import mx.controls.Text;
import
Error in StyleManager.as
var styleManager:IStyleManager2 =
IStyleManager2(moduleFactory.getImplementation(mx.styles::IStyleManager2));
Any idea ?
var sp:Canvas = new Canvas;
sp.height = 100;
sp.width = 100;
sp.graphics.beginFill( 0xff , 1 );
I do this in pure action script.
Haven't use mxml.
--- In flexcoders@yahoogroups.com, itdanny2002 itdann...@... wrote:
Error in StyleManager.as
var styleManager:IStyleManager2 =
IStyleManager2(moduleFactory.getImplementation(mx.styles::IStyleManager2));
Any idea ?
var
I do this in pure action script. The startup is UIMovieClip / MovieClip
--- In flexcoders@yahoogroups.com, itdanny2002 itdann...@... wrote:
I do this in pure action script.
Haven't use mxml.
--- In flexcoders@yahoogroups.com, itdanny2002 itdanny33@ wrote:
Error in StyleManager.as
I use navigateToURL(new URLRequest(URL),_blank) to open a new window
How can I open in in a new tab instead ? I try to hold CTRL and then click. it
works in other web page but not flash.
We want to use a flex program (FP7) on
mobile. However, not much mobile supports.
Both Flex Builder (Output Flash) and
Flash CS4 (ouput Flash Lite) support ActionScript.
Can I change all code to ActionScript in Flex Builder
and then use it in Flash CS4 ?
Please show me the way. Thank you very
Or, I should wait till FP 10
since it supposed to be used
in all mobile ... in future.
--- In flexcoders@yahoogroups.com, itdanny2002 itdann...@... wrote:
Thanks for your reply. OK. Then.
I may write a new small interface
program to extract and display data
from server rather than a full
Is there a way to test various flash player
version in Flex Builder ? Some of our computers
is locked and won't change flash player version
in short period of time. Anyhow, some can use
latest version. How can I set my computer so that
I can test both ? Or, I just set a lower version
e.g. 7.
Dear All,
I have a flex program and understand
that Flash Player 10 will be released
soon which Adobe claimed that it can
work in S60, Androd...or even iPhone.
Do you know which mobile can run flash
at this moment ? Or, How can I do that ?
Otherwise, I need to learn Flash Lite
and write my
Tom,
If it can run FP9, that's great !
Any hints ? Which model ?
D.C.
I am developing an application
which suppose to run on mobile.
Should I do it in FLEX and run
it in Flash Player 10 or I should
develop it in Flash Lite ? I
write some programs by using FLEX
but never try Flash Lite.
Which way I should go ?
Thanks
Dear All,
I have Flex program as client with PHP on
server side. I use web hosting. How can I
protect my source code ? Seems that Web
Hosting Company can read my files or even
decompile if necessary.
Is there any encoding method (something
like exe file) on client and server side ?
Or, I
An application with only 2 controls
ComponentA is a multi-line text.
ComponentB is TextInput.
I capture PgUp/PgDn and scroll the component.
However, when focus on component B, PgUp/PgDn
will cause my cursor move to the end or beginning
of word together with scrolling. I want to scroll
without
Success. Keep selectionBeginIndex and selectionEndIndex
in TextInput KeyDown() event. Then, restore it in next
KeyDown event. Thank you.
I know that there is a function to find
next focus component. However, how can
I know ALL focus component inside a
Container ?
The following function can find next only:-
focusManager.getNextFocusManagerComponent
If I check all childs within component, I can't
find event though I check its
I use following function to get but not success.
Many IMAGES, INPUT button has been collected.
Of course, I can filter out but there are so many
controls. Any idea to modify the function ? I wanna
to get all tabbable components in a container.
public function
Hi Alex,
As in my example, it did. It can get back
the focus but it shifts to other control
(test2) instead of original one (test1).
I use I.E.
It has focus but shift to other control
I guess that it capture the Tab key while
I press Alt-Tab to switch back.
Anyway, I write a rountine in DeActivate
event to capture last focus. And then,
restore it in Activate event. However, I
find another problem ... if I press the key
I write a simple application with 2 textinput control.
mx:VBoxmx:TextInput id=test1/mx:TextInput id=test2//mx:VBox
Case 1:
a) Click test1 control.
b) Switch to other application
c) Click the application bar and switch back.
d) test1 is on focus. OK ! No Problem !
Case 2:
a) Click test1 control.
It works ! Thank you.
I have below sample code which display
the result of counter. How can I
display the progress by using some
screen refresh function ?
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
mx:Script
![CDATA[
Thank you very much.
Hi, may I know how to get parent style ?
when I get the style, it returns error.
I found that the stylename is null and
return undefined when got Color style.
How can it search the chain and get its parent
style ? Many Many Thanks.
Please check the code:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute backgroundGradientAlphas=[1.0, 1.0]
backgroundGradientColors=[#33, #33]
mx:Script
![CDATA[
[Bindable]
private var setData:Array = [
{label:Menu,
Thank you but I wanna to draw the circle
or checkmark instead of using symbol. I have
tried to embed image files. It works. However,
I wanna to use the color as same as text.
Since the color of my application can be changed,
I can't predict what color user used and I can
prepare so many different
Does anyone knows how to change the
color of bullet (radio) or checkmark
in menu box ? Always black.
, highlightAlphas
and themeColor.
Mike
On Sun, Oct 19, 2008 at 7:20 AM, itdanny2002 [EMAIL PROTECTED] wrote:
Which style name control the color
of bullet / checkmark in menu control ?
--
Teoti Graphix, LLC
http://www.teotigraphix.com
Teoti Graphix Blog
http
checkmark:
iconColor - the color of the checkmark
iconDisabledColor - the color of the checkmark when the control is
disabled
Just set these to the colors you want.
~randy
--- In flexcoders@yahoogroups.com, itdanny2002 itdanny33@ wrote:
Does anyone knows how to change the
color
Which style name control the color
of bullet / checkmark in menu control ?
Anyone has idea ?
Many Thanks.
P.S. I have try to modify
mx.skins.halo.RadioButton.as.
However, when it uses getstyle,
it can't get the borderColor or
any others. The return is null.
Dear All,
May be I miss it. Normally, when menu control
display sub-menu, is is on right side. How to
change it on left side. My control is on the
top-right corner. When it display submenu,
it is on the top of original menu. It doesn't
mvoe to left side. If it can't, any workaround ?
How to refresh screen ?
Though I increase font size,
it doesn't refresh. I use
invalidatesize() but not success
I'm confused. It works for
Application.application.setstyle(fontSize,12)
--- In flexcoders@yahoogroups.com, itdanny2002 [EMAIL PROTECTED] wrote:
How to refresh screen ?
Though I increase font size,
it doesn't refresh. I use
invalidatesize() but not success
Dear All,
Thank you but none of suggestions work.
Finally, I deleted all files in folder
including configuration files. And then,
recreate the project. It works fine now.
Is there a simple way to set the fontsize
according to one global value, such as I
can declare fontsize:100% or fontsize:+1
in css ?
Dear All,
How to refresh all projects in flex builder ?
I delete some files in corresponding directories.
Those files are not used. Anyhow, a blue folder
appear, I can't remove it.
Is there any files to keep these project information ?
If I click PopUpButton, it will display
a menu. How can I align the menu (not label
inside) to the right of PopUpButton.
e.g. .. Menu Button
..The long Menu A ...
..The long Menu B ...
..The long Menu C ...
I have tried to adjust X value of menu control
but not
I don't prefer to type it in template.html since
it is for deployment and copy to production server.
I tried to set it in Project's properties
(RUN - URL or path to run) and becomes
..abcde.html#123
It doesn't work.
Hi,
How to set the default running parameter for testing ?
Normally, we create a program named abcde. We
run path+abcde. However, I want to add some
parameter after the program for testing e.g.
path+abcde+#123 i.e.http: ...abcde#123
Now, I run the program and then type #123 on url
I have main application and many modules.
While I do the coding in modules, I need
to Application.application for refering
to variable and functions in Main application.
All works but I want to type shorted name.
Any methods ?
I got a problem.
I have my own domain name and hosts in ISP (A)
e.g. www.abc.com
My Flex program is located in another ISP (B).
e.g. www.xyz.com
So, I configure the frame in ISP(A) to ISP (B) file.
Then, if user type www.abc.com, it displays the
content of www.xyz.com. It runs prefectly. The
This method only show current URL,
not the one in browser address.
This method only show current URL,
not the one in browser address.
Very simple program, use a textinput box :-
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute width=100%
mx:TextInput x=10 y=10/
/mx:Application
Then, press ALF-F to access File menu of FireFox
or press Ctrl-L or ALT-D to access Address
I can't change the background color of
popupbutton even I set
fillAlphas: 1.0, 1.0, 1.0, 1.0;
fillColors: #00, #00;
I want totally black background with a white text
rather than gradient background.
Any helps from you ? Many Thanks !
Dear Jon,
Many thanks.
Danny
Jon, it works on purely black but not on purely white
any idea ?
All ALT-?? key, such as ALT-F to access file menu bar, ALT-D ...
If you want to use 2 applications, you can ask
login in first application and then upon the
user-id and password checking, you can use
Loadmodule to call another application.
Very simple program, ust a textinput box :-
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute width=100%
mx:TextInput x=10 y=10/
/mx:Application
Then, I can't use keyboard to access FireFox menubar
though it can be access by mouse.
Thanks Million. The program is useful.
I filter all properties by width and
check which component has changes if just
adjusting vertical height.
I got it but don't understand. The width
of FlexSprite content pane has been
increased. All others component doesn't.
What's that ?
If object is not on screen, e.g. below the screen,
I need to scroll up the screen to see it. I use
the following but not success.
// To check if it is below
while (MyObj.y (verticalScrollPosition+application.height))
{
verticalScrollPosition=verticalScrollPosition+application.height;
}
//
Last time, I found that we can't access menubar by keystroke
in FireFox while using Flex program. Moreover, we can't press
ALT-D in IE. Otherwise, it can't move back by TAB.
Today, I found another interesting point. I create a Canvas
and add textarea component on to it. No scrollbar display
if it
I create Vbox with fixed width. Then I add Canvas
inside. Afterwards, I add TextArea as child. Scrollbar
policy of canvas is off.
If there are many childs but within boundary e.g. 700 pixel.
No scrollbar. If it is over screen height e.g. 900 pixel.
It displays scrollbars. Anyway, it displays
Thank you. Your hints correct me. I found that
the extra width which cause the display of
horizontal bar is vertical scrollbar.
However, no matter what width value I set, the
additional vertical bar will cause additional
horizontal bar. For example, I see application width
is 1000. All child
You can set a public variable to keep the progress
within your for() loop and then before running the
routine, create SetTimeOut() loop to get the value.
I write a very simple with a TextInput Box.
On IE, I can use Tab to move around IE menubar
and my application. But, when I press ALT-D to address
bar, I can't use any method to go it back to my
application except use a mouse to click it.
On FireFox, I cannot use hotkey such as ALT-F to
access
I wanna to put many textarea component
on to HBox container horizontally and go
to next line if it is full. However, HBox
can't auto wrapping like Tile. Any container
work likes this ? If I need to write my
own, where is the starting point ?
If I use Tile, I need to make it not standard size
If I
System can detect MoveRight() but not Control Key !
this.addEventListener(KeyboardEvent.KEY_DOWN, fxKeyDn, true);
private function fxKeyDn(evt:KeyboardEvent):void{
switch (evt.keyCode){
case Keyboard.RIGHT:
evt.stopImmediatePropagation();
if (evt.ctrlKey) {
I found that my code can work in
Ctrl-Up Up
Ctrl-Dn Dn
but not
Ctrl-Left Left
Ctrl-Right Right
I tried to dispatch scroll down event when user press PgDn but in vain:
case Keyboard.PAGE_DOWN:
var PgDnEvt:ScrollEvent = new ScrollEvent(ScrollEvent.SCROLL);
PgDnEvt.direction=ScrollEventDirection.VERTICAL;
PgDnEvt.detail=ScrollEventDetail.PAGE_DOWN;
I put VBox on stage with many Text component.
Some Text components are below the screen.
If I use mouse to click the right scrollbar,
it will move down. Anyway, I wanna to click
some button and move fast to see hidden Text
component which is far away from top.
Actually, it likes html-page. We
Success ! Thank you very much.
I think too much on this issues !
Greg, it is about several MB data and may be more.
Anyhow, no matter how geat the talk is. We need
a practical solution at current moment, not in future.
As a result, we're now building a prototype
to prove the concept in both product and see
whether it solves my users problems. For
More ..
I can request users to release the size setting.
However Sharedobject can't like datebase which has
table structure and indexing. If it is, so great !
I think about to down it all into memory (array)
and then do sorting or whatever actions. But I
need to test, that's why we are now
(Application.application);
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
--- On Tue, 8/12/08, itdanny2002 [EMAIL PROTECTED] wrote:
From: itdanny2002 [EMAIL PROTECTED]
Subject: [flexcoders] Loop through all visual components
To: flexcoders@yahoogroups.com
Date
Thank you. Through your lens, I did it by :-
1. Make a custom component with custom properties
2. Make that properties be [Bindable]
3. Write a private function to change what I need
while the cusom properties change.
Then, no need to loop through all component, and
no need to use function
I have created a custom button and used it
throughoutly in my FLEX application. How
can I change it dynamically by looping through
all components ? Is there any like children
stuff and then use ValidateDisplayList to
make it refresh ? Actually, it likes changing
the skin dynamically. But I need
I know that Windows keep the default
path of My Music in Registry Key.
How can I get it in FLEX or AIR ?
--- In flexcoders@yahoogroups.com, itdanny2002 Chow.Danny@
wrote:
I know that Windows keep the default
path of My Music in Registry Key.
How can I get it in FLEX or AIR ?
I need to build a web-based Application which
has data in Client Server, sync is required.
AIR
---
Support SQLite in client side - It's ok but we
want web-based so that installation is not
required. Go to anywhere, just a click to see
data.
FLEX
It can't have database operation such
?
Thanks
--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:
Anything that lives in a browser is not going to be able to have a
local
database, going to microsoft won't change that.
On Fri, Jul 25, 2008 at 11:03 AM, itdanny2002 [EMAIL PROTECTED]
wrote:
I need to build
if the next
Windows / OS X
is awful?
-Josh
On Fri, Jul 25, 2008 at 2:00 PM, itdanny2002 [EMAIL PROTECTED] wrote:
But if the only to do the sync is to
install a program in desktop. Then,
any benefit of AIR is better than
Microsoft'stuf ? Sorry, it is a management
question so that we can
Hi All,
I found that a lot of FLEX application used
SQLite. However, most of them is in AIR. Can
it be used in web-based and do sync with server ?
I wanna to design a web application which has data
in client PC and sync with data in server side. Can
it be ? Any light/direction on it ?
DC
or how to go about it.
--Tim Rowe
Software Engineer
carsales.com.au
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of itdanny2002
Sent: Thursday, 24 July 2008 11:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Can SQLite
on
multiple computers.
- Original Message
From: itdanny2002 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 23, 2008 6:51:39 PM
Subject: [flexcoders] Can SQLite work in non-AIR envirnoment ?
Hi All,
I found that a lot of FLEX application used
SQLite
may be better off looking into the WAMP project. This is a
simple
installer to get you Apache, MySQL and PHP on Windows.
After that, there are many tutorials, books etc to get you up and
running.
--- In flexcoders@yahoogroups.com, itdanny2002 Chow.Danny@
wrote:
Dear All
--- In flexcoders@yahoogroups.com, Justin Stanczak [EMAIL PROTECTED]
wrote:
I throw in my vote for Tomcat, and Java Berkley DB. I'm trying to
use Blaze
DS, but still not there yet, so I can't point to it yet. I've been
using
Flex Builder as well.
On Tue, May 27, 2008 at 11:26 AM, itdanny2002 [EMAIL
77 matches
Mail list logo