Re: [Flashcoders] alpha on text without embedding font

2009-10-26 Thread Mauro Martins
Create a movieclip, put the textField inside the movieclip and set the alpha
to the movieclip. That will do the trick :)

2009/10/26 Karl DeSaulniers k...@designdrumm.com

 You may want to force a variable inside the MC to hold the dynamic text
 that is loaded and have the textfield = that variable.
 Then if the MC changes (position, scale, etc), you have a function that
 make sure the textField always = that variable. a pseudo refresh guarantee.
 You may find that you don't need this in most cases. More for just in case,
 or if you find your text disappearing when modifying the MC it is in.
 If your text is static (doesnt change form) and all it does is fade its
 alpha, you probably wont need to do this.

 HTH

 Karl



 On Oct 25, 2009, at 7:56 PM, Karl DeSaulniers wrote:

  Well, you can if you have the text inside a MC.
 Then you change the alpha of the MC.

 Karl


 On Oct 25, 2009, at 7:44 PM, Gerry wrote:

  No. Unless you take a snapshot of that textField using BitmapData first
 then add that to a MovieClip.

 -Gerry

 On Oct 25, 2009, at 5:22 PM, Pedro Kostelec wrote:

  Hi,

 is there a way to set alpha transparency to dynamically imported text
 with
 as3 without having to embed the font?

 Thanks,
 Pedro Kostelec
 ___
 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


 Karl DeSaulniers
 Design Drumm
 http://designdrumm.com

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


 Karl DeSaulniers
 Design Drumm
 http://designdrumm.com

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




-- 
Cumprimentos, Mauro Martins
-
www.imauro.com || www.imauro.com/blog/
Web Designer || Flash  Flex Developer

Twitter: @Mauredo || LinkedIn: www.linkedin/in/mauromartins
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] alpha on text without embedding font

2009-10-26 Thread kennethkawam...@gmail.com
Yes - just export to Flash 10 ;)
-- 
Kenneth Kawamoto
http://www.materiaprima.co.uk/

2009/10/25 Pedro Kostelec pedrok...@gmail.com:
 Hi,

 is there a way to set alpha transparency to dynamically imported text with
 as3 without having to embed the font?

 Thanks,
 Pedro Kostelec
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Exit frame event

2009-10-26 Thread Henrik Andersson

Hi! Happy first post to me!

I have been trying to figure out what the new exit frame event is for. 
The manual is not helpful at all here.


I have done some experiments on how the different events are timed. (See 
attached file) They show that for the first frame, the exit frame event 
happens before the enter frame event (wtf!), but that is far from the 
most curious fact I have discovered.


I timed the time between enter, exit and render events while playing a 
know lagging movie. The time between the render and the enter event was 
always the rendering time. But what made me very curious is how the time 
difference was between the enter and exit events vs the difference 
between exit and render. When the player was not lagging a lot, the 
rendering time was spent between enter and exit, not spending even a 
single ms between exit and render.


However, when the player was badly lagging, the time between the enter 
and exit events dropped to zero! Instead, the time was between the exit 
and the render events.


Could someone please explain what is going on with this strange new exit 
event?
import flash.events.*;

