[Flashcoders] FlexBuilder/Actionscript 3 Meta Tags

2007-01-02 Thread Kalani Bright
Aloha,
 
I'm new to this list and looking forward to the support I can give and the
help I can receive.
 
Anyway, about a week ago I started programming in AS 3.0 in Flex Builder 2.
Now I'm wondering about meta tags and so forth for code hinting.
 
I would like to enable in the codeing process to provide textual information
in the code completion tooltip.
 
For example:
if my method is:
 
/*
 @summary Says hello to someone
 @arguments argName The name of the person to say hello to
 @returns True if the operation was successful and False if it failed
*/
public function sayHello(argName:String):Boolean
{
//code here...
}
 
 
if I type:
MyClass.sayHello(
 
rather than seeing sayHello(argName:String):Boolean in the code hinting
window I want to see something like this:
 
sayHello(argName:String):Boolean 
Say hello to someone
TAKES: argString:String - The name of the person to say hello to
RETURNS: True if the operation was successful and False if it failed
 
Anyone know how to do this.  I've searched the net and can't find anything.
Search under flex builder, actionscript, flash, and eclipse for meta tags
and wasn't able to locate a thing except for AS 2.0 components which are
removed from 3.0
 
I had some of this when I was coding in primalscript and there were meta
tags when I was working with ActionScript 2.0 and components.
Are there any 3.0 meta tags anyone is aware of?  
 
Thanks for your help,
 
Kalani Bright
kalani at manastudios dot com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] FlexBuilder/Actionscript 3 Meta Tags

2007-01-02 Thread Jim Robson
You might want to try the Flexcoders list:
http://tech.groups.yahoo.com/group/flexcoders/

Meanwhile, if I understand your question correctly, you might want to look
at ASDoc: http://labs.adobe.com/wiki/index.php/ASDoc

-Jim 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kalani
Bright
Sent: Tuesday, January 02, 2007 8:09 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] FlexBuilder/Actionscript 3 Meta Tags

Aloha,
 
I'm new to this list and looking forward to the support I can give and the
help I can receive.
 
Anyway, about a week ago I started programming in AS 3.0 in Flex Builder 2.
Now I'm wondering about meta tags and so forth for code hinting.
 
I would like to enable in the codeing process to provide textual information
in the code completion tooltip.
 
For example:
if my method is:
 
/*
 @summary Says hello to someone
 @arguments argName The name of the person to say hello to  @returns True if
the operation was successful and False if it failed */ public function
sayHello(argName:String):Boolean {
//code here...
}
 
 
if I type:
MyClass.sayHello(
 
rather than seeing sayHello(argName:String):Boolean in the code hinting
window I want to see something like this:
 
sayHello(argName:String):Boolean
Say hello to someone
TAKES: argString:String - The name of the person to say hello to
RETURNS: True if the operation was successful and False if it failed
 
Anyone know how to do this.  I've searched the net and can't find anything.
Search under flex builder, actionscript, flash, and eclipse for meta tags
and wasn't able to locate a thing except for AS 2.0 components which are
removed from 3.0
 
I had some of this when I was coding in primalscript and there were meta
tags when I was working with ActionScript 2.0 and components.
Are there any 3.0 meta tags anyone is aware of?  
 
Thanks for your help,
 
Kalani Bright
kalani at manastudios dot com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] setInterval creates tooltip, then kills it

2007-01-02 Thread Mendelsohn, Michael
Actually, that was the mystery, because -- of course -- my tooltip text
was *not* selectable, but the I-beam cursor showed up like an uninvited
guest.  Thanks for the tip!

- MM




 Is there any reason why you need your tooltip text to be selectable?
Selectable text gives you the i-beam cursor when you roll over it, and
the
i-beam interferes with button events. Try this...

myTextField.selectable = false;

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Q:Libextractor and flash

2007-01-02 Thread moveup
I'm putting together a proposal for a desktop app that would be able to 
dynamically extract metadata from desktop files and then save this to a 
database.

Has anyone done anything similar?
Is this feasible using flash and say, Zinc from Northcode?
I was thinking it might be possible to integrate a flash projector and 
libextractor to do this.


