I had found very useful site for me:
33 коровы
Tuesday, August 18, 2009
Wednesday, August 5, 2009
Paste HTML etc. to your blogger
If you need to paste HTML or tags/code use this program.
Original post: "Blogger: paste HTML, tags, code".
Original post: "Blogger: paste HTML, tags, code".
Tuesday, July 21, 2009
Flex 3 Full Screen mode
Flex 3 full screen mode is very cool thing.
But there is one big trouble:
"Users cannot enter text in text input fields while in full-screen mode. All keyboard input and keyboard-related ActionScript is disabled while in full-screen mode, with the exception of the keyboard shortcuts (such as pressing the Esc key) that return the application to normal mode."
It's a pity :(
To configure full screen mode do this:
1. In folder html-template into file index.template.html write this

2. In folder html-template into file index.template.html write this in two places

3. Now you can do your things with full screen
myApplication.displayState = StageDisplayState.FULL_SCREEN;
Or add event listener for full screen.
About full screen security you can read here Full-screen mode security
And example is here Creating full-screen Flex application
But there is one big trouble:
"Users cannot enter text in text input fields while in full-screen mode. All keyboard input and keyboard-related ActionScript is disabled while in full-screen mode, with the exception of the keyboard shortcuts (such as pressing the Esc key) that return the application to normal mode."
It's a pity :(
To configure full screen mode do this:
1. In folder html-template into file index.template.html write this
2. In folder html-template into file index.template.html write this in two places
3. Now you can do your things with full screen
myApplication.displayState = StageDisplayState.FULL_SCREEN;
Or add event listener for full screen.
About full screen security you can read here Full-screen mode security
And example is here Creating full-screen Flex application
Flex 3 and Text vertical align
In Flex 3 is no Vertical align for TextField.
Thats why I add enters for this align works.
To calculate this I use this calculations:
textField.text = "Some text";
var offsetY:Number = (textField.height - textField.textHeight)/2;
var enterCount:int = offsetY / (textField.textHeight/textField.numLines);
for(var i:int = 0; i < enterCount; i++)
{
textField.text = "\n" + textField.text;
}
Thats why I add enters for this align works.
To calculate this I use this calculations:
textField.text = "Some text";
var offsetY:Number = (textField.height - textField.textHeight)/2;
var enterCount:int = offsetY / (textField.textHeight/textField.numLines);
for(var i:int = 0; i < enterCount; i++)
{
textField.text = "\n" + textField.text;
}
Friday, July 17, 2009
Friday, July 10, 2009
Flex 3 work with Sprite
Sprite in Flex 3 - is a big trouble.
It needs to redraw always (not pleasant).
Now I have one problem with resizing sprite.
All children resizes automatically too, but I don't need it )
It needs to redraw always (not pleasant).
Now I have one problem with resizing sprite.
All children resizes automatically too, but I don't need it )
Tuesday, July 7, 2009
Flex 3 Screen dragger
Now I'm trying to create screen dragger.
It is the simple transparent canvas.
This canvas changes it's visibility.
Today I find that my dragger don't change it's size when window change it =)
Now my problem is to unlock other element of the application when dragger stops it's work.
It is the simple transparent canvas.
This canvas changes it's visibility.
Today I find that my dragger don't change it's size when window change it =)
Now my problem is to unlock other element of the application when dragger stops it's work.
Subscribe to:
Posts (Atom)