var l=new Loader();
addChildAt(l,0);
//l.loaderInfo.addEventListener(Event.COMPLETE, add);
//l.load(new URLRequest(realtest.swf));
l.load(new URLRequest(file:///e:\\ny flash\\music videos\\354577_future.swf));
l.scaleX=l.scaleY=2.5;

var enter:uint,exit:uint,construct:uint,render:uint;

function add(e=null) {
addEventListener(Event.ENTER_FRAME,d);
addEventListener(Event.EXIT_FRAME,d);
addEventListener(Event.FRAME_CONSTRUCTED,d);
addEventListener(Event.RENDER,d);
}
add();
stage.invalidate();

function d(e) {
switch(e.type) {
case Event.ENTER_FRAME:
enter=getTimer();
stage.invalidate();
lag_txt.text=Enter-Exit: +(enter-exit).toString()+
\nExit-C: +(exit-construct).toString()+
\nEnter-Render: +(enter-render).toString()+ 
\nExit-Render: +(exit-render).toString();
break;
case Event.EXIT_FRAME:
exit=getTimer();

break;
case Event.FRAME_CONSTRUCTED:
construct=getTimer();
break;

case Event.RENDER:
render=getTimer();

break;
}

//trace(e.type,getTimer());
}___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Exit frame event

2009-10-26 Thread Cor
Your switch always triggers enter_frame and not another choice possibility

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson
Sent: maandag 26 oktober 2009 11:31
To: Flash Coders List
Subject: [Flashcoders] Exit frame event

Hi! Happy first post to me!

I have been trying to figure out what the new exit frame event is for. 
The manual is not helpful at all here.

I have done some experiments on how the different events are timed. (See 
attached file) They show that for the first frame, the exit frame event happens 
before the enter frame event (wtf!), but that is far from the most curious fact 
I have discovered.

I timed the time between enter, exit and render events while playing a know 
lagging movie. The time between the render and the enter event was always the 
rendering time. But what made me very curious is how the time difference was 
between the enter and exit events vs the difference between exit and render. 
When the player was not lagging a lot, the rendering time was spent between 
enter and exit, not spending even a single ms between exit and render.

However, when the player was badly lagging, the time between the enter and exit 
events dropped to zero! Instead, the time was between the exit and the render 
events.

Could someone please explain what is going on with this strange new exit event?

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.698 / Virus Database: 270.14.32/2459 - Release Date: 10/25/09 
20:57:00


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


Re: [Flashcoders] Exit frame event

2009-10-26 Thread Henrik Andersson

Cor wrote:

Your switch always triggers enter_frame and not another choice possibility


I tried without that, but the only effect was that all differences was 
zero (or 1 due to random timing differences). The position in the enter 
frame case is very intentional and is in fact needed to get any useful 
results.


Maybe I should log the difference between each and every event for each 
event, but that would be a lot of data and I doubt that most of it would 
be of any use. It would be nine timing differensies, and I doubt that 
they would differ a lot.

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


[Flashcoders] Embedding fonts using SWFMILL

2009-10-26 Thread Sumeet Kumar

Hi All,

I am trying to dynamically create fonts using swfmill on the clients 
machine. My flash 8 movie is getting embedded in VB, whenever i try to 
create fonts using swfmill,using the following .xml


?xml version='1.0' encoding='utf-8'?movie width='200' height='70' 
framerate='30'background color='#ff'/framelibraryfont 
glyphs='#32;#33;#34;#35;#36;#37;#38;#39;#40;#41;#42;#43;#44;#45;#46;#47;#48;#49;#50;#51;#52;#53;#54;#55;#56;#57;#58;#59;#60;#61;#62;#63;#64;#65;#66;#67;#68;#69;#70;#71;#72;#73;#74;#75;#76;#77;#78;#79;#80;#81;#82;#83;#84;#85;#86;#87;#88;#89;#90;#91;#92;#93;#94;#95;#96;#97;#98;#99;#100;#101;#102;#103;#104;#105;#106;#107;#108;#109;#110;#111;#112;#113;#114;#115;#116;#117;#118;#119;#120;#121;#122;#123;#124;#125;#126;#160;#161;#162;#163;#164;#165;#166;#167;#168;#169;#170;#171;#172;#173;#174;#175;#176;#177;#178;#179;#180;#181;#182;#183;#184;#185;#186;#187;#188;#189;#190;#191;#192;#193;#194;#195;#196;#197;#198;#199;#200;#201;#202;#203;#204;#205;#206;#207;#208;#209;#210;#211;#212;#213;#214;#215;#216;#217;#218;#219;#220;#221;#222;#223;#224;#225;#226;#227;#228;#229;#230;#231;#232;#233;#234;#235;#236;#237;#238;#239!
;#240;#241;#242;#243;#244;#245;#246;#247;#248;#249;#250;#251;#252;#253;#254;#255;' 
import='C:\Windows\Fonts\fontname.TTF'//libraryImport 
url=fontname.swf'/Import/frame/movie


The font files get generated, and it works fine (in flash player)if loaded 
in my main .swf file. But as soon as i use it in my main.swf file embedded 
in VB and try to load the fonts files, VB gets crashed.


I tried putting version='8' in the movie tag, but this does not work in 
flash 8


Can someone please guide me in correcting this issue.

Any suggestions or help would be great.

Regards
Sumeet Kumar

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


RE: [Flashcoders] DataGrid not updating after DataProvider item changes

2009-10-26 Thread Merrill, Jason
Have you tried myDataGrid.dataProvider.refresh();

And the dataprovider is also set to a [Bindable] property right?

Jason Merrill 

Bank of  America   Global Learning 
Learning  Performance Soluions

Monthly meetings on making the most of the Adobe Flash Platform -
presented by bank associates, Adobe engineers, and outside experts in
the broader multimedia community - join the Bank of America Flash
Platform Community  (note: this is for Bank of America employees only)




-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Andrew
Sinning
Sent: Saturday, October 24, 2009 5:48 PM
To: Flash Coders
Subject: [Flashcoders] DataGrid not updating after DataProvider item
changes

Publishing for F9 with AS3, using Flash not Flex.

I have a simple DataGrid.  I've added 9 items to its DataProvider.  They

are simple objects of a type Candidates that doesn't extend any other 
class.

I have columns for 4 public properties of Candidate:  name, voteUnits, 
percentVote and rank.  The initial value all show up in the DataGrid as 
expected.

After changing several values in any of the items, there is no change 
registered in the DataGrid.

Do I need to send an event from the object to the DataProvider?

Everything in Flash is always passed by reference, right?

Thanks!
___
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] DataGrid not updating after DataProvider item changes

2009-10-26 Thread Dave Watts
 And the dataprovider is also set to a [Bindable] property right?

This is almost certainly the problem, right here. Array isn't
Bindable, ArrayCollection is.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Job Postings OK?

2009-10-26 Thread Chris
I have not actively participated in this list for years, sorry :).  I was
wondering if it would be ok to put a job posting up?

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