[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


FW: [Flashcoders] Flash 8 Certification Study Tips?

2007-01-02 Thread Doug Coning
Thank you to everyone for their assistance in helping me pass the Flash
8 Certification.  I found your suggestions very helpful!  I spent a day
and a half studying through both Flash 8 Bible and Flash 8 ActionScript
Bible.  As an application developer who spends 95% of my time working
with Components, Web Services, XML and classes, I found the design,
video and audio questions to be challenging.  If you are in the same
boat as I was as a coder, I'd recommend spending time looking at the
video, audio and design features.

One of the things that I thought was interesting is that the test is
titled Macromedia Flash(r) Professional 8 Exam.  However, the logo I was
able to download upon passing the certification and registering states
Flash 8 Designer.  As a developer, I personally would prefer if it just
stated Flash 8 Certified.  Just my opinion...

Thanks everyone for your help.

Doug Coning
Adobe Certified Flash Expert :)

-Original Message-
From: Doug Coning 
Sent: Wednesday, December 20, 2006 10:05 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Flash 8 Certification Study Tips?

Excellent!  Thank you for the link.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JOR
Sent: Wednesday, December 20, 2006 9:23 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash 8 Certification Study Tips?

Hey Doug,

I wrote a little about my experience with the exam on my blog.
http://www.jamesor.com/2006/10/04/aryadobecertifiedexpertspushme/

Good luck with your test!
James


James O'Reilly  -  Consultant
Adobe Certified Flash Expert
http://www.jamesor.com
Design * Code * Train



Doug Coning wrote:
 Greetings All,
 
  
 
 I'm preparing to take the Flash 8 Certification and was wondering if
 anyone who has already taken the test had any study tips on areas that
 you wished you may have been more prepared for?
 
  
 
 Thanks,
 
  
 
 Doug Coning
 
 Senior Web Development Programmer
 
 FORUM Solutions
 
 [EMAIL PROTECTED]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
 
This e-mail and any attachment(s) are intended for the specified recipient(s) 
only and are legally protected.  If you have received this communication in 
error, please reply to sender's e-mail address with notification of the error 
and then destroy this message in all electronic and physical forms.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: FW: [Flashcoders] Flash 8 Certification Study Tips?

2007-01-02 Thread JOR

Way to go Doug, congratulations!

I was a bit bummed about the logo saying Designer as well. :(

James O'Reilly  —  Consultant
Adobe Certified Flash Expert
http://www.jamesor.com
Design • Code • Train



Doug Coning wrote:

Thank you to everyone for their assistance in helping me pass the Flash
8 Certification.  I found your suggestions very helpful!  I spent a day
and a half studying through both Flash 8 Bible and Flash 8 ActionScript
Bible.  As an application developer who spends 95% of my time working
with Components, Web Services, XML and classes, I found the design,
video and audio questions to be challenging.  If you are in the same
boat as I was as a coder, I'd recommend spending time looking at the
video, audio and design features.

One of the things that I thought was interesting is that the test is
titled Macromedia Flash(r) Professional 8 Exam.  However, the logo I was
able to download upon passing the certification and registering states
Flash 8 Designer.  As a developer, I personally would prefer if it just
stated Flash 8 Certified.  Just my opinion...

Thanks everyone for your help.

Doug Coning
Adobe Certified Flash Expert :)

-Original Message-
From: Doug Coning 
Sent: Wednesday, December 20, 2006 10:05 AM

To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Flash 8 Certification Study Tips?

Excellent!  Thank you for the link.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JOR
Sent: Wednesday, December 20, 2006 9:23 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash 8 Certification Study Tips?

Hey Doug,

I wrote a little about my experience with the exam on my blog.
http://www.jamesor.com/2006/10/04/aryadobecertifiedexpertspushme/

Good luck with your test!
James


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Multidimensional Object/Array Question

2007-01-02 Thread Merrill, Jason
Yeah, i don't touch AS2's xml api any more than I have to. I 
know there are other systems out there, but I find XPath does 
the job for me about 100% of the time. Here's a little tute I 
threw together for XPath:

A little clarification I think is needed on that:

