Re: [Flashcoders] best way to save as pdf from flash?

2009-05-14 Thread Anthony Pace

Hi Paul,

No one else uses Xara, and it lacks a lot of photo editing and brush 
customization features; however, it does look neat for vectors.


The situation is, the flash IDE doesn't work the way I would like, so I 
have decided to make my own little application that outputs to pdf.  I 
might also make an extension, as that would be useful to more people 
than just me; yet, I would need to put aside a little time to mess around.


Thanks,
Anthony

Paul Andrews wrote:

- Original Message - From: Taka Kojima t...@gigafied.com
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Wednesday, May 13, 2009 7:37 PM
Subject: Re: [Flashcoders] best way to save as pdf from flash?



I believe he is trying to export as a PDF from FlashPlayer, not from
Flash itself


You could be right, but Antony has been going on about the IDE and 
illustrator, so for such a simple subject, I'm a bit confused what 
exactly he's up to..


On Wed, May 13, 2009 at 11:22 AM, Paul Andrews p...@ipauland.com 
wrote:
If you're using Flash as some high end illustration program, do 
yourself a
favour and use Xara Xtreme (http://www.xara.com/uk/products/xtreme/) 
- it

has native PDF export and is far more
capable than flash for illustration..

Paul
- Original Message - From: Anthony Pace 
anthony.p...@utoronto.ca

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Wednesday, May 13, 2009 6:07 PM
Subject: Re: [Flashcoders] best way to save as pdf from flash?



I was referring to the ide; yet, even the flashplayer has the the same
printing bugs

-screenshots are out of the question; as I usually am printing very 
large

files
-I have already tried printing directly to a PDF print server, from 
the

flash IDE; however, the effects I place on MCs don't seem to stay.
-I would use illustrator; yet, it just doesn't have a lot of flash's
capabilities, and vise versa when doing extrusions for illustration or
using livepaint. I know I can export the paths to illustrator; yet, 
the

effects don't transfer well, if at all, and I am not a fan of the poor
quality of some of the illustrator effects.
-I know that I could convert the movie clip to a bitmap in as3 and 
then
either convert it to a pdf or png/jpg using a decent library, or 
printing

it as a converted bitmap to a pdf server(as long as the pixel count is
less than 16,775,168, a problem when converting to posters that need a
bare minimum quality of 300 dpi at 27 x 41 or 99,630,000 pixels), 
and it
will be the direction I am going in; however, I really shouldn't 
have to

program this myself, as it should already be a capability of the ide,
along with better integration with photoshop and illustrator and 
much much

better file conversion.

Printing from the flash IDE or a much better form of integration with
illustrator and photoshop would be best.


Glen Pike wrote:


Hi,

I am assuming you are talking about the IDE?

Are you doing screenshots for the client?
It might not be helpful, but I just do Test Movie then Alt+Print
Screen or Ctrl+Print Screen and paste into my graphics program...

Alternatively look at CutePDF or one of the free PDF printers that
might help.

Printing from SWF's with the FP Printer - you can draw into a bitmap
first, then print the MC with that in - this means all your filters 
fonts should have been rasterised.

HTH - might have misunderstood your request...

Glen

Anthony Pace wrote:


I would print directly to pdf; yet, I lose the effects I have 
placed on
MCs; as well, saving it to illustrator directly is a problem, 
because

flash will screw up the file header when a custom font that I use is
required.

Thus, because flash doesn't have a decent printer driver, and its 
file

conversion methods suck, my current process is:

I create an swf of the dimensions I want in inches (e.g. 8.5 x 11)
I convert to png and choose a DPI of something like 300 to 
indicate high

resolution, and I select 24 bit, with no alpha channel, in order to
avoid the ARGB conversion that is screwed for flash.
I open that png and I open something like photoshop/illustrator that
allows you to convert to a pdf.

Is there a better way?
___
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] Text field doesn't show hand cursor over links.

2009-05-14 Thread Karl DeSaulniers

Now this works:

//  start

var curText:String = p class=\headline\Different Color Headers/p
+ pMauris posuere iaculis lectus. Maecenas fringilla viverra libero.
+ Aenean adipiscing massa non orci. Etiam quis lacus sed pede  
porttitor dignissim.br
+ Do you like stronga href= 
\mailto:flashcod...@chattyfig.figleaf.com\; target=\_blank\ class= 
\bURL\Figleaf?/a/strongbr
+ Nullam malesuada leo et turpis tincidunt eleifend. Proin non eros  
et mauris suscipit fringilla. In hac habitasse platea dictumst.
+ Maecenas varius. Duis ipsum nibh, varius a, aliquet nec, ornare  
ac, diam. Nam sollicitudin bibendum elit.
+ Sed pellentesque tincidunt mi./pbrbrp class=\author\The  
Flash Comunity is a tightly knit, very intricate part of the web/p;


