Re: [Flashcoders] "hover" event for links in HTML textfields - possible?

2008-12-02 Thread Michael William Ypes
Yes it is. Greensock built an as2 class to do just that thing and then  
I rebuilt it in as3. Basically it works out the location of certain  
words and then creates a box around it. You can create whatever you  
want really as all it is doing is getting the x,y,width and height you  
need for the location of the word.


Check his blog entry for the as2 version http://blog.greensock.com/textmetrics/

Cheers

M



On 2 Dec 2008, at 06:24, [EMAIL PROTECTED] wrote:


Hello List,

Is there something like a "hover" event for links in HTML  
textfields? For
example, imagine an HTML textfield which displays the poem  
Jabberwocky. If
the user hovers over any of Lewis Carroll's nonsense words, a  
definition

appears in something like a tool-tip. Is such a thing possible?

Cheers,
CB.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] MovieClip path

2008-11-27 Thread Michael William Ypes
In as2 whenever you wanted to know the heirarchy of the movieclip I  
would just trace(this) and it would give _level0.mc1.mc2.mc3 etc.


How can you achieve that in as3 as it returns the type [object  
MovieClip] and not its location.


I am sure it can be done as it was a very handy thing for when you get  
lost in your mcs :)


Cheers

M
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Actionscripter 3.0 developers

2008-10-17 Thread Michael William Ypes

And let the floodgates open.

This is exactly what I was on about, you say its ok for one and then  
they all jump on the band wagon. They don't even put a name on it.  
Isn't that called spamming...


Seriously, wheres the test to see if these people are actually members  
of the community or just leeches. AS3 test needs to be a requirement :)


Oh, and by the way could you get any more generic with the job spec,  
they all sound the same...


Rant over but point made!

On 17 Oct 2008, at 16:54, LSI001 wrote:

URGENTLY NEEDED – ACTIONSCRIPT 3.0/FLEX DEVELOPERS IN BETHESDA  
MARYLAND




Job Description



We are looking for an experienced, innovative and technically strong
Flash/Flex Developer. The ideal candidate must have a strong  
background

skilled in the Adobe platform's technologies and have a passion for
developing highly engaging experiences.  A strong sense of graphic  
design
and competency in generating graphics is a desired as well. You will  
work
with a team of instructional designers and media developers to help  
design
and develop a cutting-edge user interface. This will include graphic  
design,
2D & 3D animation, programming, games and customization. This is a  
great

opportunity to stay on the cutting edge of emerging technologies.



Responsibilities



§  Work with a team of subject matter experts, instructional  
designers and
behavioral psychology experts to design and develop the user  
interface for

the company’s product

§  Translate storyboard wireframes and use cases into Flash prototypes

§  Build prototypes and working models of complex or new design  
elements


§  Integrate UI elements with back-end services



Requirements



§  Bachelor’s degree in Computer Science, Engineering, or equivalent

§  5 years of professional web development experience

§  An understanding of GUI best practices

§  Expert knowledge of object-oriented Actionscript 3, Flex 3,  
JavaScript


§  An eye for design and the ability to leverage Adobe software to  
create

graphical assets

§  Knowledge of Adobe server-side remoting and messaging  
technologies (AMF)


§  Strong knowledge of web services and XML

§  Experience building highly efficient, dynamic, data driven,  
scalable

browser based user interfaces and web applications

§  Strong knowledge and keen interest in emerging tools and  
technologies for

rich internet applications

§  Innovator - able to build prototypes and come up with ideas given a
current set of technology

§  Fast learner - can quickly come up to speed with different  
technologies

and develop prototypes as needed

§  Problem solver – accustomed to working both independently and in  
a team

to resolve technical issues

§  Flexible - able to work in a dynamic environment

§  Strong written and verbal communication skills



Desirable

§  Strong knowledge of enterprise Java technologies including JMS,  
EJB 3.0,

JUnit

§  Experience designing or developing interfaces using RESTful  
principles


§  Knowledge of Adobe Blaze DS and/or LiveCycle

§  Experience with 3rd party 3D engines (Papervision 3D)



Please respond to [EMAIL PROTECTED] if you have an interest in  
learning

more

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] RESUME: Senior Flash Developer (2)