1) That's technically Xfactorstudio's Xpath classes, not simply Xpath
- Xpath is a W3C standard *language* for grabbing parts of an XML
document , which xfactorstudios did their own partial implementation of
in the form of actionscript classes.  I know you said it correct in your
blog, so I'm not speaking to you directly Scott :) , I just wanted to
clarify for the list.  People on this list often use the term Xpath
interchangably with Xfactorstudio's Xpath classes, which is incorrect.
2) Xfactorstudio's Xpath classes are huge and do not perform well on
large projects/large data sets.  For most things, I love those classes,
they are great, but use caution and test often.
3) Great job posting a tutorial  - there isn't much out there at all,
and many of us can't move on to AS 3.0 just yet. :) 

Jason Merrill
Bank of America 
Learning  Organizational Effectiveness
 
 
 
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] FileReference + ASP + FlashPlayer9

2007-01-02 Thread Merrill, Jason
We do it with Flash 9 and .ASP .NET and it works fine.  Not sure about
classic ASP - is that what you refer to?

Jason Merrill
Bank of America 
Learning  Organizational Effectiveness
 
 
 
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] FileReference + ASP + FlashPlayer9

2007-01-02 Thread Evan Bond

Yes, we are using classic ASP

Unfortunately it is the only option we have as the server only supports
classic ASP (no PHP, ASP.NET or CF)




On 1/2/07, Merrill, Jason [EMAIL PROTECTED] wrote:


We do it with Flash 9 and .ASP .NET and it works fine.  Not sure about
classic ASP - is that what you refer to?

Jason Merrill
Bank of America
Learning  Organizational Effectiveness





___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] JOB - London - 6 month contract starting in March

2007-01-02 Thread Lucy Thomson
Hello all,

I'm the senior flash developer at Digital Outlook
(www.digital-outlook.com) and due to a brief lapse in sanity some months
back, I'm soon to be taking 6 months maternity leave and we're looking
for someone to cover for me.  

The guys I work with here are great we're situated right next to Covent
Garden station. You'll be required to work in house, so no remote work
requests please.

A full company and job description is below with company contact
details.

Cheers, 
Lucy 




Company

Digital Outlook is an established and award winning online marketing and
creative agency based in Covent Garden. We specialise in the
entertainment and media sectors.

We are a company made up of passionate individuals who have a proven
track record in online marketing and design. We live and breathe the
products we work with - film, TV, games and leisure. Our culture is
built on the belief that every single employee should help shape the
direction of the business and share in its success.
We aim to deliver world-class creative work to help promote our clients'
brands and engage their audiences online, on mobile and IPTV based both
on our in-depth knowledge of how to find their consumers and
understanding of what they're looking for. 

Digital Outlook works with some of the highest profile clients in the
entertainments industry, including Buena Vista International, Buena
Vista Home Entertainment, Xbox, Aardman, Warner Brothers, Cartoon
Network, Jetix, Chorion and The SciFi Channel.

Job Description

We are looking for an experienced Creative Developer with a strong web
and online games background to develop innovative and highly interactive
digital solutions, predominantly through Flash Actionscripting.

You will work with other designers and developers to produce websites,
online games, online advertising and viral applications for high-profile
entertainments brands in both the UK and across Europe.

Experience

* Strong experience in the production of complex websites, virals,
desktop apps and online advertising.
* Some experience in the production of interactive games.
* A good understanding of kids / youth audiences and online marketing.
* Experience in the production and rollout of large scale pan-European
projects, and therefore an understanding of the unique requirements of
multi-language development.
* Creative development experience within an agency environment

Skills

* Expert knowledge of Flash Actionscript, AS1  AS2.
* Can plan and set up solid site structures that facilitate
localisation.
* Can expertly hand-code HTML, XHTML, XML, JS and CSS.
* Experience with integrating flash and backend technologies, including
CGI, JSP, PHP and SQL.
* Solid knowledge of common design tools including Photoshop,
Illustrator and Fireworks.
* Can develop for accessibility and audit projects for accessibility
compliance.
* Be a problem solver and lateral thinker.
* Outstanding attention to detail.
* A passion for the entertainment industry.
* Enthusiasm and a good sense of humour.