/*
//---  Ooor  if you want to import your text via a text file or other
var curText:String;
loadVariables(curText.txt, this);
*/
/*
// inside curText.txt  :
curText=p class=headlineDifferent Color Headers/ppMauris  
posuere iaculis lectus. Maecenas fringilla viverra libero. Aenean  
adipiscing massa non orci. Etiam quis lacus sed pede porttitor  
dignissim.brDo you like stronga  
href=mailto:flashcoders@chattyfig.figleaf.com; target=_blank  
class=bURLFigleaf?/a/strongbrNullam malesuada leo et turpis  
tincidunt eleifend. Proin non eros et mauris suscipit fringilla. In  
hac habitasse platea dictumst. Maecenas varius. Duis ipsum nibh,  
varius a, aliquet nec, ornare ac, diam. Nam sollicitudin bibendum  
elit. Sed pellentesque tincidunt mi./pbrbrp class=authorThe  
Flash Comunity is a tightly knit, very intricate part of the web/p

*/

var fmt:TextFormat = new TextFormat();
fmt.font = Arial;
fmt.color = 0x00; // for base color without style applied

import TextField.StyleSheet;
this.createTextField(textContent, 0, 0, 20, 240, 320);
textContent.multiline = true;
textContent.wordWrap = true;
textContent.autoSize = true
textContent.selectable = false;
textContent.html = true;
textContent.setTextFormat(fmt);

var my_styleSheet:StyleSheet = new StyleSheet();
my_styleSheet.onLoad = function(success:Boolean) {
textContent.ignoreWhite = true;
if (success) {
textContent.styleSheet = my_styleSheet;
textContent.htmlText = curText;
} else {
curText = Text not loading;
textContent.htmlText = curText;
}
};
my_styleSheet.load(flash_css.css);

//  end

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com

On May 13, 2009, at 10:57 AM, natalia Vikhtinskaya wrote:


I found.
Solved.
here is correct code with font in library id=Arial
var my_fmt:TextFormat = new TextFormat();
my_fmt.font = Arial;

this.createTextField(textContent, 1, 0, 0, textAreaW, textAreaW);
var obj=this.textContent;
obj.multiline = true;
obj.wordWrap = true;
//obj.embedFonts = true;  this is wrong
obj.html=true;
obj.autoSize = true;
obj.selectable = false;
obj.setTextFormat(my_fmt);
obj.styleSheet = flash_css;
obj.htmlText=curText;

Now it shows bold, italic, normal

2009/5/13 Ruy Adorno r...@lesite.ca:

And what about different ids and the same linkage?

natalia Vikhtinskaya wrote:


Not possible to have them with the same id.

2009/5/13 Ruy Adorno r...@lesite.ca:



You have to embed 2 times the same font in your library, I think  
you can

use
just the same id, but you should import one as bold and another  
as a

simple
font.

natalia Vikhtinskaya wrote:



I solved problem with hand cursor. Still can not make text  
bold. If I

check properties in library font- bold all text becomes bold.

2009/5/13 natalia Vikhtinskaya natavi.m...@gmail.com:




Thank you for help, but that does not help.  I added text area  
with

embeded Arial letters- normal and bold on stage.


2009/5/13 Karl DeSaulniers k...@designdrumm.com:




Hi Natalia,

On May 13, 2009, at 4:26 AM, natalia Vikhtinskaya wrote:





font-family: Arial;  // I have font Arial in the library  
with id

“Arial”.





Try placing a instance of your embeded font off stage where your
loading
your textBox.





Another problem if I have bold tags bsome text/b that  
text is not





Try strongyour text here/strong

HTH

Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
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] Taschen Icons - Web Design: Flashfolios

2009-05-14 Thread Glen Pike

Think I remember some of these books - but it was a while ago...

Anyway, I am guessing that the people maybe talking about solid 
development time - if you ask a Flash developer how long they took to 
build something, they will probably only remember the nice stuff, like 
doing Flash and discount all the other cr** as management / marketing 
departments stuff :)  Maybe they will even skip the graphics side of 
things.  Anyway, these are all nicely rounded numbers, so I would be 
dubious of their accuracy anyway/..


Glen

Paul Andrews wrote:

Gosh, tumbleweed!

- Original Message - From: Paul Andrews p...@ipauland.com
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Wednesday, May 13, 2009 5:43 PM
Subject: [Flashcoders] Taschen Icons - Web Design: Flashfolios


I have the Taschen Icons - Web Design: Flashfolios book. very nice it 
is too.


For those of us on the list that have this book (there must be a 
few), I'm curious about the cost estimates that are sometimes given.


It can be a bit difficullt to estimate the complexity of a given site 
- particularly if the design has changed since the book was 
published, but in several cases I've considered the costing given to 
some sites as being way too low - p74 www.dita-legends.com has a cost 
estimate of 50 hours! (note it looks like the design and url has 
changed since the book was published). http://www.sergedemarre.be/ 
(p158) has a cost of 80 hours.


Anyway, I won't go on - there are many sites with a cost of 120 hours 
or so and naturally several with very long times.


I suspect that some of these estimates are plucked from the air and 
if I take 80 hours, that would imply two man-weeks.


My experience (particularly with corporates) is that huge amounts of 
time can be taken up with meetings and reworking of graphics and 
themes and several people can be involved - designer, developer, 
account manager, ..etc . Even in a small agency you might expect that 
80 hours to be split between design and development, so 80 hours 
seems really tight to me and even 120 hours seems unlikely for a 
sophisticated client with a lot of assets to be designed and approved.


