Re: [Flashcoders] Making dynamic text look the same as static text

2008-09-18 Thread Christoffer Enedahl

You need to embed the font. Google it

Alan Neilsen skrev:

I have found that when I call text into a dynamic text field from a variable, 
it does not look the same as the text in a static text field set with the same 
font, size, etc. The text in the dynamic text field appears with no anti-alias, 
emboldening or italics, even though I have set those properties for that 
dynamic text field. Can anyone advise how I make those properties work for a 
dynamic text field?

Alan Neilsen
E-delivery Resources Developer
Goulburn Ovens Institute of TAFE
Wallis Street
Seymour, Vic. 3660
Phone: 0357352466
Mobile: 0437355688

* Please consider the environment when deciding whether or not to print this 
email.


This message is for the named person’s use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or; lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify
the sender. You must not directly or indirectly, use, disclose,
distribute, print or copy any part of this message if you are not the
intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and
any of its subsidiaries each reserve the right to monitor all e-mail
communications through its networks. Any views expressed in this
message are those of the individual sender, except where the
message states otherwise and the sender is authorised to state them
to be the views of any such entity.

#
This e-mail message has been scanned for Viruses and Content and cleared 
by MailMarshal

#
___
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: [BULK] Re: [Flashcoders] OT - Detecting flash versions for a large site

2008-09-18 Thread sebastian

Hi again Susan,

There are several ways, you can write your own Javascript or search 
google for an example].


Or, you can use SWFObject, and then rip out the version it finds in the 
externally loaded swfobject.js file:


deconcept.SWFObjectUtil.getPlayerVersion();

Or, you can load a flash SWF file, that reads the version:

http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14294

And then write/store that information manually via some ASP/PHP script 
on your server.


:)

Seb.

Lord, Susan, CTR, DSS wrote:

This is really cool, Glen! Thanks for the heads up on Flash Analytics. I
am going to implement this on my personal site!  Unfortunately, I am
with the gov't and we can't use the Google app on our site.  I wish we
could!

Does anyone know if there is a way to write something that runs with the
person first hits my internet home page... possibly an asp script that
will detect the version of flash and write it out to a log file?
Basically we want to create our own stats for our particular audience.
We don't want the coding embedded in a SWF, since there are no swf's on
our home page.

Any advice or references you have would be most helpful!  


Thanks!

Susan


___
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] Making dynamic text look the same as static text

2008-09-18 Thread Alan Neilsen
I have found that when I call text into a dynamic text field from a variable, 
it does not look the same as the text in a static text field set with the same 
font, size, etc. The text in the dynamic text field appears with no anti-alias, 
emboldening or italics, even though I have set those properties for that 
dynamic text field. Can anyone advise how I make those properties work for a 
dynamic text field?

Alan Neilsen
E-delivery Resources Developer
Goulburn Ovens Institute of TAFE
Wallis Street
Seymour, Vic. 3660
Phone: 0357352466
Mobile: 0437355688

* Please consider the environment when deciding whether or not to print this 
email.


This message is for the named person’s use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or; lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify
the sender. You must not directly or indirectly, use, disclose,
distribute, print or copy any part of this message if you are not the
intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and
any of its subsidiaries each reserve the right to monitor all e-mail
communications through its networks. Any views expressed in this
message are those of the individual sender, except where the
message states otherwise and the sender is authorised to state them
to be the views of any such entity.

#
This e-mail message has been scanned for Viruses and Content and cleared 
by MailMarshal
#
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Zipping in AS3

2008-09-18 Thread Mac Angell
 

Hey everyone! I'm trying to find a solid zip/unzip library for AS3. I've
done some testing with both FZip and AS3 Zip, and I've been running into
problems with both. So I'm wondering if there are any others out there
that anyone knows about that have been tested extensively. Or if any of
you know of any applications/sites that use FZip or AS3 Zip that I could
see a demo/source code of, that might help me get over some hurdles as
well.

 

Thanks in advance!

 

Mac Angell

[EMAIL PROTECTED]

 

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


RE: [BULK] Re: [Flashcoders] OT - Detecting flash versions for a large site

2008-09-18 Thread Lord, Susan, CTR, DSS
This is really cool, Glen! Thanks for the heads up on Flash Analytics. I
am going to implement this on my personal site!  Unfortunately, I am
with the gov't and we can't use the Google app on our site.  I wish we
could!

Does anyone know if there is a way to write something that runs with the
person first hits my internet home page... possibly an asp script that
will detect the version of flash and write it out to a log file?
Basically we want to create our own stats for our particular audience.
We don't want the coding embedded in a SWF, since there are no swf's on
our home page.

Any advice or references you have would be most helpful!  

Thanks!

Susan


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


Re: [Flashcoders] multiple classes in one swc?

2008-09-18 Thread eric e. dolecki
AS3 - I actually got it to work 3 secs after sending that email. If I used
anything but a generic package, import statements after the first got wonky.
The first class was okay, after that FAIL. Got it all sorted out - kick arse
;)