This is a 6 month contract position from March 2007 to cover for
maternity leave.

Competitive rates available for the right person.

Please reply via email (to [EMAIL PROTECTED]) in the first
instance, with a CV or information which demonstrates relevant
experience and skill sets, including online portfolio.

digital outlook, 
covden house, 
7a langley street, 
london wc2h 9ja, uk
tel: +44 (0)20 7420 8220. 
fax: +44 (0)20 7420 8234 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] FileReference + ASP + FlashPlayer9

2007-01-02 Thread Evan Bond

Scratch that...I just found out the server supports ASP.NET and we can make
use of it

Could you point me to a good Flash + .NET upload example script?

Thanks,

Evan


On 1/2/07, Evan Bond [EMAIL PROTECTED] wrote:


Yes, we are using classic ASP

Unfortunately it is the only option we have as the server only supports
classic ASP (no PHP, ASP.NET http://asp.net/ or CF)




On 1/2/07, Merrill, Jason [EMAIL PROTECTED] wrote:

 We do it with Flash 9 and .ASP .NET and it works fine.  Not sure about
 classic ASP - is that what you refer to?

 Jason Merrill
 Bank of America
 Learning  Organizational Effectiveness





 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] RGB/HSB/HSL conversion class?

2007-01-02 Thread Josh Santangelo
I'd think this would be easy to find, but I'm having trouble finding  
a class which handles conversion between RGB, HSB, and HSL color  
formats. This one works very well but doesn't do HSL:


http://www.flashguru.co.uk/downloads/ColorConversion.as

Such a thing has to exist somewhere yeah?

thanks,
-josh
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Adobe: December 2006 Flash Player Penetration Numbers

2007-01-02 Thread Daniel Thompson
Hi, this is mostly for the Adobe folks on the list:

I have been eyeing this page:
http://www.adobe.com/products/player_census/flashplayer/version_penetration.
html

Will this be updated for Q4 soon? Can I get a ballpark date? I'm trying to
make a plan for migration and would like some Flash Player 9 trending in
there. If there is any other data out there about adoption rate, current
penetration, etc, that would be helpful.

Thanks,
-DT

P.S. Some data is better than no data. Please don't flame me about how
numbers are inflated/deflated, etc. I'm writing an executive summary, not a
scientific paper.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] FlexBuilder/Actionscript 3 Meta Tags

2007-01-02 Thread greg h

Kalani,

For code hints, I believe you are looking for the [Inspectable] metadata
tag.

[Inspectable] is used by both Flash and Flex components.

For Flash 8, the doc page on [Inspectable] is here:
http://livedocs.macromedia.com/flash/8/main/3033.html

For Flex 2, the doc page on [Inspectable] is here:
http://livedocs.macromedia.com/flex/2/docs/1658.html
and the doc page listing metadata tags is here:
http://livedocs.macromedia.com/flex/2/docs/1651.html

Unfortunately, the currently available Flash 9 AS3 Preview
docshttp://livedocs.macromedia.com/labs/as3preview/docs/wwhelp/wwhimpl/js/html/wwhelp.htmdo
not include coverage of metadata tags for components like
[Inspectable].

fyi, both of Jim's suggestions are excellent.  ASDoc is for creating
LiveDocs style documentation.  And the Flexcoders list will likely provide
better support in cases where you are using Flex Builder for authoring ;-)

hth,

g
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] FlexBuilder/Actionscript 3 Meta Tags

2007-01-02 Thread T. Michael Keesey

[Inspectable] is for component parameters, not code hints.

On 1/2/07, greg h [EMAIL PROTECTED] wrote:

Kalani,

For code hints, I believe you are looking for the [Inspectable] metadata
tag.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Adobe: December 2006 Flash Player Penetration Numbers

2007-01-02 Thread John Dowdell

Daniel Thompson wrote:

http://www.adobe.com/products/player_census/flashplayer/version_penetration.
html

Will this be updated for Q4 soon? Can I get a ballpark date? I'm trying to
make a plan for migration and would like some Flash Player 9 trending in
there. If there is any other data out there about adoption rate, current
penetration, etc, that would be helpful.