I once worked on a corporate project (not flash) where 120 hours 
wouldn't have been enough for the meetings about the proposed 
development, let alone making it!


If you have the book, please let me know what you think of those 
costings!


Paul
___
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] Taschen Icons - Web Design: Flashfolios

2009-05-14 Thread Matt S.
My experience is that time-estimates on these kinds of
visually/conceptually/programmatically complex projects are almost
always underestimated. 80 hours might be what is formally on the books
and what gets billed, but I'd be willing to bet the designers and
developers put in quite a few extra hours that don't get counted. So
80 hours == 2 weeks, even if during those 2 weeks the team was working
nights and weekends.

.m

On Thu, May 14, 2009 at 7:45 AM, Paul Andrews p...@ipauland.com wrote:
 Gosh, tumbleweed!

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


Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-14 Thread natalia Vikhtinskaya
Thank you very much for your help
I thought that I solved problem but this is not true.
Yes I load css file as you show. I just did not show that in my
example for less code.

You coder works but I see some strange thing. If I change name in
library to any other name – Arial2 and try it with my_fmt.font =
Arial2 flash show Times. This is a bit strange.

It looks I need embedded font because I cannot apply _alpha without
embedFonts = true.
Here is example:
http://www.natavi.co.uk/test/text_test.html
http://www.natavi.co.uk/test/text_test.fla

Both examples have _alpha=50; Result is different. Why I cannot change
alpha for the first example that show text correctly. This is a
problem that I can not fix.


2009/5/14 Karl DeSaulniers k...@designdrumm.com:
 Now this works:

 //  start

 var curText:String = p class=\headline\Different Color Headers/p
 + pMauris posuere iaculis lectus. Maecenas fringilla viverra libero.
 + Aenean adipiscing massa non orci. Etiam quis lacus sed pede porttitor
 dignissim.br
 + Do you like stronga href=\mailto:flashcod...@chattyfig.figleaf.com\;
 target=\_blank\ class=\bURL\Figleaf?/a/strongbr
 + Nullam malesuada leo et turpis tincidunt eleifend. Proin non eros et
 mauris suscipit fringilla. In hac habitasse platea dictumst.
 + Maecenas varius. Duis ipsum nibh, varius a, aliquet nec, ornare ac, diam.
 Nam sollicitudin bibendum elit.
 + Sed pellentesque tincidunt mi./pbrbrp class=\author\The Flash
 Comunity is a tightly knit, very intricate part of the web/p;

 /*
 //---  Ooor  if you want to import your text via a text file or other
 var curText:String;
 loadVariables(curText.txt, this);
 */
 /*
 // inside curText.txt  :
 curText=p class=headlineDifferent Color Headers/ppMauris posuere
 iaculis lectus. Maecenas fringilla viverra libero. Aenean adipiscing massa
 non orci. Etiam quis lacus sed pede porttitor dignissim.brDo you like
 stronga href=mailto:flashcoders@chattyfig.figleaf.com; target=_blank
 class=bURLFigleaf?/a/strongbrNullam malesuada leo et turpis
 tincidunt eleifend. Proin non eros et mauris suscipit fringilla. In hac
 habitasse platea dictumst. Maecenas varius. Duis ipsum nibh, varius a,
 aliquet nec, ornare ac, diam. Nam sollicitudin bibendum elit. Sed
 pellentesque tincidunt mi./pbrbrp class=authorThe Flash Comunity
 is a tightly knit, very intricate part of the web/p
 */

 var fmt:TextFormat = new TextFormat();
 fmt.font = Arial;
 fmt.color = 0x00; // for base color without style applied

 import TextField.StyleSheet;
 this.createTextField(textContent, 0, 0, 20, 240, 320);
 textContent.multiline = true;
 textContent.wordWrap = true;
 textContent.autoSize = true
 textContent.selectable = false;
 textContent.html = true;
 textContent.setTextFormat(fmt);

 var my_styleSheet:StyleSheet = new StyleSheet();
 my_styleSheet.onLoad = function(success:Boolean) {
        textContent.ignoreWhite = true;
    if (success) {
        textContent.styleSheet = my_styleSheet;
        textContent.htmlText = curText;
    } else {
                curText = Text not loading;
                textContent.htmlText = curText;
        }
 };
 my_styleSheet.load(flash_css.css);

 //  end

 Best,

 Karl DeSaulniers
 Design Drumm
 http://designdrumm.com

 On May 13, 2009, at 10:57 AM, natalia Vikhtinskaya wrote:

 I found.
 Solved.
 here is correct code with font in library id=Arial
 var my_fmt:TextFormat = new TextFormat();
 my_fmt.font = Arial;

        this.createTextField(textContent, 1, 0, 0, textAreaW, textAreaW);
        var obj=this.textContent;
        obj.multiline = true;
        obj.wordWrap = true;
        //obj.embedFonts = true;      this is wrong
                obj.html=true;
        obj.autoSize = true;
        obj.selectable = false;
        obj.setTextFormat(my_fmt);
        obj.styleSheet = flash_css;
        obj.htmlText=curText;

 Now it shows bold, italic, normal

 2009/5/13 Ruy Adorno r...@lesite.ca:

 And what about different ids and the same linkage?

 natalia Vikhtinskaya wrote:

 Not possible to have them with the same id.

 2009/5/13 Ruy Adorno r...@lesite.ca:


 You have to embed 2 times the same font in your library, I think you
 can
 use
 just the same id, but you should import one as bold and another as a
 simple
 font.

 natalia Vikhtinskaya wrote:


 I solved problem with hand cursor. Still can not make text bold. If I
 check properties in library font- bold all text becomes bold.

 2009/5/13 natalia Vikhtinskaya natavi.m...@gmail.com:



 Thank you for help, but that does not help.  I added text area with
 embeded Arial letters- normal and bold on stage.


 2009/5/13 Karl DeSaulniers k...@designdrumm.com:



 Hi Natalia,

 On May 13, 2009, at 4:26 AM, natalia Vikhtinskaya wrote:




 font-family: Arial;  // I have font Arial in the library with id
 “Arial”.




 Try placing a instance of your embeded font off stage where your
 loading
 your textBox.




 Another problem if I have bold tags bsome text/b that text is
 not



 Try strongyour text 

Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-14 Thread Glen Pike