On Thu, Sep 18, 2008 at 4:13 PM, Hans Wichman <
[EMAIL PROTECTED]> wrote:

> Yes,
> as2 or as3 ?
>
> greetz
> JC
>
> On Thu, Sep 18, 2008 at 9:58 PM, eric e. dolecki <[EMAIL PROTECTED]>
> wrote:
> > Is it possible to have many classes burned into a single SWC and then
> call
> > classes out of it?
> > - linked to SWC
> > import someClass;
> > import someOtherClass;
> >
> > var foo:SomeClass = new SomeClass();
> > var bar:SomeOtherClass = new SomeOtherClass();
> > ___
> > 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] HTML in a TextArea

2008-09-18 Thread Lehr, Theodore M (N-SGIS)
OK - so I have a textarea that I am having hold an image followed by
text... by default the text follows immediately by the text - I want the
text to be below the image... I have tried  and that works but the
size of the images is dynamic so there is no hard answer... I have also
tried  or wrapping the image in a  but none of those seem to
work - How can I get the text to be below the image no matter what?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] multiple classes in one swc?

2008-09-18 Thread Hans Wichman
Yes,
as2 or as3 ?

greetz
JC

On Thu, Sep 18, 2008 at 9:58 PM, eric e. dolecki <[EMAIL PROTECTED]> wrote:
> Is it possible to have many classes burned into a single SWC and then call
> classes out of it?
> - linked to SWC
> import someClass;
> import someOtherClass;
>
> var foo:SomeClass = new SomeClass();
> var bar:SomeOtherClass = new SomeOtherClass();
> ___
> 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] multiple classes in one swc?

2008-09-18 Thread eric e. dolecki
Is it possible to have many classes burned into a single SWC and then call
classes out of it?
- linked to SWC
import someClass;
import someOtherClass;

var foo:SomeClass = new SomeClass();
var bar:SomeOtherClass = new SomeOtherClass();
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Anchor tag in textfield looks clickable, but its not

2008-09-18 Thread kris range
In our application we are using css styled html text through
externally loaded stylesheets and fonts. Everythings been working
great. The clients says they want to use anchor links in the text. So
we put in some sample html links to test and something is a miss. The
links, they show up, they look like links, even act like links
visually ( mouseovers work ) but they don't work.

A few major differences that I see.
- Hand cursor doesn't change
- Right clicking on the link doesn't show any way to copy the url
- Attaching a TextEvent to the TextField doesn't reproduce any response as well.


Has anyone seen this? My text looks pretty basic but maybe I'm missing
something. Any ideas?

'This is sample text. http://somesite.com";>Here is a Link'
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Can I avoid distorted bitmaps when scaling dynamically?

2008-09-18 Thread Jorge Rego { IPP }
Have you turned the allow smoothing on?
If  you need to do it for a big number of bitmaps consider doing it with a
.jsfl command.

Jorge rego

On Thu, Sep 18, 2008 at 5:26 PM, Ali Drongo <[EMAIL PROTECTED]>wrote:

> Hiya, I need to code some tweens that scale movieclips containing bitmaps.
> At the moment I'm using TweenMax and, when I scale the images they look
> distorted, the same way they do if you scale bitmaps on the timeline.
>
> Does anyone know of a way I can avoid this distortion?
>
> Thanks!
> Ali
>
>
> ___
> 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] Can I avoid distorted bitmaps when scaling dynamically?

2008-09-18 Thread Zeh Fernando
If you mean they lose quality (instead of "distort"), it's because they
don't have interpolation on, and you have to change it. How you do so
depends on how the images are featured. If they're single images (featured
inside the SWF) you need to turn on "smoothing" on the bitmap properties on
the library. If they're dynamically attached Bitmaps, you need to turn on
the antialias option of the Bitmap container.

Zeh

On Thu, Sep 18, 2008 at 1:26 PM, Ali Drongo <[EMAIL PROTECTED]>wrote:

> Hiya, I need to code some tweens that scale movieclips containing bitmaps.
> At the moment I'm using TweenMax and, when I scale the images they look
> distorted, the same way they do if you scale bitmaps on the timeline.
>
> Does anyone know of a way I can avoid this distortion?
>
> Thanks!
> Ali
>
>
> ___
> 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


SOLVED: [Flashcoders] AS3 - setting a combobox to display a selection matching a string variable

2008-09-18 Thread BOYD SPEER
Thanks guys!
This was the correct solution:
// three items in the combobox
 // the last item in the myprofile array contains the string var.
 for (i=0; i<3; i++) {
  var thematch = dialect.dialect.getItemAt(i);
  if (thematch.label==myprofile[myprofile.length-1]) {
   dialect.dialect.selectedIndex=i;
  }
 }
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Two Parts Question for Displaying Special Characters/Symbols/Images

2008-09-18 Thread ITSCO
 