I'm not sure when we should expect the December consumer audit to be 
published. Usually it's a 6-8 week turnaround from the consumers to the 
audit bureau to Adobe to the website, but the year-end holidays could 
play hob with the schedule.


If you're basing any business decision on that mid-September consumer 
testing, then, like Greg, I'd recommend Emmy Huang's context on slight 
timing differences in that cycle (released June 28 2006; audit 
mid-September; about ten weeks' worth of installations):

http://weblogs.macromedia.com/emmy/archives/2006/11/flash_player_st.cfm

I do have some untestable anecdotal information atop the above audits... 
completed installations per day (as measured by server pings at a 
Player's first startup) have been consistently in the 5-6 million per 
day range, except for early December when there was a sharp spike in 
boosting us into the 9M/day range (presumably from the casting-couch 
scandal in China, search term zhang yu). The early moves by MySpace 
and other sites to Adobe Flash Player 9 moved the adoption cycle forward 
a little bit (MySpace counts 90M members, less than three weeks' worth 
of normal Player distribution), but adoption has also generally been 
faster as well.


Are you the decisionmaker on this one, or are you having to persuade 
others too? If the latter, then are there specific arguments you're 
running up against?


tx,
jd




--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] createTextField and embedding fonts

2007-01-02 Thread Glen Pike

Hi,

   Yes, you will probably need to use runtime sharing and load in the 
fonts contained in a different file.


   Glen


The question I have is it possible to apply a TextFormat to a 
TextField using an embedded font that is NOT
in the container swf's library? If not then that is my problem and I 
think I can use shared libraries to counter
this behavior. Either way, I was wondering if someone could clarify 
some of this for me.



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] missing method

2007-01-02 Thread Omar Fouad

u should set the class from static to dynamic in order to get acess to that
method

On 1/2/07, Matt Ganz [EMAIL PROTECTED] wrote:


hi.

i'm having a strange problem. i'm getting compile-time errors when i try
to
access a public function in a class. i can successfully access other
public
methods in this class from the same place in the codebase (verified thru
traces), but not this one.

i don't know if it's a weird CVS error or not, but here's what it looks
like
when i try to access the method (getArea()):

if (geom instanceof Polygon) {
var poly:Polygon = Polygon(geom);
geomarkup.area = poly.getArea(); // error occurs right here.
}

and here's the error i'm getting:

There is no method with the name 'getArea'. but the method is in there in
the class and it looks like this:

public function getArea():Number{
 if(area != null)
 return area;
}

has anyone had similar issues and can point me in a general direction. i'm
a
little at a loss.

any tips are greatly appreciated. thanks -- matt.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] missing method

2007-01-02 Thread Omar Fouad

u should set the class to dynamic
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] missing method

2007-01-02 Thread Matt Ganz

unfortunately, that didn't solve the problem.

i can access other methods in the class and even add new trace statements
(to ensure that the IDE is looking at the right version of the class and not
some old CVS'd version).

bizarre, really.

On 1/2/07, Omar Fouad [EMAIL PROTECTED] wrote:


u should set the class to dynamic
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] createTextField and embedding fonts

2007-01-02 Thread orangeflower
I ended up using Shared libraries but that wasn't the problem. I'm almost 
embarrassed to say...


I had a movieclip where I was setting it's visibility to false and therefore 
wasn't seeing it. Wow... that was definitely a dumba$$ moment. I did however 
find that the shared library route was much more predictable.


Everyone probably knows this but I'll post what I did anyway...

I made a separate .fla called SharedFonts.fla and inside of that created a 
font symbol. I then checked the Export for ActionScript and the Export in 
first frame checkboxes. From there, I imported the SharedFonts.fla into my 
view .fla containing the text to which I wanted to apply the particular 
font. This part is a bit counter-intuitive. In order for the symbol to be 
available during runtime from my view .swf, the symbol inside of the view 
fla has to have a few properties set as well. First you must check the 
Export for ActionScript checkbox and supply a linkage identifier. Second, 
and this is the counter-intuitive portion, you MUST check the Export for 
runtime sharing check box and subsequently provide the location to the 
shared library .swf containing the font symbol. In my case this was 
SharedFonts.swf. Last, and I'm not sure if this is necessary or not, is to 
check the Export in first frame.