Hi,

   Oops, forgot to post the link to the original Flashcoders post which 
has some background info:


   
http://www.mail-archive.com/flashcoders@chattyfig.figleaf.com/msg43781.html


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


Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-14 Thread Glen Pike

Hi,

   Don't know if this helps:

   http://glenpike.co.uk/misc/css_styling_shared_fonts.zip

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


Re: [Flashcoders] Taschen Icons - Web Design: Flashfolios

2009-05-14 Thread Brian Mays
That type of thing is why I think so many digital media companies have
failed. The ones I've seen succeed charge for time and materials, and that
time includes meetings.

Brian Mays


On 5/14/09 7:07 AM, Matt S. mattsp...@gmail.com wrote:

 My experience is that time-estimates on these kinds of
 visually/conceptually/programmatically complex projects are almost
 always underestimated. 80 hours might be what is formally on the books
 and what gets billed, but I'd be willing to bet the designers and
 developers put in quite a few extra hours that don't get counted. So
 80 hours == 2 weeks, even if during those 2 weeks the team was working
 nights and weekends.
 

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


[Flashcoders] How to dynamically create Object ’s trough for loop and target them someway?

2009-05-14 Thread ACE Flash
hi there, I am trying to dynamically create objects and target them
later

Thanks

var myObject:Object;

for(var i:Number = 0; i10; i++)
{
myObject = new Object();
myObject.id = myObject+i
trace(myObject.id)
}

// how do I target them here?

// myObject[0]?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How to dynamica lly create Object’s trough for loop and target them someway?

2009-05-14 Thread Glen Pike

var myObjects:Array = new Array();

for(var i:Number = 0; i10; i++)
{
myObject = new Object();
myObject.id = myObject+i
trace(myObject.id)
myObjects.push(myObject);
}

trace(myObjects[0]);


ACE Flash wrote:

hi there, I am trying to dynamically create objects and target them
later

Thanks

var myObject:Object;

for(var i:Number = 0; i10; i++)
{
myObject = new Object();
myObject.id = myObject+i
trace(myObject.id)
}

// how do I target them here?

// myObject[0]?
___
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] Text field doesn't show hand cursor over links.

2009-05-14 Thread natalia Vikhtinskaya
Thank you,
in http://www.connectedpixel.com/blog/fonts/embedding
#11 explains how to solve problem and I added bold font to the
library. Nothing changed.


2009/5/14 Glen Pike g...@engineeredarts.co.uk:
 Hi,

   Oops, forgot to post the link to the original Flashcoders post which has
 some background info:


 http://www.mail-archive.com/flashcoders@chattyfig.figleaf.com/msg43781.html

   Glen
 ___
 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] How to dynamically create Object's trough for loop and target them someway?

2009-05-14 Thread Merrill, Jason
var myObjects:Array = [];

for (var i:Number = 0; i10; i++)
{
var myObject:Object= new Object();
myObject.id = i;
myObjects.push(myObject)
}

trace(myObjects[3].id);


Jason Merrill 

Bank of  America   Global Learning 
Shared Services Solutions Development 

Monthly meetings on the Adobe Flash platform for rich media experiences
- join the Bank of America Flash Platform Community 





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ACE
Flash
Sent: Thursday, May 14, 2009 11:09 AM
To: Flash Coders List
Subject: [Flashcoders] How to dynamically create Object's trough for
loop and target them someway?

hi there, I am trying to dynamically create objects and target them
later

Thanks

var myObject:Object;

for(var i:Number = 0; i10; i++)
{
myObject = new Object();
myObject.id = myObject+i
trace(myObject.id)
}

// how do I target them here?

// myObject[0]?
___
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] Text field doesn't show hand cursor over links.

2009-05-14 Thread Karl DeSaulniers
In my previous example, all you do is change the CSS and you should be  
able to get bold. Or here again as you can see in the text I used. The  
strong/strong tags in place of bold