2008-10-09 Thread Michael William Ypes
I agree and although the occasional job is nice, if only to see what  
the market is like, I do feel that Beau is starting to use this list  
as his personal source for flash/flex developers.


And what cracks me up even more is that he does not want any  
recruiters replying to his jobs. Isn't he a recruiter himself and  
isn't that what recruiters do anyway...


Can we keep this list to what it supposed to be about and that is  
discussing flash/as3 issues and not recruiting...


Seriously Beau, if you have nothing to contribute to the discussions  
of flash/as3 that will benefit the community and not your pockets then  
please don't use this list.


I think people need to answer an as3 quiz in order to register so that  
only qualified people are subscribed, WHAT A GOOD IDEA :)


My 2cents or should it be pennys???

M


On 9 Oct 2008, at 09:05, allandt bik-elliott wrote:


at what point do daily job updates become spam?

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS3 additions/changes in CS4?

2008-09-25 Thread Michael William Ypes
I am curious. Why does the Adobe suite not come with Flex. It seems a  
bit pointless to me. I use the whole of the master suite and flex. It  
seems to be the only major product Adobe do that is not in the suite.


Anyone know why???

M


On 25 Sep 2008, at 04:18, Merrill, Jason wrote:


Yeah, I get tired of doing this just to get code completion:

var thisCustomObject:CustomObject = myObjects[i] as CustomObject;
thisCustomObject.alpha = .5

Besides the obvious type checking benefits, with Vectors, I won't  
have to do it that way anymore to get good code completion from what  
I have read about them since the array knows the types it contains.   
From what I understand about them anyway, haven't had a chance to  
use them yet.


Jason Merrill
Bank of America
GCIB & Staff Support L&LD
Instructional Technology & Media
Join the Bank of America Flash Platform Developer Community
Are you a Bank of America associate interested in innovative  
learning ideas and technologies?

Check out our internal  Innovative Learning Blog & subscribe.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
] On Behalf Of Zeh Fernando

Sent: Wednesday, September 24, 2008 10:21 PM
To: Flash Coders List
Subject: Re: [Flashcoders] AS3 additions/changes in CS4?

Also autocompletion and member verification and such for IDEs like  
FDT and

FlashDevelop since it already knows the type of each list item. It's a
god-given once you get used to it. I've been using Vectors like  
there's no
tomorrow on a particular project of mine and it's really awesome.  
Going back

to arrays is just weird, feels like I'm going back to AS2.

Zeh

On Wed, Sep 24, 2008 at 5:58 PM, Paul Andrews <[EMAIL PROTECTED]>  
wrote:



- Original Message - From: "Mendelsohn, Michael" <
[EMAIL PROTECTED]>
To: "Flash Coders List" 
Sent: Wednesday, September 24, 2008 8:44 PM
Subject: RE: [Flashcoders] AS3 additions/changes in CS4?


Not sure what strongly typed arrays are.  What are the advantages?




Being able to type the array means not having to cast array members  
and

detecting problems at compile time rather run time.




OOooh - strongly typed arrays!  Awesome!  I've been waiting for that



for a long time!  Sweet.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Nightmare flash File with Lots of textfields

2008-09-23 Thread Michael William Ypes

Yet again I find myself dealing with someone elses sh*te.

Basically compile times are like a million years/5 minutes and I  
believe it is because some numpty has embedded a million textfields  
and some of them has all selected to embed fonts - just in case the  
whole world wants to see it :)


Anyway my question is is there anyway of finding out which fields are  
using the 'All' font embedding.


Probably not but I thought I would give it a shot.

Cheers

M

 
___

Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Runtime font embedding in Flash CS3...

2008-08-19 Thread Michael William Ypes
I've got that already although its vmware but I just prefer working in  
the mac environment now - most times anyway.


I have got the embedding working but am trying to slim down the code  
and I am having a problem with the unicode. I want to put the unicode  
into a variable and then use those variables instead. The compiler is  
saying that it is an invalid unicode range. How do you cast a unicode  
string? This is what I have so far



private var UppercaseAZ:String = "U+0020-U+0020,U+0041-U+005A";
private var LowercaseAZ:String = "U+0020-U+0020,U+0061-U+007A";
private var Numerals:String = "U+0030-U+0039,U+002E-U+002E";

		private var LatinLanguage:String = UppercaseAZ + "," + LowercaseAZ +  