So, to recap...

1. Create a SharedFonts.fla that will contain the font symbol you want to 
use in another movie.
2. Create the font symbol in SharedFonts.fla. Once the font symbol is 
created make sure to check the Export for ActionScript, Export in first 
frame checkboxes in the Properties dialog box.

3. Publish the .swf for the SharedFonts.fla.
4. Open the .fla in which you want to use the font symbol from 
SharedFonts.swf.
5. Then, go to File - Import - Open shared library... and open 
SharedFonts.fla
6. Drag the font symbol from the SharedFonts.fla library into your other 
fla's library that will be using the font.
7. Once the font symbol from SharedFonts.fla is in your other .fla's library 
right click on it (in your other .fla's library) and go to properties. Check 
the Export for ActionScript, Export for runtime sharing and Export in 
first frame checkboxes. Supply the location to SharedFonts.swf (e.g. 
SharedFonts.swf or somepath/SharedFonts.swf) in the URL field below the 
checkboxes.

8. Publish your other .fla and you should be good to go.

One thing to be mindful of is the path to your SharedFonts.swf. This MUST be 
correct in order for these shared fonts to work. To simplify things I just 
placed the SharedFonts.swf in the same directory as my other .swf.


I hope this helps someone

Cheers,

Thomas

- Original Message -
From: Glen Pike [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, January 02, 2007 2:59 PM
Subject: Re: [Flashcoders] createTextField and embedding fonts


Hi,

   Yes, you will probably need to use runtime sharing and load in the 
fonts contained in a different file.


   Glen


The question I have is it possible to apply a TextFormat to a TextField 
using an embedded font that is NOT
in the container swf's library? If not then that is my problem and I 
think I can use shared libraries to counter
this behavior. Either way, I was wondering if someone could clarify some 
of this for me.



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] missing method

2007-01-02 Thread Omar Fouad

allright write the code again



On 1/3/07, Matt Ganz [EMAIL PROTECTED] wrote:


unfortunately, that didn't solve the problem.

i can access other methods in the class and even add new trace statements
(to ensure that the IDE is looking at the right version of the class and
not
some old CVS'd version).

bizarre, really.

On 1/2/07, Omar Fouad [EMAIL PROTECTED] wrote:

 u should set the class to dynamic
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] FlexBuilder/Actionscript 3 Meta Tags

2007-01-02 Thread Kalani Bright
Thanks Jim,

AsDoc isn't what I'm looking for but its a nice little easter egg to find.
I wasn't aware of it.
- For the mailing list, ASDoc is a command-line tool that is used to create
HTML documentation from AS and MXML files. The HTML output looks very
similar to the Flex 2 or ActionScript 3 Language Reference.  -


I'll try posting on the flex coders list as well though I'm not doing any
Flex programming just using Flex Builder 2 to build my ActionScript classes
for Flash 9.

Thanks for your help,

Kalani

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Robson
Sent: Tuesday, January 02, 2007 5:17 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] FlexBuilder/Actionscript 3 Meta Tags

You might want to try the Flexcoders list:
http://tech.groups.yahoo.com/group/flexcoders/

Meanwhile, if I understand your question correctly, you might want to look
at ASDoc: http://labs.adobe.com/wiki/index.php/ASDoc

-Jim 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kalani
Bright
Sent: Tuesday, January 02, 2007 8:09 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] FlexBuilder/Actionscript 3 Meta Tags

Aloha,
 
I'm new to this list and looking forward to the support I can give and the
help I can receive.
 
Anyway, about a week ago I started programming in AS 3.0 in Flex Builder 2.
Now I'm wondering about meta tags and so forth for code hinting.
 
I would like to enable in the codeing process to provide textual information
in the code completion tooltip.
 
For example:
if my method is:
 