Sent from losPhone

On May 14, 2009, at 10:37 AM, natalia Vikhtinskaya natavi.m...@gmail.com 
 wrote:



Thank you,
in http://www.connectedpixel.com/blog/fonts/embedding
#11 explains how to solve problem and I added bold font to the
library. Nothing changed.


2009/5/14 Glen Pike g...@engineeredarts.co.uk:

Hi,

  Oops, forgot to post the link to the original Flashcoders post  
which has

some background info:


http://www.mail-archive.com/flashcoders@chattyfig.figleaf.com/msg43781.html

  Glen
___
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] Text field doesn't show hand cursor over links.

2009-05-14 Thread Karl DeSaulniers

Did you put Arial2 as a font in your css?

Sent from losPhone

On May 14, 2009, at 7:56 AM, natalia Vikhtinskaya  
natavi.m...@gmail.com wrote:



Thank you very much for your help
I thought that I solved problem but this is not true.
Yes I load css file as you show. I just did not show that in my
example for less code.

You coder works but I see some strange thing. If I change name in
library to any other name – Arial2 and try it with my_fmt.font =
Arial2 flash show Times. This is a bit strange.

It looks I need embedded font because I cannot apply _alpha without
embedFonts = true.
Here is example:
http://www.natavi.co.uk/test/text_test.html
http://www.natavi.co.uk/test/text_test.fla

Both examples have _alpha=50; Result is different. Why I cannot change
alpha for the first example that show text correctly. This is a
problem that I can not fix.


2009/5/14 Karl DeSaulniers k...@designdrumm.com:

Now this works:

//  start

var curText:String = p class=\headline\Different Color  
Headers/p
+ pMauris posuere iaculis lectus. Maecenas fringilla viverra  
libero.
+ Aenean adipiscing massa non orci. Etiam quis lacus sed pede  
porttitor

dignissim.br
+ Do you like stronga href=\mailto:flashcoders@chattyfig.figleaf.com 
\

target=\_blank\ class=\bURL\Figleaf?/a/strongbr
+ Nullam malesuada leo et turpis tincidunt eleifend. Proin non  
eros et

mauris suscipit fringilla. In hac habitasse platea dictumst.
+ Maecenas varius. Duis ipsum nibh, varius a, aliquet nec, ornare  
ac, diam.

Nam sollicitudin bibendum elit.
+ Sed pellentesque tincidunt mi./pbrbrp class=\author 
\The Flash

Comunity is a tightly knit, very intricate part of the web/p;

/*
//---  Ooor  if you want to import your text via a text file or other
var curText:String;
loadVariables(curText.txt, this);
*/
/*
// inside curText.txt  :
curText=p class=headlineDifferent Color Headers/ppMauris  
posuere
iaculis lectus. Maecenas fringilla viverra libero. Aenean  
adipiscing massa
non orci. Etiam quis lacus sed pede porttitor dignissim.brDo you  
like
stronga href=mailto:flashcoders@chattyfig.figleaf.com;  
target=_blank

class=bURLFigleaf?/a/strongbrNullam malesuada leo et turpis
tincidunt eleifend. Proin non eros et mauris suscipit fringilla. In  
hac
habitasse platea dictumst. Maecenas varius. Duis ipsum nibh, varius  
a,

aliquet nec, ornare ac, diam. Nam sollicitudin bibendum elit. Sed
pellentesque tincidunt mi./pbrbrp class=authorThe Flash  
Comunity

is a tightly knit, very intricate part of the web/p
*/

var fmt:TextFormat = new TextFormat();
fmt.font = Arial;
fmt.color = 0x00; // for base color without style applied

import TextField.StyleSheet;
this.createTextField(textContent, 0, 0, 20, 240, 320);
textContent.multiline = true;
textContent.wordWrap = true;
textContent.autoSize = true
textContent.selectable = false;
textContent.html = true;
textContent.setTextFormat(fmt);

var my_styleSheet:StyleSheet = new StyleSheet();
my_styleSheet.onLoad = function(success:Boolean) {
   textContent.ignoreWhite = true;
   if (success) {
   textContent.styleSheet = my_styleSheet;
   textContent.htmlText = curText;
   } else {
   curText = Text not loading;
   textContent.htmlText = curText;
   }
};
my_styleSheet.load(flash_css.css);

//  end

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com

On May 13, 2009, at 10:57 AM, natalia Vikhtinskaya wrote:


I found.
Solved.
here is correct code with font in library id=Arial
var my_fmt:TextFormat = new TextFormat();
my_fmt.font = Arial;

   this.createTextField(textContent, 1, 0, 0, textAreaW,  
textAreaW);

   var obj=this.textContent;
   obj.multiline = true;
   obj.wordWrap = true;
   //obj.embedFonts = true;  this is wrong
   obj.html=true;
   obj.autoSize = true;
   obj.selectable = false;
   obj.setTextFormat(my_fmt);
   obj.styleSheet = flash_css;
   obj.htmlText=curText;

Now it shows bold, italic, normal

2009/5/13 Ruy Adorno r...@lesite.ca:


And what about different ids and the same linkage?

natalia Vikhtinskaya wrote:


Not possible to have them with the same id.

2009/5/13 Ruy Adorno r...@lesite.ca:



You have to embed 2 times the same font in your library, I  
think you

can
use
just the same id, but you should import one as bold and another  
as a

simple
font.

natalia Vikhtinskaya wrote:



I solved problem with hand cursor. Still can not make text  
bold. If I

check properties in library font- bold all text becomes bold.

2009/5/13 natalia Vikhtinskaya natavi.m...@gmail.com:




Thank you for help, but that does not help.  I added text  
area with

embeded Arial letters- normal and bold on stage.


2009/5/13 Karl DeSaulniers k...@designdrumm.com:




Hi Natalia,

On May 13, 2009, at 4:26 AM, natalia Vikhtinskaya wrote:





font-family: Arial;  // I have font Arial in the library  
with id

“Arial”.





Try placing a instance of your embeded font off stage where  
your

loading

Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-14 Thread natalia Vikhtinskaya
I am trying without css now because css works well. Here is the last
variant where I try as they recommend in the article.  I need use
alpha for this html text http://www.natavi.co.uk/test/text_test.fla


2009/5/14 Karl DeSaulniers k...@designdrumm.com:
 Did you put Arial2 as a font in your css?

 Sent from losPhone

 On May 14, 2009, at 7:56 AM, natalia Vikhtinskaya natavi.m...@gmail.com
 wrote:

 Thank you very much for your help
 I thought that I solved problem but this is not true.
 Yes I load css file as you show. I just did not show that in my
 example for less code.

 You coder works but I see some strange thing. If I change name in
 library to any other name – Arial2 and try it with my_fmt.font =
 Arial2 flash show Times. This is a bit strange.

 It looks I need embedded font because I cannot apply _alpha without
 embedFonts = true.
 Here is example:
 http://www.natavi.co.uk/test/text_test.html
 http://www.natavi.co.uk/test/text_test.fla

 Both examples have _alpha=50; Result is different. Why I cannot change
 alpha for the first example that show text correctly. This is a
 problem that I can not fix.


 2009/5/14 Karl DeSaulniers k...@designdrumm.com:

 Now this works:

 //  start

 var curText:String = p class=\headline\Different Color Headers/p
 + pMauris posuere iaculis lectus. Maecenas fringilla viverra libero.
 + Aenean adipiscing massa non orci. Etiam quis lacus sed pede porttitor
 dignissim.br
 + Do you like stronga
 href=\mailto:flashcod...@chattyfig.figleaf.com\;
 target=\_blank\ class=\bURL\Figleaf?/a/strongbr
 + Nullam malesuada leo et turpis tincidunt eleifend. Proin non eros et
 mauris suscipit fringilla. In hac habitasse platea dictumst.
 + Maecenas varius. Duis ipsum nibh, varius a, aliquet nec, ornare ac,
 diam.
 Nam sollicitudin bibendum elit.
 + Sed pellentesque tincidunt mi./pbrbrp class=\author\The
 Flash
 Comunity is a tightly knit, very intricate part of the web/p;

 /*
 //---  Ooor  if you want to import your text via a text file or other
 var curText:String;
 loadVariables(curText.txt, this);
 */
 /*
 // inside curText.txt  :
 curText=p class=headlineDifferent Color Headers/ppMauris posuere
 iaculis lectus. Maecenas fringilla viverra libero. Aenean adipiscing
 massa
 non orci. Etiam quis lacus sed pede porttitor dignissim.brDo you like
 stronga href=mailto:flashcoders@chattyfig.figleaf.com;
 target=_blank
 class=bURLFigleaf?/a/strongbrNullam malesuada leo et turpis
 tincidunt eleifend. Proin non eros et mauris suscipit fringilla. In hac
 habitasse platea dictumst. Maecenas varius. Duis ipsum nibh, varius a,
 aliquet nec, ornare ac, diam. Nam sollicitudin bibendum elit. Sed
 pellentesque tincidunt mi./pbrbrp class=authorThe Flash
 Comunity
 is a tightly knit, very intricate part of the web/p
 */

 var fmt:TextFormat = new TextFormat();
 fmt.font = Arial;
 fmt.color = 0x00; // for base color without style applied

 import TextField.StyleSheet;
 this.createTextField(textContent, 0, 0, 20, 240, 320);
 textContent.multiline = true;
 textContent.wordWrap = true;
 textContent.autoSize = true
 textContent.selectable = false;
 textContent.html = true;
 textContent.setTextFormat(fmt);

 var my_styleSheet:StyleSheet = new StyleSheet();
 my_styleSheet.onLoad = function(success:Boolean) {
       textContent.ignoreWhite = true;
   if (success) {
       textContent.styleSheet = my_styleSheet;
       textContent.htmlText = curText;
   } else {
               curText = Text not loading;
               textContent.htmlText = curText;
       }
 };
 my_styleSheet.load(flash_css.css);

 //  end

 Best,

 Karl DeSaulniers
 Design Drumm
 http://designdrumm.com

 On May 13, 2009, at 10:57 AM, natalia Vikhtinskaya wrote:

 I found.
 Solved.
 here is correct code with font in library id=Arial
 var my_fmt:TextFormat = new TextFormat();
 my_fmt.font = Arial;

       this.createTextField(textContent, 1, 0, 0, textAreaW,
 textAreaW);
       var obj=this.textContent;
       obj.multiline = true;
       obj.wordWrap = true;
       //obj.embedFonts = true;      this is wrong
               obj.html=true;
       obj.autoSize = true;
       obj.selectable = false;
       obj.setTextFormat(my_fmt);
       obj.styleSheet = flash_css;
       obj.htmlText=curText;

 Now it shows bold, italic, normal

 2009/5/13 Ruy Adorno r...@lesite.ca:

 And what about different ids and the same linkage?

 natalia Vikhtinskaya wrote:

 Not possible to have them with the same id.

 2009/5/13 Ruy Adorno r...@lesite.ca:


 You have to embed 2 times the same font in your library, I think you
 can
 use
 just the same id, but you should import one as bold and another as a
 simple
 font.

 natalia Vikhtinskaya wrote:


 I solved problem with hand cursor. Still can not make text bold. If
 I
 check properties in library font- bold all text becomes bold.

 2009/5/13 natalia Vikhtinskaya natavi.m...@gmail.com:



 Thank you for help, but that does not help.  I added text area with
 embeded Arial letters- normal and bold 

Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-14 Thread Glen Pike

Hi,
  
   Did you look at the example in the zip file that I sent the link for 
- it has CSS, linked fonts bold and link styles too:


   There are 2 examples I have uploaded -

   http://glenpike.co.uk/misc/css_styling.zip

   Simple demonstration of loading a CSS file, some HTML text and using 
fonts in the library.


   http://glenpike.co.uk/misc/css_styling_shared_fonts.zip

   Similar demonstration, but the main SWF loads another SWF with the 
fonts in without having to share the fonts across the 2 FLA files...


   Check out the first one - I think it does what you need.  The 
problem maybe with creating a text field at runtime, I am not 100%.


   Anyway, it was so tricky getting it right from all the articles, I 
made the demo's to refer back to - just never blogged it...


   (You might need to install the font for the first demo), you should 
not for the second...


   Hope this helps - I made the instructions in the FLA...

   Glen

  


natalia Vikhtinskaya wrote:

I am trying without css now because css works well. Here is the last
variant where I try as they recommend in the article.  I need use
alpha for this html text http://www.natavi.co.uk/test/text_test.fla


2009/5/14 Karl DeSaulniers k...@designdrumm.com:
  

Did you put Arial2 as a font in your css?

Sent from losPhone

On May 14, 2009, at 7:56 AM, natalia Vikhtinskaya natavi.m...@gmail.com
wrote:



Thank you very much for your help
I thought that I solved problem but this is not true.
Yes I load css file as you show. I just did not show that in my
example for less code.

You coder works but I see some strange thing. If I change name in
library to any other name – Arial2 and try it with my_fmt.font =
Arial2 flash show Times. This is a bit strange.

It looks I need embedded font because I cannot apply _alpha without
embedFonts = true.
Here is example:
http://www.natavi.co.uk/test/text_test.html
http://www.natavi.co.uk/test/text_test.fla

Both examples have _alpha=50; Result is different. Why I cannot change
alpha for the first example that show text correctly. This is a
problem that I can not fix.


2009/5/14 Karl DeSaulniers k...@designdrumm.com:
  

Now this works:

//  start

var curText:String = p class=\headline\Different Color Headers/p
+ pMauris posuere iaculis lectus. Maecenas fringilla viverra libero.
+ Aenean adipiscing massa non orci. Etiam quis lacus sed pede porttitor
dignissim.br
+ Do you like stronga
href=\mailto:flashcod...@chattyfig.figleaf.com\;
target=\_blank\ class=\bURL\Figleaf?/a/strongbr
+ Nullam malesuada leo et turpis tincidunt eleifend. Proin non eros et
mauris suscipit fringilla. In hac habitasse platea dictumst.
+ Maecenas varius. Duis ipsum nibh, varius a, aliquet nec, ornare ac,
diam.
Nam sollicitudin bibendum elit.
+ Sed pellentesque tincidunt mi./pbrbrp class=\author\The
Flash
Comunity is a tightly knit, very intricate part of the web/p;

/*
//---  Ooor  if you want to import your text via a text file or other
var curText:String;
loadVariables(curText.txt, this);
*/
/*
// inside curText.txt  :
curText=p class=headlineDifferent Color Headers/ppMauris posuere
iaculis lectus. Maecenas fringilla viverra libero. Aenean adipiscing
massa
non orci. Etiam quis lacus sed pede porttitor dignissim.brDo you like
stronga href=mailto:flashcoders@chattyfig.figleaf.com;
target=_blank
class=bURLFigleaf?/a/strongbrNullam malesuada leo et turpis
tincidunt eleifend. Proin non eros et mauris suscipit fringilla. In hac
habitasse platea dictumst. Maecenas varius. Duis ipsum nibh, varius a,
aliquet nec, ornare ac, diam. Nam sollicitudin bibendum elit. Sed
pellentesque tincidunt mi./pbrbrp class=authorThe Flash
Comunity
is a tightly knit, very intricate part of the web/p
*/