"," + Numerals;


private var defaultLanguage:String = LatinLanguage;

		[Embed(source='arial.ttf', fontName='Arial',  
unicodeRange=defaultLanguage)]  //Invalid Unicode Range

 public static var _Arial:Class;

/* THIS WORKS
		[Embed(source='arial.ttf', fontName='Arial', unicodeRange='U+0020-U 
+0020,U+0041-U+005A')]  //Valid Unicode Range

 public static var _Arial:Class;
*/  

		trace(defaultLanguage) // OUTPUTS U+0020-U+0020,U+0041-U+005A,U+0020- 
U+0020,U+0061-U+007A,U+0030-U+0039,U+002E-U+002E


I take it I need to cast the unicode as a different type and not as a  
string?


Cheers

M




On 18 Aug 2008, at 18:41, allandt bik-elliott (thefieldcomic.com) wrote:


get parallels and a copy of windows xp (vista is too chunky to use in
virtualization)

then go to http://www.flashdevelop.org/community/viewtopic.php? 
t=2463 and
set it up as instructed - i barely notice the jump between the two  
apps now




On Mon, Aug 18, 2008 at 6:03 PM, Michael William Ypes <
[EMAIL PROTECTED]> wrote:


Thanks Glen,

I made the move to mac a few months ago and alas I cannot use Flash  
Develop
anymore as it was definitely my preferred choice as editor. However  
the mac
system has proved to be much better for my development now than the  
pc ever

was so not really grumbling.

Anyhow after a very annoying day I have found the solution that I was
looking for. Although it requires flex and flash in order to create  
the

solution. Flex to require the font library and then flash to load the
library into. I must  admit it is quite a sweet solution however I  
didn't
really find any good documentation on it anywhere which is a shame.  
The key
aspect was to limit the libraries to the glyphs required and to  
load at
runtime depending on which language was required. Thanks for the  
point into
the right direction. I might blog it if I ever get my blog up and  
running...


Thanks or the help guys.

Cheers

M





On 18 Aug 2008, at 15:29, Glen Pike wrote:

Hi,



You can do the AS3 Embed test with FlashDevelop = £0, so download  
the
FlexSDK, install it, then FD, then maybe try the example on  
ScottMorgan's

blog -
You should be able to create a simple FD project (AS3 "default")  
paste in
the code for the font from the blog, and click the build / run  
button to

compile.
One thing to note with embedding is the path to the font, you may  
want to
copy a version into a directory in the project folder rather than  
rely on
the System or file based "C:\.." fonts as I sometimes had problems  
with the

compiler and this mde them go away.

http://www.adobe.com/products/flex/flexdownloads/#sdk


http://www.flashdevelop.org/community/viewforum.php?f=11&sid=1ef39000400abfd888216f8b507a9901
<
http://www.flashdevelop.org/community/viewforum.php?f=11&sid=1ef39000400abfd888216f8b507a9901 
>

FD releases

If you like FD and want to do a lot of compiling with it, I  
recommend

getting the flex compiler shell "fcsh" installed too.

http://labs.adobe.com/wiki/index.php/Flex_Compiler_Shell

Flash Develop is really nice too if you do a lot of coding for  
AS3.  For
what you want to do, you should not have a huge hassle making it  
work it
either, the learning can come later when you have some breathing  
space.


Glen

Michael William Ypes wrote:


I was thinking of this route but my flex 3 trial has run out. I am
assuming then that I can load that into a normal flash  
application and get

it via the class name as per normal.

Has anyone got an example font file (made from flex) that I can  
test it

with. If not I shall have to go and purchase flex.



On 18 Aug 2008, at 13:37, Glen Pike wrote:

Hi,


You should still be able to load a separarte SWF with a font  
embedded

then use this on the stage:


http://www.scottgmorgan.com/blog/index.php/2007/06/18/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/

A workaround for the "[Embed] does not work in Flash" issue is  
to use
anothe

Re: [Flashcoders] Runtime font embedding in Flash CS3...

2008-08-18 Thread Michael William Ypes

Thanks Glen,

I made the move to mac a few months ago and alas I cannot use Flash  
Develop anymore as it was definitely my preferred choice as editor.  
However the mac system has proved to be much better for my development  
now than the pc ever was so not really grumbling.