/*
 @summary Says hello to someone
 @arguments argName The name of the person to say hello to  @returns True if
the operation was successful and False if it failed */ public function
sayHello(argName:String):Boolean {
//code here...
}
 
 
if I type:
MyClass.sayHello(
 
rather than seeing sayHello(argName:String):Boolean in the code hinting
window I want to see something like this:
 
sayHello(argName:String):Boolean
Say hello to someone
TAKES: argString:String - The name of the person to say hello to
RETURNS: True if the operation was successful and False if it failed
 
Anyone know how to do this.  I've searched the net and can't find anything.
Search under flex builder, actionscript, flash, and eclipse for meta tags
and wasn't able to locate a thing except for AS 2.0 components which are
removed from 3.0
 
I had some of this when I was coding in primalscript and there were meta
tags when I was working with ActionScript 2.0 and components.
Are there any 3.0 meta tags anyone is aware of?  
 
Thanks for your help,
 
Kalani Bright
kalani at manastudios dot com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] missing method

2007-01-02 Thread Yehia Shouman

Does your Polygon class has a constuctor?



On 1/3/07, Omar Fouad [EMAIL PROTECTED] wrote:


u should set the class from static to dynamic in order to get acess to
that
method

On 1/2/07, Matt Ganz [EMAIL PROTECTED] wrote:

 hi.

 i'm having a strange problem. i'm getting compile-time errors when i try
 to
 access a public function in a class. i can successfully access other
 public
 methods in this class from the same place in the codebase (verified thru
 traces), but not this one.

 i don't know if it's a weird CVS error or not, but here's what it looks
 like
 when i try to access the method (getArea()):

 if (geom instanceof Polygon) {
 var poly:Polygon = Polygon(geom);
 geomarkup.area = poly.getArea(); // error occurs right here.
 }

 and here's the error i'm getting:

 There is no method with the name 'getArea'. but the method is in there
in
 the class and it looks like this:

 public function getArea():Number{
  if(area != null)
  return area;
 }

 has anyone had similar issues and can point me in a general direction.
i'm
 a
 little at a loss.

 any tips are greatly appreciated. thanks -- matt.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] array out of scope when used with listener

2007-01-02 Thread Daniel Arcé
Hello Flash folk,
Rather stumped here.
Below is a pseudo class that displays an array of dynamically loaded
jpegs. I need to arrange them next to each other, and since their widths
are all different, I am using MovieClipLoader and the onLoadInit event to
get the width and height of the jpeg only after it's loaded. I write these
measurements to an array. So far so good.

My problem comes when trying to read this array: it's empty!
My guess is that the array goes out of scope with the onLoadEvent of the
listener.

Hopefully someone will have some ideas to help me push this rock a little
bit further up the hill.

Thanks!
Daniel.

_global.PhotoAlbum = function(photos_arr:Array) {
this.holders = new Array();//holds movie clips
this.dims = new Array();//i want to put widths and heights here

//methods
this.displayAlbum = function(Void) {
var ref = this;//used within listener event
var loader = new MovieClipLoader();
var listener = new Object();

//event handler to get width and height of loaded jpeg
listener.onLoadInit = function(holder:MovieClip):Void {
ref.setDims(holder._width, holder._height);
}
loader.addListener(listener);
for (locIndex in this.photos) {
var mc:String = mc + locIndex;
var holder:MovieClip = createEmptyMovieClip(mc, 
getNextHighestDepth());
loader.loadClip(this.photos[locIndex], holder);
holder._lockroot = TRUE;
this.holders.push(holder);
}
this.arrangePictures(this.holders);
trace (this.dims.length) //returns 0 :(
};

//helper methods
this.setDims = function(w:Number, h:Number) {
this.dims.push(w);
this.dims.push(h);
trace (this.dims); //works okay! but only within this scope
};
this.arrangePictures = function(holders:Array) {
trace (this.dims.length) //returns 0 :(
//my goal is to retrieve the widths and heights set by this.setDims,
//but the this.dims array is empty at this point.
//maybe something wrong with the scope?
};
};
//I call it like this:
photos_arr = [pic1.jpg,pic2.jpg,pic3.jpg];
album = new PhotoAlbum (photos_arr);
album.displayAlbum();

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] getters and setters and the with statement

2007-01-02 Thread Chris Velevitch

Is the with statement purpose to work with getters and setters (in
AS2)? If it is, has this issue been raised with Adobe?


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
m: 0415 469 095
www.flashdev.org.au
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com