Re: [Flashcoders] Job Postings OK?

2009-10-26 Thread Dave Watts
 I have not actively participated in this list for years, sorry :).  I was
 wondering if it would be ok to put a job posting up?

Yes. I'm the list admin. Go ahead.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

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


[Flashcoders] Looking for Actionscripters

2009-10-26 Thread Chris
Sony Online Entertainment Tucson is looking for various people to help us
make video games. We're looking for three types of people:

Mid/Senior Level Actionscript Developer - On-site long-term contractor
position.
Mid/Senior Level ActionScript Game Developer - Off-site short-term
contract(s) for mini-game development.
Intern/Junior Level Developer - On-site Development/Learning Program.

Detailed information below.

== Middle/Senior Actionscript Developer ==

This is a FULL TIME contract position for on-site work.

Game development knowledge a plus, but unnecessary. We are looking for
quality coders. If you've wanted to work in games this position is perfect
for a seasoned developer to migrate over. You will be working on a team
developing game subsystems within a larger game environment.

Skills sought :
 * Ability to work in a team using agile methodology.
 * A solid understanding of a Cairngorm-style MVC programming style.
 * Ability to write quality modular, loosely coupled code.
 * A working knowledge of Flash.

== Middle/Senior Actionscript Game Developer ==

This is a SHORT-TERM contract position for off-site work. Based upon
performance and workload we may have more work for you afterwards. Each
contract is approximately 2-3 weeks.

You will be developing mini-games based upon our specifications and artwork.
You will be given a rough spec and be expected to work with our in-house
team to deliver a finished game on a quick timeline.

Skills sought :
 * Experience in game development.
 * Stellar communication ability.
 * Ability to conform to our internal coding guidelines.
 * A solid understanding of a Cairngorm-style MVC programming style.
 * Ability to write quality modular, loosely coupled code.
 * A working knowledge of Flash.

== Intern/Junior Level Developer ==

This is a PART-TIME position for on-site work. If you are in the Tucson area
and are just getting started in programming or computer science, we can
probably help each other. We are looking for beginners who can take on small
tasks and learn on the job.

Skills sought :
 * Potential to be a great programmer.


Bonus points for reading this far. You may respond to me at chill at soe dot
sony dot com. Please do not reply with your private info to the list. :)

Please reply with:
Resume
Availability
Pricing/Rate info.

Thanks,
Chris Hill
Sony Online Entertainment
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Windows 7 Compatibility with Flash

2009-10-26 Thread Kevin Newman

On 10/23/09 6:37 PM, Paul Andrews wrote:

AutGlass Jobs wrote:

Hi all,

Now that Windows 7 came out, I wanted to see if there might be any
compatibility issues with playing Flash on it.  Anyone have any 
insight on

this matter?

Been running Win7 RC for months now without problems..


Same here - I've had very few problems at all with Windows 7 - it's 
definitely not a repeat of the early Vista experience (in fact, many 
things worked better in 7 than Vista). Jump in.


Kevin N.

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