Anyhow after a very annoying day I have found the solution that I was  
looking for. Although it requires flex and flash in order to create  
the solution. Flex to require the font library and then flash to load  
the library into. I must  admit it is quite a sweet solution however I  
didn't really find any good documentation on it anywhere which is a  
shame. The key aspect was to limit the libraries to the glyphs  
required and to load at runtime depending on which language was  
required. Thanks for the point into the right direction. I might blog  
it if I ever get my blog up and running...


Thanks or the help guys.

Cheers

M




On 18 Aug 2008, at 15:29, Glen Pike wrote:


Hi,


You can do the AS3 Embed test with FlashDevelop = £0, so download  
the FlexSDK, install it, then FD, then maybe try the example on  
ScottMorgan's blog -
You should be able to create a simple FD project (AS3 "default")  
paste in the code for the font from the blog, and click the build /  
run button to compile.
One thing to note with embedding is the path to the font, you may  
want to copy a version into a directory in the project folder rather  
than rely on the System or file based "C:\.." fonts as I sometimes  
had problems with the compiler and this mde them go away.


http://www.adobe.com/products/flex/flexdownloads/#sdk

http://www.flashdevelop.org/community/viewforum.php?f=11&sid=1ef39000400abfd888216f8b507a9901 
 <http://www.flashdevelop.org/community/viewforum.php?f=11&sid=1ef39000400abfd888216f8b507a9901 
> FD releases


If you like FD and want to do a lot of compiling with it, I  
recommend getting the flex compiler shell "fcsh" installed too.


http://labs.adobe.com/wiki/index.php/Flex_Compiler_Shell

Flash Develop is really nice too if you do a lot of coding for AS3.   
For what you want to do, you should not have a huge hassle making it  
work it either, the learning can come later when you have some  
breathing space.


Glen

Michael William Ypes wrote:
I was thinking of this route but my flex 3 trial has run out. I am  
assuming then that I can load that into a normal flash application  
and get it via the class name as per normal.


Has anyone got an example font file (made from flex) that I can  
test it with. If not I shall have to go and purchase flex.




On 18 Aug 2008, at 13:37, Glen Pike wrote:


Hi,

 You should still be able to load a separarte SWF with a font  
embedded then use this on the stage:


 
http://www.scottgmorgan.com/blog/index.php/2007/06/18/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/

 A workaround for the "[Embed] does not work in Flash" issue is to  
use another program, like Flash Develop if you ain't got Flex, to  
create your font based SWF, then load this from your Flash built  
application.


 HTH

 Glen

Michael William Ypes wrote:
I know the offstage technique but what I want is to load an  
external swf with the specific font in it. Then use that font in  
all other swfs. You could do this in as2 by loading in a swf that  
had a shared library font in it. Bit of a hack but it worked.


I cant quite believe Adobe has not addressed this in cs3 as fonts  
do add a huge amount to file sizes. There has got to be a fix for  
this surely...


Any more ideas...

Cheers

M

On 18 Aug 2008, at 12:08, Ian Thomas wrote:

On Mon, Aug 18, 2008 at 12:01 PM, Geografiek <[EMAIL PROTECTED] 
> wrote:


Define 2 dynamic text field off stage (one for each font) and  
define the

character range there.
These characters should now be available to all text fields in  
the .swf