Hello everybody 
I am trying to display special characters within a text field  either by 
specifying their numerical entities in an outside XML file, or by  bringing 
them 
from the library.   
For illustration purpose lets consider a symbol named  “checkMark” 
Part 1:  
The “checkMark” image is stored in the library of the starting  fla. file as 
a BitMap, designated in the linkage properties by the class name: ”  
CheckMark_1”. 
If I wanted to just display this check mark graphic, I would use  the 
following code: 
var _cMark:Bitmap=new Bitmap(new  CheckMark_1(0,0)); 
addChild(_cMark); 
If I wanted to bring this same graphic named 'check_2.png' from a  directory 
and embed it in an html text I would use the  following: 
var tryText:TextField=new  TextField(); 
tryText.multiline=true; 
tryText.width=200; 
tryText.height=200; 
tryText.x=100; 
tryText.y=100; 
tryText.htmlText="PART 1: Check MARK "; 
addChild(tryText);  
Both of the above codes are working fine.  The question here is how to 
display such  graphic within the html text, when the bitmap is already in the 
fla.  
library. 
Part 2:   
The check mark is very  similar to the Square Root symbol.  The numerical 
html entity of this symbol is √ If  I use the following code on a frame, 
the  symbol shows fine. 
tryText.htmlText="PART 2: Check MARK  √"; 
addChild(tryText); 
If I bring this symbol from an XML file, contained in “CDATA” type  node, 
the symbol does not show.  The  rest of the text shows ok. 
Any idea on why it works ok within the fla. file and not when  loaded from an 
XML file? 
Thank you, 
Daniel Abramovich 

Interactive Training Solutions (ITS)
_www.its-metacentre.com_ (http://www.its-metacentre.com/) 





**Pt...Have you heard the news? There's a new fashion blog, 
plus the latest fall trends and hair styles at StyleList.com.  
(http://www.stylelist.com/trends?ncid=aolsty000514)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] AS3 - setting a combobox to display a selection matching a string variable

2008-09-18 Thread BOYD SPEER
I need to cause a combobox to programmatically change to display a selection 
matching a string variable. I am using the following code without results...

// three items in the combobox
 // the last item in the myprofile array contains the string var.
 for (i=0; i<3; i++) {
  if ((dialect.dialect.getItemAt(i)).label==myprofile[myprofile.length-1]) {
   fscommand("found match "+(dialect.dialect.getItemAt(i)).label)
// the correct string is found but the combobox does not change the displayed 
label to show that is has been set to the correct item...
   dialect.dialect.selectedItem(myprofile.length-1);
  }
 }

what am I missing here??
Thanks for any insights!
-Boyd
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Can I avoid distorted bitmaps when scaling dynamically?

2008-09-18 Thread Ali Drongo
Hiya, I need to code some tweens that scale movieclips containing  
bitmaps. At the moment I'm using TweenMax and, when I scale the images  
they look distorted, the same way they do if you scale bitmaps on the  
timeline.


Does anyone know of a way I can avoid this distortion?

Thanks!
Ali


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


[Flashcoders] External flv security issue...

2008-09-18 Thread Sander Schuurman
hi cool list,

I'm trying to load external swf into my flashapp.
crossdomain.xml is in the correct place... the root of the server wich hosts 
the flv's...
checkPolicyFile is giving positive results...
inside the the swf is a flash video... don't know if this is external or 
internal...

I keep getting this error:
SecurityError: Error #2121: Security sandbox violation: Loader.content: 
http://sitem/adtest.swf cannot access 
http://www.bladiebla.tv/flashcommercials/banner_320x240.swf?pid=test. This may 
be worked around by calling Security.allowDomain.

Inside the policylog all policy stuff is accepted. AllowDomain doesn't do the 
trick also...

On the papervision mailing list I came accross a 'new' security thingie from 
Flashplayer 9.0.115 I believe... and someone said something about a 
(policy)flag that needs to be in the video? I read it really quick so I'm not 
sure what I read ;) But google isn't telling much on the subject...

Does anyone know something about this issue?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] RE: Optimising file size - stripping down intrinsics ...

2008-09-18 Thread Ian Thomas
SJF,

The only thing he _could_ have stripped out is code from the
non-intrinsic Flash code; for example, the Flash component classes,
the Flex components and framework.

Those aren't intrinsic, but _are_ bundled with Flash/Flex.

Intrinsics, by their nature, are part of the Flash Player as I said.

So you couldn't strip code from Sprite, because it's intrinsic. But
you could strip code from mx.controls.UIButton.

HTH,
   Ian

On Thu, Sep 18, 2008 at 12:12 AM, SJF <[EMAIL PROTECTED]> wrote:
> Paul - I once worked with a guy who was building components for a large
> teen-focused community site (Coca-Cola if I recall - it was a few years back
> now), anyway, he gave the impression that he always stripped out Flash
> intrinsic classes before creating a release build. To be honest, I don't
> know why he went through this process (it was around Flash MX time) other
> than I remember him saying that Macromedia had too much bloat in their
> intrinsics.
>
> Anyway, just thought I'd ask if this practice is still done.
>
> Cheers.
> ___
> 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