var fmt:TextFormat = new TextFormat();
fmt.font = Arial;
fmt.color = 0x00; // for base color without style applied

import TextField.StyleSheet;
this.createTextField(textContent, 0, 0, 20, 240, 320);
textContent.multiline = true;
textContent.wordWrap = true;
textContent.autoSize = true
textContent.selectable = false;
textContent.html = true;
textContent.setTextFormat(fmt);

var my_styleSheet:StyleSheet = new StyleSheet();
my_styleSheet.onLoad = function(success:Boolean) {
  textContent.ignoreWhite = true;
  if (success) {
  textContent.styleSheet = my_styleSheet;
  textContent.htmlText = curText;
  } else {
  curText = Text not loading;
  textContent.htmlText = curText;
  }
};
my_styleSheet.load(flash_css.css);

//  end

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com

On May 13, 2009, at 10:57 AM, natalia Vikhtinskaya wrote:



I found.
Solved.
here is correct code with font in library id=Arial
var my_fmt:TextFormat = new TextFormat();
my_fmt.font = Arial;

  this.createTextField(textContent, 1, 0, 0, textAreaW,
textAreaW);
  var obj=this.textContent;
  obj.multiline = true;
  obj.wordWrap = true;
  //obj.embedFonts = true;  this is wrong
   

[Flashcoders] [JOB] GUI Architect, San Jose, CA | 100-140k

2009-05-14 Thread Beau Gould (OSS)
GUI Architect, San Jose, CA | 100-140k 

My client has been in business for the past 7 years.  They develop and
sell software to Fortune 1000 companies, which enables the monitoring of
critical processes and bottlenecks. They provide an advanced enterprise
software platform for real-time information analysis and
mission-critical decision-making. Their system allows quick decisions to
be made from a see of vast and rapidly changing data. Our client's
products enable flexible global manufacturing to accelerate
time-to-market.

As they grow, they are looking for a bright energetic GUI
Architect/Manager to join their team.

In this hands-on position, you will be responsible for their Web based
GUI strategy, architecture, and usability. This will include making
technology choices and architecting end to end solutions from GUI
interfaces to backend servers. You will work with Product Management as
well as Customers.

They are looking for someone who as many years of experience gathering
requirements and developing solid GUI designs. This includes
understanding various GUI technologies such as JavaScript, Ajax, Curl
Flash/Flex, Sliverlight, etc. Depending on your skill set and interest
level, this position may or may not manage people.

To be considered, please submit your resume along with your salary
requirements to beau at open-source-staffing.com 

Thank you, 

Beau J. Gould 
Open Source Staffing 
www.open-source-staffing.com 
beau at open-source-staffing.com 

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


Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-14 Thread Karl DeSaulniers
You will need a font instance for each style you want to use in your  
lib.

For instance to have the different Arial fonts embedded:
to have normal you would make a font instance using Arial and name it  
Arial in your lib
to have bold you would make a font instance using Arial Bold and name  
it Arial Bold
to have italic you would make a font instance using Arial Italic and  
name it Arial Italic

As long as the name of your instance is exactly the name of your font
and you have that style inserted in your lib then you should be good  
to go.


Do not use the bold or italic selector on the properties panel, as  
this is only best used for static text.


This code works:

stop();
var curText:String = font color=\#FFCC00\pDifferent Color  
Headers/p/font
+ pMauris posuere iaculis lectus. bMaecenas/b fringilla  
iviverra libero/i.
+ Aenean adipiscing massa non orci. Etiam quis lacus sed pede  
porttitor dignissim.br
+ Do you like ba href=\mailto:flashcoders@chattyfig.figleaf.com 
\ target=\_blank\Figleaf?/a/bbr
+ Nullam malesuada leo et turpis tincidunt eleifend. Proin non eros  
et mauris suscipit fringilla. In hac habitasse platea dictumst.
+ Maecenas varius. Duis ipsum nibh, varius a, aliquet nec, ornare  
ac, diam. Nam sollicitudin bibendum elit.
+ Sed pellentesque tincidunt mi./pbrbrfont color=\#CC\  
size=\8\pThe Flash Comunity is a tightly knit, very intricate  
part of the web/fontp;


var fmt:TextFormat = new TextFormat();
fmt.font = Arial;
fmt.font = Arial Bold;
fmt.font = Arial Italic;
fmt.color = 0x00;


this.createTextField(textContent, 0, 0, 20, 240, 320);
textContent.multiline = true;
textContent.wordWrap = true;
textContent.autoSize = true
textContent.selectable = false;
textContent.html = true;
textContent.setTextFormat(fmt);
textContent.htmlText = curText;


I have three font instances in my lib. Arial, Arial Bold and  
Arial Italic


Karl DeSaulniers
Design Drumm
http://designdrumm.com

On May 14, 2009, at 11:49 AM, natalia Vikhtinskaya wrote:
I am trying without css now because css works well. Here is the last
variant where I try as they recommend in the article.  I need use
alpha for this html text http://www.natavi.co.uk/test/text_test.fla

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