*Should* work, but with Flash and font you never know :(


Offstage will do it.

So will exporting in a text field within a MovieClip symbol in the
library, providing that MovieClip symbol is marked for export in  
first

frame.

HTH,
Ian
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--

Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--

Glen Pike
01326 218440
www.glenpike.co.uk <htt

Re: [Flashcoders] Runtime font embedding in Flash CS3...

2008-08-18 Thread Michael William Ypes
I can access the fonts but do not know how to cast them as a class to  
regsiterfont.


Here is what I have so far with that route in mind.

Embed the fonts on the timeline:

Use the following code but I need to register the fonts to make them  
globally available.



var embeddedFonts:Array = Font.enumerateFonts(false);

for(var i:Number = 0; i < embeddedFonts.length; i++){
var item:Font = embeddedFonts[i];
  	trace("[" + i + "] name:" + item.fontName + ", style: " +  
item.fontStyle + ", type: " + item.fontType);

//OUTPUTS
//[0] name:Myriad Pro Cond, style: bold, type: embedded
//[1] name:Myriad Pro Cond, style: regular, type: embedded
//BUT WHAT DO BELOW DO MAKE IT A CLASS AND REGISTER IT...
//Font.registerFont(???);
}


Cheers

M

Following code
On 18 Aug 2008, at 13:40, jonathan howe wrote:

Sorry, I realized the syntaxt is wrong - would need to first cast as  
a Class

then instantiate...

On Mon, Aug 18, 2008 at 2:27 PM, jonathan howe <[EMAIL PROTECTED] 
>wrote:



I haven't tried this myself but have you used my old bff
getDefinitionByName

var fontClass:Font =  
getDefinitionByName("fontClassNameWithinTheSwf") as

Font;

and then use the font via the Font class?

-jonathan


On Mon, Aug 18, 2008 at 1:40 PM, Michael William Ypes <
[EMAIL PROTECTED]> wrote:

I know the offstage technique but what I want is to load an  
external swf
with the specific font in it. Then use that font in all other  
swfs. You
could do this in as2 by loading in a swf that had a shared library  
font in

it. Bit of a hack but it worked.

I cant quite believe Adobe has not addressed this in cs3 as fonts  
do add a
huge amount to file sizes. There has got to be a fix for this  
surely...


Any more ideas...

Cheers

M

On 18 Aug 2008, at 12:08, Ian Thomas wrote:

On Mon, Aug 18, 2008 at 12:01 PM, Geografiek <[EMAIL PROTECTED] 
>

wrote:

Define 2 dynamic text field off stage (one for each font) and  
define the

character range there.
These characters should now be available to all text fields in  
the .swf

*Should* work, but with Flash and font you never know :(



Offstage will do it.

So will exporting in a text field within a MovieClip symbol in the
library, providing that MovieClip symbol is marked for export in  
first

frame.

HTH,
Ian
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





--
-jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME  
04101






--
-jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME  
04101

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Runtime font embedding in Flash CS3...

2008-08-18 Thread Michael William Ypes
I was thinking of this route but my flex 3 trial has run out. I am  
assuming then that I can load that into a normal flash application and  
get it via the class name as per normal.


Has anyone got an example font file (made from flex) that I can test  
it with. If not I shall have to go and purchase flex.




On 18 Aug 2008, at 13:37, Glen Pike wrote:


Hi,

  You should still be able to load a separarte SWF with a font  
embedded then use this on the stage:


  
http://www.scottgmorgan.com/blog/index.php/2007/06/18/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/

  A workaround for the "[Embed] does not work in Flash" issue is to  
use another program, like Flash Develop if you ain't got Flex, to  
create your font based SWF, then load this from your Flash built  
application.


  HTH

  Glen

Michael William Ypes wrote:
I know the offstage technique but what I want is to load an  
external swf with the specific font in it. Then use that font in  
all other swfs. You could do this in as2 by loading in a swf that  
had a shared library font in it. Bit of a hack but it worked.


I cant quite believe Adobe has not addressed this in cs3 as fonts  
do add a huge amount to file sizes. There has got to be a fix for  
this surely...


Any more ideas...

Cheers

M

On 18 Aug 2008, at 12:08, Ian Thomas wrote:

On Mon, Aug 18, 2008 at 12:01 PM, Geografiek <[EMAIL PROTECTED] 
> wrote:


Define 2 dynamic text field off stage (one for each font) and  
define the

character range there.
These characters should now be available to all text fields in  
the .swf

*Should* work, but with Flash and font you never know :(


Offstage will do it.

So will exporting in a text field within a MovieClip symbol in the
library, providing that MovieClip symbol is marked for export in  
first

frame.

HTH,
 Ian
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--

Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Runtime font embedding in Flash CS3...

2008-08-18 Thread Michael William Ypes
I know the offstage technique but what I want is to load an external  
swf with the specific font in it. Then use that font in all other  
swfs. You could do this in as2 by loading in a swf that had a shared  
library font in it. Bit of a hack but it worked.


I cant quite believe Adobe has not addressed this in cs3 as fonts do  
add a huge amount to file sizes. There has got to be a fix for this  
surely...


Any more ideas...

Cheers

M

On 18 Aug 2008, at 12:08, Ian Thomas wrote:

On Mon, Aug 18, 2008 at 12:01 PM, Geografiek  
<[EMAIL PROTECTED]> wrote:


Define 2 dynamic text field off stage (one for each font) and  
define the

character range there.
These characters should now be available to all text fields in  
the .swf

*Should* work, but with Flash and font you never know :(


Offstage will do it.

So will exporting in a text field within a MovieClip symbol in the
library, providing that MovieClip symbol is marked for export in first
frame.

HTH,
  Ian
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Runtime font embedding in Flash CS3...

2008-08-18 Thread Michael William Ypes
Something that should be sooo easy always seems to be a real struggle  
in flash. I had finally worked out how to do it in as2 and now all the  
parameters have changed again in as3.


I have read various articles on the subject and get most of it. I have  
one swf with two font symbols exported in the library and used  
registerfonts. These are now available in my other swf that is loading  
them, however I want it to be multi lingual and therefore have  
different font libraries.


The bit I am falling down on is defining the character sets. Now if I  
had a texfield then I would just choose the character sets but I  
cannot see how to do that with a font symbol.


Any help, different approach, links much appreciated, I hate flash and  
fonts - nothing but a pain!!


Links I have already seen:

http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/

http://developer.yahoo.com/flash/articles/runtime-fonts-as3.html

Please note that this is for the flash IDE and not flex.

Cheers

M

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] setting registration point via actionscript [AS3]

2008-04-14 Thread Michael William Ypes
Same thing, load the text box into a movieclip and transform the  
movieclip which will in turn transform the dynamic textfield.


On 14 Apr 2008, at 18:01, Stuart (FunkDaWeb) wrote:

I had a rethink after reading your emails and managed to get it to  
work, i now need to make this work on a dynamically generated  
textbox any ideas?

 - Original Message -
 From: Michael William Ypes
 To: Flash Coders List
 Sent: Monday, April 14, 2008 4:32 PM
 Subject: Re: [Flashcoders] setting registration point via  
actionscript [AS3]



 Can you load the dynamic movieclip into a movieclip that extends
 oscars class. That way you just change the coords on the container  
and

 not necessarily on the dynamic movie. Either way it should have
 exactly the same effect.

 Would that help or am I just not getting your problem?




 On 14 Apr 2008, at 15:47, Stuart (FunkDaWeb) wrote:


I have got the code working in the way they do it however i need to
use it in a different way!

I want to set the registration point to an already created movieclip
and it seams using Oscars class you have to use his new  
dynamicmovie()


I dont need all the functions that come with it i just want it to
set a new X/Y position
- Original Message -
From: Michael William Ypes
To: Flash Coders List
Sent: Monday, April 14, 2008 1:54 PM
Subject: Re: [Flashcoders] setting registration point via
actionscript [AS3]


I have used that class to great effect,

http://www.fitnessfirst.co.uk/UK-Gym-Health-Club-Locator/Fitness-First-Gym-Locator.aspx

What seems to be the problem. the map mentioned above is in as3 and
changes the registration point all the time depending on where the
user clicks or pans to. What does your code look like?


On 14 Apr 2008, at 13:05, Stuart (FunkDaWeb) wrote:


Hi guys ive been trying to figure this out now for over a week, i
want to dynamically set the registration point of a dynamically
created movieclip. ive come across a class by Oscar Trelles (a re-
written AS1/2 class) that does what im after but it does not seam to
be very portable and can not get it to work with my app.

I have also tried to use negative values by creating a blank mc and
loading the image into it, this gives me an image that's in the
correct place but the blank MC does not use the negative values set
so i have an overall MC thats bigger that it should be!

So heres my question

I want to create a movieclip with the X/Y set to 0 but have the
actual registration point set to X = mc.width / 2 and Y =
mc.height / 2 so when i use the transform controls ive created it
scales, rotates etc... from the centre.

I also have a second question how do i set the initial value of a
colorpicker box via actionscript? this too also seams to be really
hard to find the answer!

SM
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] setting registration point via actionscript [AS3]

2008-04-14 Thread Michael William Ypes
Can you load the dynamic movieclip into a movieclip that extends  
oscars class. That way you just change the coords on the container and  
not necessarily on the dynamic movie. Either way it should have  
exactly the same effect.


Would that help or am I just not getting your problem?




On 14 Apr 2008, at 15:47, Stuart (FunkDaWeb) wrote:

I have got the code working in the way they do it however i need to  
use it in a different way!


I want to set the registration point to an already created movieclip  
and it seams using Oscars class you have to use his new dynamicmovie()


I dont need all the functions that come with it i just want it to  
set a new X/Y position

 - Original Message -
 From: Michael William Ypes
 To: Flash Coders List
 Sent: Monday, April 14, 2008 1:54 PM
 Subject: Re: [Flashcoders] setting registration point via  
actionscript [AS3]



 I have used that class to great effect,

 
http://www.fitnessfirst.co.uk/UK-Gym-Health-Club-Locator/Fitness-First-Gym-Locator.aspx

 What seems to be the problem. the map mentioned above is in as3 and
 changes the registration point all the time depending on where the
 user clicks or pans to. What does your code look like?


 On 14 Apr 2008, at 13:05, Stuart (FunkDaWeb) wrote:


Hi guys ive been trying to figure this out now for over a week, i
want to dynamically set the registration point of a dynamically
created movieclip. ive come across a class by Oscar Trelles (a re-
written AS1/2 class) that does what im after but it does not seam to
be very portable and can not get it to work with my app.

I have also tried to use negative values by creating a blank mc and
loading the image into it, this gives me an image that's in the
correct place but the blank MC does not use the negative values set
so i have an overall MC thats bigger that it should be!

So heres my question

I want to create a movieclip with the X/Y set to 0 but have the
actual registration point set to X = mc.width / 2 and Y =
mc.height / 2 so when i use the transform controls ive created it
scales, rotates etc... from the centre.

I also have a second question how do i set the initial value of a
colorpicker box via actionscript? this too also seams to be really
hard to find the answer!

SM
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] setting registration point via actionscript [AS3]

2008-04-14 Thread Michael William Ypes

I have used that class to great effect,

http://www.fitnessfirst.co.uk/UK-Gym-Health-Club-Locator/Fitness-First-Gym-Locator.aspx

What seems to be the problem. the map mentioned above is in as3 and  
changes the registration point all the time depending on where the  
user clicks or pans to. What does your code look like?



On 14 Apr 2008, at 13:05, Stuart (FunkDaWeb) wrote:

Hi guys ive been trying to figure this out now for over a week, i  
want to dynamically set the registration point of a dynamically  
created movieclip. ive come across a class by Oscar Trelles (a re- 
written AS1/2 class) that does what im after but it does not seam to  
be very portable and can not get it to work with my app.


I have also tried to use negative values by creating a blank mc and  
loading the image into it, this gives me an image that's in the  
correct place but the blank MC does not use the negative values set  
so i have an overall MC thats bigger that it should be!


So heres my question

I want to create a movieclip with the X/Y set to 0 but have the  
actual registration point set to X = mc.width / 2 and Y =  
mc.height / 2 so when i use the transform controls ive created it  
scales, rotates etc... from the centre.


I also have a second question how do i set the initial value of a  
colorpicker box via actionscript? this too also seams to be really  
hard to find the answer!


SM
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Adding n days to dateField.selectedDate

2008-04-14 Thread Michael William Ypes

What about daylight savings!

I just created a tv listings app in flex and this approach did not  
work. Recently the clocks changed and 7pm became 8pm because of the  
daylight savings. I can't believe that there is not any other way to  
add a day without doing it through milliseconds.


Because I knew what time my shows started I could always use the  
setHours method. However I don't feel that this was or is the most  
scaleable solution.


Cheers

Michael


On 14 Apr 2008, at 00:50, Matthew Houliston wrote:


On 14/04/2008 01:34, Gabino Travassos wrote:

If I want 283 days in the future I add 1208129349 + (283 days *24  
hours*60 minutes*60second) = 1232580549 and I convert that to  
whatever date format I want.


Gabino's right, and the Date class makes it easy :

var d:Date=new Date(2008,3,14);
d.time+=(8640*283); // 283 days, in milliseconds
trace(d.getFullYear()+"/"+(d.getMonth()+1)+"/"+d.getDate());
// 2009/1/21
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders