I need to place project-titles in a multiline textfield, wherof the
width will be fixed, but sometimes this box might be of less height
because of more space used by other displaying project elements.
Is there a class that can dynamically regulate the font it's size to fit
the loaded text to a
Hi
I'm using simple Arial font in a dynamic textfield set to html = true.
the br balise is understood but nothing happen for the bold one
anyidea why ??
thx
L
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
H so nice :)
Thank you
L
Glen Pike a écrit :
Hi,
If you want Bold text, you have to embed the font in bold too - if
you are using a font symbol in the library, you will have to create
another in bold, etc.
Same with Italic.
Glen
laurent wrote:
Hi
I'm using simple Arial
Sounds like a bad design decision to make titles of the same category
various sizes. But I think you can just set the .width property, then set
the .scaleY equal to the .scaleX or visa versa depending on which dimension
is more important.
On Wed, Nov 12, 2008 at 9:40 AM, Latcho [EMAIL PROTECTED]
Hi,
If you want Bold text, you have to embed the font in bold too - if
you are using a font symbol in the library, you will have to create
another in bold, etc.
Same with Italic.
Glen
laurent wrote:
Hi
I'm using simple Arial font in a dynamic textfield set to html = true.
Karim,
Try adding the following line of code to your MOUSE_MOVE event listener
function:
stage.addChildAt(customCursor, stage.numChildren);
Of course, you must substitute your custom cursor's instance name for
'customCursor'.
HTH
Regards,
-Keith
http://keithreinfeld.home.comcast.net
Some other way... but will look into CursorManager
Thanks
Karim
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Hall
Sent: 12 November 2008 13:01
To: Flash Coders List
Subject: Re: [Flashcoders] ComboBox + Custom Cursor , AS3
Are you using
I'm talking about font size, not stretching a container.
Increasing / decreasing font size to get an optimal fill of a box which
will have a fixed width and a certain height which can only be
determined during load time.
I could increase the font size of a textfield in a loop and measure it's
Hello All -
I am a little stumped by this one.
I am using a custom cursor ( added to the stage ),
one of my loaded SWF's has a drop down comboBox -
The problem:
The List gets added to the stage and goes over the custom mouse cursor.
Do you guys know of any fixes for this one?
Regards
I'm still looking for an anwer to this -- has anybody encountered this before?
I created a swf that has several layers of translucent clouds moving
beneath masks. The masks are assigned via ActionScript 2.0 and the
cloud motion is also scripted.
When this movie is zoomed 150% or larger in
Try to create a second textfield, invisible, with bold checked. Flash engine
uses it to get embedded fonts, even you don't use it.
I don't know if my workaround is a quite dirty, but it works =)
Best
Pinatti
On Wed, Nov 12, 2008 at 12:47 PM, laurent [EMAIL PROTECTED] wrote:
Hi
I'm using
Is there an important distinction between scaling a TextField object and
changing the font size? Perhaps you are storing the formatting or there are
visual rendering implications or anything?? Otherwise, it seems like Joel's
solution would work nicely to achieve what you want.
-jonathan
On Wed,
My movie is working, I just don't understand why exactly.
At gotoandlearn.com, Lee Brimelow makes the case of using a container .swf
to load content due to document classes and the classes it references to be
compiled into frame 1.
http://gotoandlearn.com/play?id=85
Cool, fair enough. But this
Oh yes sorry, it's Flex.
Peter
On Wed, Nov 12, 2008 at 1:26 PM, Karim Beyrouti [EMAIL PROTECTED] wrote:
Did not find it in Docs, so googled it - and it's a Flex thing no?...
Using flash CS3...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Hi Joel, Jonathan anf Dave for your answers
Dave could you explain what you mean with a binary search ?
Stijn
David Hershberger wrote:
Text flow of variable-width fonts with word-wrapping is inherently
messy... there's no way to compute the number of lines with some nice
math, you just have
Joel, Jonathan and Dave: thanks for your answers
Dave could you explain what you mean with a binary search ? I haven't
got a clue.
Stijn
David Hershberger wrote:
Text flow of variable-width fonts with word-wrapping is inherently
messy... there's no way to compute the number of lines with
No problem.
A binary search is an order log(N) method for finding something in an
ordered list of elements, as compared to linear search, which is order N.
(N is the number of elements, in this case, font sizes you are willing to
use.)
You have a sequence of font sizes. For each size, it either
You have to use the clipRect parameter and pass a Rectangle specifying what
area you want to copy.
Cheers
Juan Pablo Califano
2008/11/12, John Giotta [EMAIL PROTECTED]:
I'm trying to figure out how grab specified regions of a JPEG and draw
a Bitmap from them.
So if the user outlines a
I'm trying to figure out how grab specified regions of a JPEG and draw
a Bitmap from them.
So if the user outlines a rectanglur area of the JPEG at say x=100, y=
35, width=90, height=20; I want to duplicate it into a Bitmap object.
I thought (but obviously wrong) that I use Matrix to translate
The distinction is that wordwrapping should be optimal, as you know when
you increase / decrease a fontsize, the wordwrapping changes.
jonathan howe wrote:
Is there an important distinction between scaling a TextField object and
changing the font size? Perhaps you are storing the formatting or
Hi,
I ran into this issue the other day with the base class linkage ID
too. Finally got my head around the base class idea - I was working
on the principle that my custom super class should be the base class to
my specific custom classes - in a polymorphic kind of way, but finally
Did not find it in Docs, so googled it - and it's a Flex thing no?...
Using flash CS3...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Hall
Sent: 12 November 2008 13:01
To: Flash Coders List
Subject: Re: [Flashcoders] ComboBox + Custom Cursor
Text flow of variable-width fonts with word-wrapping is inherently messy...
there's no way to compute the number of lines with some nice math, you just
have to run the text-flow machinery and measure the result, which is exactly
what you have suggested. I'm pretty certain there is nothing built
Cool. Good to know I'm not way off base here. After reading Colin's The
Charges Against Actionscript
3.0http://www.insideria.com/2008/07/the-charges-against-actionscri.htmlarticle
I realized there are some arguably distasteful things about it. I'm
still getting my as3 dev speed back to where it
Hi guys,
I am working on a mp3 player that receives a javascript call with the
name of the file to be loaded. On the first call from JS, it plays
fine, but if another file is selected it fails. It only works once, in
other words. I tried putting the new Sound() and new SoundChannel()
Are you using CursorManager or adding the cursor in some other way?
Peter
On Wed, Nov 12, 2008 at 12:42 PM, Karim Beyrouti [EMAIL PROTECTED] wrote:
Hello All -
I am a little stumped by this one.
I am using a custom cursor ( added to the stage ),
one of my loaded SWF's has a drop down
I've tried:
bmd.draw(o_art, null, null, null, new Rectangle(10, 5, 90, 20));
Which I assumed would set my selection 10 pixels left, 5 pixels down,
90x20, but instead I get a rectangle of the right shape, but 10 pixels
to the left and 5 of the top is white.
- John G
Perfect - thank you !
it seems a little odd that the ComboBox adds the List to the stage and
not one of its own children. Maybe memory/resource managment. h.
On 12 Nov 2008, at 16:26, Keith Reinfeld wrote:
Karim,
Try adding the following line of code to your MOUSE_MOVE event
The solution is Matrix.tx and Matrix.ty.
var mat:Matrix = new Matrix();
mat.tx = 10 * -1;
mat.ty = 5 * - 1;
bmd.draw(art, mat);
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
You're right, it's a bit tricky or at least, it doesn't work in the most
intuitive way.
To get what you want, you have to use both a Matrix and a Rectangle.
Leave the rectangle x and y in 0 and set the width and height to match the
size of the cropped image. Then use the matrix.translate() with
This might be a bit cumbersome but less processor intensive. Instead of
using MOUSE_MOVE, create two Sprites on the stage. One as a content pane and
other as a custom cursor pane. Then add all content including the combo box
to the content pane and the cursor to the cursor pane. I can't say for
Hello,
I've got a situation where animators hand me a clip that has a bunch of
frame labels, each representing an animation sequence. At each frame label,
I've got labelled MovieClips inside the clip. So, for example, on each frame
I have a clip called character_mc, talkbubble_mc, hitarea_mc.
32 matches
Mail list logo