I have installed code 128 font on my computer.
But the isbn code can't distinguished by the device.
what should I do now?
I create a custom Scroller Skin all code designed by flash catalyst.
My computer has two monitor when I drag the application to the other monitor
then switch to full screen,
the list controller is still display as that monitor resolution.
If I use the default list scroller the trouble is gone,
How to detect device current orientation state ?portrait or landscape
How to detect change of mobile orientation ? portrain or landscape
How to obtain mobile number by flex sdk on Android OS ?
Thanks
At 2011-09-20 22:53:37,James Ong yanlile...@gmail.com wrote:
Again, not possible except android, you will have to use Native Extension in
AIR 3.0 to access Android API.
On Tue, Sep 20, 2011 at 3:25 PM, j2me_soulj2me_s...@163.com wrote:
How to obtain mobile number by flex sdk on
But if need two application to do this job How to package them into one apk
file ?
one is flex app the other is android app
At 2011-09-20 22:53:37,James Ong yanlile...@gmail.com wrote:
Again, not possible except android, you will have to use Native Extension in
AIR 3.0 to access Android API.
this is my code:
override protected function updateDisplayList(unscaledWidth:Number,
unscaledHeight:Number):void{
super.updateDisplayList(unscaledWidth, unscaledHeight);
this.graphics.beginGradientFill(GradientType.LINEAR, [0x2e3e4e, 0], [1,
.7], [0, 255]);
this.graphics.endFill();
The Group container must be explicit indicated width and height.
the group can't use relative properties to set its size.
this is the code :
s:List left=0 right=0 top=0 bottom=0 dataProvider={new
ArrayList([1,2,3,4,5,6,7])} verticalScrollPolicy=off
s:layout
s:HorizontalLayout gap=8
Can AIR get mobile number ?
The print is always has black background on the pager.
protected function print_clickHandler(event:MouseEvent):void
{
try{
var printUI:PrintUIOptions = new PrintUIOptions();
printUI.disablePageRange = true;
printjob.start2( printUI, false );
printjob.addPage( printContent, new
Which is fast use left righ or width height?
I try load new module when previous one has been unloaded.
So I let the moduler load module in the unload event handler.
But the module can't be loaded ?
moduler.unloadModule(); // actually it has not been unload
moduler.loadModule(...); // the new one load
moduler.unloadModule(); // When It
I use the spark list component.I want to set the itemrenderer to the default
state when the new data is coming.
I try to write the code in the createComplete handler but it only excute one
time !
And I try to write the same code in the addedToStage and added event handlers
but the result is same
: j2me_soul j2me_s...@163.com
To: flexcoders flexcoders@yahoogroups.com
Sent: Monday, August 29, 2011 2:20 PM
Subject: [flexcoders] ItemRenderer issue
I use the spark list component.I want to set the itemrenderer to the default
state when the new data is coming.
I try to write the code
I mean set the useVIrtualLayout to true
s:List useVirtualLayout=true /
At 2011-08-29 20:42:50,claudiu ursica the_bran...@yahoo.com wrote:
What do you mean by set the visualization to the parent listbase component?
From: j2me_soul j2me_s...@163.com
To:flexcoders@yahoogroups.com
Sent: Monday
var DStatus:Number;
...
...
At 2011-08-25 21:13:43,valdhor valdhorli...@embarqmail.com wrote:
That does not look like a Flex class. Is it PureMVC?
I would try what it tells you to do. ie. Define a variable of that type in the
top level application.
--- inflexcod...@yahoogroups.com, j2me_soul
warning: The class com.frameworks.mvc.model.VO.remoting.EztDept has been used
in a call to net.registerClassAlias() in _DepartmentListState_FlexInit. This
will cause modules:DepartmentListState to be leaked. To resolve the leak,
define com.frameworks.mvc.model.VO.remoting.EztDept in the
How to update the AIR application in the most silently way when there is a new
version on the server without any interactions ?
How to custom a class can by iterate all children by for each
for each( var item:* in myCustomeClass ){
}
object then u
can retrieve each item as class object using for each iterator.
Sent from my iPhone
On Aug 11, 2011, at 2:25 PM, j2me_soul j2me_s...@163.com wrote:
How to custom a class can by iterate all children by for each
for each( var item:* in myCustomeClass ){
}
I finish my job like yours to calculate the mouse point belongs to which cell
using RowHeigh CellWidth then operate the dataPrivoder to do anything
At 2011-08-02 23:02:08,bu4fred fred.se...@adventistcare.org wrote:
I would like to move cell contents around in a datagrid (or AdvancedDatagrid
the data is XML. I debug a DataGridListData coverted from listdata has a item
property.
But when trace the item is always empty. In the debug perspertive window I
can see that property.
this is my code:
override public function set listData(value:BaseListData):void{
var
Thanks Oleg. That's the problem!
At 2010-08-04 22:42:18,Oleg Sivokon olegsivo...@gmail.com wrote:
Do you expect value.item to be an XML with a single root node? If so, trace()
isn't going to print out the contents of that node. Use
trace(value.item.toXMLString()) instead.
, j2me_soul j2me_s...@... wrote:
I want to create a XMLList using e4x grammar like this:
var list:XMLList =
Region
city LA. /city
city SF. /city
...
/Region;
function createList(nodeName:String, city:String):void{
...
...
list += nodeName city / nodeName ;
}
but the list finally
I want to create a XMLList using e4x grammar like this:
var list:XMLList =
Region
city LA. /city
city SF. /city
...
/Region;
function createList(nodeName:String, city:String):void{
...
...
list += nodeName city / nodeName ;
}
but the list finally is look like this:
I want to dynamically create a mutil layer headers column by resolve the
property dataprivoder of the DataGrid.
The issue is I create a class extended dataGridColumn that can't access the
dataprivoder of the datagrid.
Anybody has any better idea ?
The dataprivoder like this:
public
I want to change the color when user click the itemrenderer to a custom color
and then change it back but I can't get the default color using
this.getStyle(backgroundColor)
in the addedToStage callback function.
the halo skin defaults.css
--
DataGrid
{
:
Normally the renderer is transparent. The background color is drawn onto the
DataGrid’s content holder, not the renderer.
On 7/19/10 11:02 PM, j2me_soul j2me_s...@163.com wrote:
I want to change the color when user click the itemrenderer to a custom color
and then change
I copy and paste the spark.skins.spark.PanelSkin to create a custom Panel with
a close button.There are two problem. I defined some style in the CusPanel.mxml
which inherit the Panel. How can let the button in the skin class access these
properties? The second problem is when I clicked the
s:fill
s:SolidColor color=0x535454/
/s:fill
/s:Path
/s:Group
/s:Skin
在2010-01-26 16:00:27,j2me_soul j2me_s...@163.com 写道:
I copy and paste the spark.skins.spark.PanelSkin to create a custom Panel with
a close button.There are two problem. I defined some style in the CusPanel.mxml
protected function onMouseWheelEventHandler(event:MouseEvent):void{
? = event.delta;
}
s:List id=myList mousewheel=onMouseWheelEventHandler /
How should I do to enable the mousewheel function to scroll the Spark List ?
Between each effect there is a flicker when the next effect started.
I try to use flex3.4 but the problem is still there. I really confused ~~
s:Application ..
transitions={[bm_tran]}
s:states
s:State name=state1 /
s:State name=state2 /
/s:states
fx:Declarations
s:Transition
yes, I find this problem too.
Is anybody figure out this ?
在2010-01-22 02:59:50,Ariel J arielj...@yahoo.com 写道:
Where are these methods in the spark list control:
1) indexToItemRenderer()
2) set verticalScrollPosition() - that uses the index of the item in the data
provider
3)
think the
player has implemented support for mouseWheel on Mac
On 1/19/10 11:27 PM, j2me_soul j2me_s...@163.com wrote:
How can I enable the mousewheel event to the s:List ?
Is the s:List have a property like verticalScrollPosition in mx:dataGrid
My code is created by flashcatalyst so
Can't remove the eventhandler which wrote in mxml.
protected function mytext_changeHandler(event:TextOperationEvent):void
{
TextInput(event.target).removeEventListener(event.type,
mytext_changeHandler);
}
s:TextInput id=mytext text=textevent change=mytext_changeHandler(event) /
is in the attribute is really the body of that generated code and it is
not the handler itself.
On 1/19/10 5:34 PM, j2me_soul j2me_s...@163.com wrote:
Can't remove the eventhandler which wrote in mxml.
protected function mytext_changeHandler(event:TextOperationEvent):void
How can I enable the mousewheel event to the s:List ?
Is the s:List have a property like verticalScrollPosition in mx:dataGrid
My code is created by flashcatalyst so all component have skinclass property, I
don't wanna change the skin to css+picture. So how should I do?
I have a lot of codes in the main.mxml, so I cut most of them.
And I don't use the any kinds of the css styles.The code is actually created by
FlashCatalyst.
The menubar dosen't have the skinclass property so I is added manually.
I have attached the main.mxml. Thanks a lot !
?xml
Can anybody give some articles about spark skin deeply ?
In flashcatalyst there is no way to make a dropdownlist so I have to write some
code in flashbuilder.
I'm just reading the spark.skins.spark.DropDownListSkin but actually I can
understrand what exactly the meaning of the codes. So I really
I try to make a borderSkin which has a button that controls the its parent
visiable.
I use parentApplication.dispatch(a event) but it doesn't work. There is
somewhere wrong in my code or my train of thought ?
This is my code:
CSS file
Panel
{
background-color: #3e3e3e;
border-color:
When BlazeDS passing huge amounts of data to the front-end.
The constructure is covered by something I'm not sure.
I passing a ArrayList included some DTO instance,
when the quantity of the ArrayList over 1 thousand,
the content of the ArrayList will be cover to many staff like a Object instance
When an item editor opens, the first control can obtain focus for editing, but
pressing the Enter key move focus to the next cell. How can I move the focus in
the same row horizontally ?
When an item editor opens, the first control can obtain focus for editing, but
pressing the Enter key move focus to the next cell. How can I move the focus in
the same row horizontally ?
I got another problem.
In flex I can only reference the flash button by its ID property.
Most of the time I can't know its ID. I need cover it to a super class like
MovieClip Instead of that.
How can I fix this ?
mx:Script
![CDATA[
private function clickHandler(event:MouseEvent):void
I got another problem.
In flex I can only reference the flash button by its ID property.
Most of the time I can't know its ID. I need cover it to a super class like
MovieClip Instead of that.
How can I fix this ?
mx:Script
![CDATA[
private function
I use this code to jump to each frame. But the component didn't play as same
as playing in flash.
All the transition effect disappear. It just jump one frame to another directly
without transition.
How to make the component play as in flash ?
if (stateBtn.currentLabel == tiny)
{
I use this code to jump to each frame. But the component didn't play as same as
playing in flash.
All the transition effect disappear. It just jump one frame to another directly
without transition.
How to make the component play as in flash ?
if (stateBtn.currentLabel == tiny)
{
styleLabel.setStyle(fontSize, 72);
With Regards,
Niamath Basha
www.niamathbasha.wordpress.com
2009/7/8 j2me_soul j2me_s...@163.com
I try to change the style at runtime
mx:Button x=38 y=44 label=为中国喝彩 click=butClickHandler(event)/
mx:Label id=styleLabel text=I'm Label/
private function
I want to add a instance of a class or a component which is an old project to
my new project.
Is there any way to make this simply ?
This is my data structure at back-end using java,
ArrayList
HashTable(keys, values);
HashTable(keys, values);
...
...
but the problem is when push the data to flex this data structure will be
coverd to a instance of ArrayCollection and the
There are many titlewindows in my application, so I have to lay out them in
order.
I wanna change the panel size, position, and the direction of panel title in
order to display the title readability when the titlewindow is vertical.
But I can't find a wish way to change the directio of the
I try to change the style at runtime
mx:Button x=38 y=44 label=为中国喝彩 click=butClickHandler(event)/
mx:Label id=styleLabel text=I'm Label/
private function butClickHandler(event:MouseEvent):void
{
/* it doesn't work */
styleLabel.setStyle(font-size, 72);
}
If I change the rotation property of a panel, the title will disappear.
Although I use the embed font file. How should I do ?
mx:Panel title=Title width=300 height=500 id=panel
click=panel.rotation+=2;/
CSS FILE
@font-face{
src: url(msyh.ttf);
font-family: MM;
}
global
{
font-family:
How can I stop dragable function?
Yes,it works. But I wanna enable dragable function when clicked this
titlewindow. If I set isPopUp = false; the mouseClickEvent can't be catched so
I can't interact with users. I just wanna to disable this ability temporary. Is
there a wish way to achieve this ?
在2009-07-06,Teoti Graphix,
I make a flex skin using flash. But if I apply the border-skin style to the
panel , the child components will not judge the correct top-left corner. They
will cover the panel title. I think I miss something in the css file. How can I
fix this ?
Thanks very much.
I am being tortured by a strange problem using cairngorm.
This is error reports:
Unable to resolve resource bundle CairngormMessages for locale en_US.
testLCDS
3608: 'getString' has been deprecated since 3.0. Please use
'ResourceManager.getInstance().getString()'. testLCDS/[source path]
The itemrenderer is a HBox. There is a check and a label in the HBox.
When I selected any of the checkbox and scrolled the scrollbar of the List
which used the itemrenderer, the stange thing happened, the selected checkbox
is no longer the same checkbox !! Maybe the last one, maybe the second
in your mxml ... The
latter the better.
C
From: j2me_soul j2me_s...@163.com
To: flexcoders flexcoders@yahoogroups.com
Sent: Friday, July 3, 2009 11:36:20 AM
Subject: [flexcoders] Bring forward something in flex
I have a lot titlewindow in the application. But the main panel which wrote by
mxml
How can let the parent of itemrenderer know something is happened ?
I use dispatchevent function, but it doesn't work.
I wanna change some specific item's style which inside the repeater component.
How can I iterate the items in the repeater and filtrate them ?
I have a lot titlewindow in the application. But the main panel which wrote by
mxml is always covered by some titlewindow. How can I bring the main panel
forward when I clicked it ?
... The
latter the better.
C
From: j2me_soul j2me_s...@163.com
To: flexcoders flexcoders@yahoogroups.com
Sent: Friday, July 3, 2009 11:36:20 AM
Subject: [flexcoders] Bring forward something in flex
I have a lot titlewindow in the application. But the main panel which wrote by
mxml
I use Flash make a Flex skin.
Everythins is fine, but only the closeButtonSkin style can't apply to the
Titlewindow component.
I import the Flex skin swc into the project. The CSS is produced automatically.
I didn't change anything.
The code is:
TitleWindow
{
borderSkin:
I have a lot of nested buttons in a vbox. How can I put a popuped titlewindow
in the center position of the button clicked.
The codes is:
mx:Canvas width=100% bottom=0
mx:Canvas backgroundImage=@Embed('/assets/background/ButtonBar.png')
width=100% y=15 height=30 horizontalCenter=0/
How to load a module ?
, moduleReadyHandler);
module.load();
}
在2009-06-29,claudiu ursica the_bran...@yahoo.com 写道:
There is this document issued by adobe where they explain with examples how to
handles modules ...
http://blogs.adobe.com/flexdoc/pdfs/modular.pdf
TH,
C
From: j2me_soul j2me_s...@163.com
??
C
From: j2me_soul j2me_s...@163.com
To: flexcoders flexcoders@yahoogroups.com
Sent: Monday, June 29, 2009 2:28:25 PM
Subject: Re:Re: [flexcoders] How to use modulemanger to load modules
If I declare a moduleloader object in mxml it works.
mx:ModuleLoader url=modules/ workalert_ mod.swf
yet in
F4.
check help file this http://livedocs.adobe.com/flex/gumbo/html/flex_4_help.pdf
maybe they have something in there ...
C
From: j2me_soul j2me_s...@163.com
To: flexcoders flexcoders@yahoogroups.com
Sent: Monday, June 29, 2009 2:55:26 PM
Subject: Re:Re: Re: [flexcoders] How to use
I try to use a bitmap be the background of the titlewindow conponent in flex4 ?
I write this, but it doesn't work. It still show the default spark style.
fx:style
@namespace s library://ns.adobe.com/flex/spark;
@namespace mx library://ns.adobe.com/flex/halo;
mx|TitleWindow
{
background-image:
I got a section of code in Flex3.
How can I achieve the same function in Flex4?
mx:transitions
mx:Transition fromState=* toState=*
mx:Sequence id=t1 targets={[p1,p2,p3]}
mx:Blur duration=100 blurXFrom=0.0 blurXTo=10.0
blurYFrom=0.0 blurYTo=10.0/
When I clicked the button to change state,but the transition effect doesn't
work.
I wonder if the transition is still available in Flex4?
s:states
s:State name=premiere /
s:State name=secondary /
/s:states
fx:Declarations
mx:Transition fromState=premiere toState=secondary
mx:Sequence
I got the same problem. Can anyone give some suggestion?
在2009-06-23,duncmcm dunc...@yahoo.co.uk 写道:
Hi
I have used the following code to add a flex component into a papervision
primitive in this case a plane. The flex component is added through the
papervision material then added to the
Is there something like parallel or sequence in flex4 ?
If not, how can I achieve the function like that ?
I have a small project to do.
I worder which method is better ?
states or modules ?
it will run faster but maybe cause your swf to be big
--- In flexcoders@yahoogroups.com, j2me_soul j2me_s...@... wrote:
I have a small project to do.
I worder which method is better ?
states or modules ?
Why the label can't be displaied on the srceen?
public class rectElement extends UIComponent
{
private var lal:Label;
public function rectElement()
{
super();
}
override protected function createChildren():void{
if( lal == null ){
lal = new Label;
lal.text = Label;
:26 PM, Manish Jethani
manish.jeth...@gmail.com wrote:
2009/6/3 j2me_soul j2me_s...@163.com:
override protected function measure():void{
this.explicitMinWidth = this.explicitMinHeight = 50;
}
}
Here you should set the meauredWidth, measuredHeight, and optionally
measuredMinWidth
The code is pretty simple. This is all I am trying to do:
mx:Script
![CDATA[
private function init():void{
//var p:Point = new Point(btn1.x, btn1.y);
//var pg:Point = localToGlobal(p);
with(btn1.graphics){
clear();
lineStyle(2, 0xff, 1);
Thanks Manish!
That works.
drawRect(0, 0, btn1.width + 20, btn1.height+ 20);
Is the 0,0 point is the ContentPoint of the btn1 ?
在2009-06-03,Manish Jethani manish.jeth...@gmail.com 写道:
2009/6/2 j2me_soul j2me_s...@163.com:
The code is pretty simple. This is all I am trying to do
Hi all,
I put some planes in the viewport in a canvas.
But the planes can't accept any mouse-click event from canvas.
I set the viewport.interative = true, material of each plane = true, but it
dosen't work.
What should I do now ?
/*
* In the ReflectionWall class, for each Plane setting a
82 matches
Mail list logo