[Flashcoders] Bizarre: Movie not loaded... on local machine

2007-07-03 Thread Aaron Roberson

For the last couple of weeks I have not been able to view any Flash files
embedded in any pages on my local machine. I don't know why. If I right
click where the flash movie should be displayed, I get a message that says
Movie not laoded...

I am running Apache 2 on a PowerBook G4 laptop with OSX and have tried both
Flash Player 8  9. I also recently setup a Windows XP box with Apache2 and
am having the same problem.

I wish I had more information, but that seems to be all I can think of. This
is an odd situation, but if I am having it on two computers, a Mac and PC,
somebody else must have encountered it as well.

Thanks,
Aaron
___
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 to Open Source Flex!!!

2007-04-26 Thread Aaron Roberson

Technology becomes open-source.
Therr IDE's (Flash CS3, Flex Builder) remain products to be sold.

This way, they are still market leader to a market, which becomes more
open and thus stronger than before, right?


Sounds like an excellent business move to me! Feed the community, let
the community feed you.

-Aaron
___
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] Flash Media Player

2007-04-20 Thread Aaron Roberson

Steven I think it is available as beta here:
http://labs.adobe.com/wiki/index.php/Media_Player

On 4/20/07, Steven Loe [EMAIL PROTECTED] wrote:

As they said in the video:

Public beta: this summer
Public release: End of 2007


--- Aaron Roberson [EMAIL PROTECTED] wrote:

 I may be stupid for asking but could someone tell me where I can get
 the media player used here:

http://www.adobe.com/products/creativesuite/production/events/nab2007/webcast/



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.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] Flash Media Player

2007-04-19 Thread Aaron Roberson

I may be stupid for asking but could someone tell me where I can get
the media player used here:
http://www.adobe.com/products/creativesuite/production/events/nab2007/webcast/

I went to the Multicast website and saw that they had something called
Interactive Media Player. Just to be clear, I am not talking about
the entire application, just the media player part that has email,
send link and help functionality as well as bandwidth detection and
video source switching from the context menu.

Thanks,
Aaron
___
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] How to create a preloader that plays in full

2006-10-05 Thread Aaron Roberson

I want to create a preloader that plays through even if the rest of
the timeline has been loaded. I saw a tutorial on this some time back
but can't find it now.

Forgive me if this is a common request or something but I have
searched and searched but can't find it. The problem is probably that
I'm not sure what keywords to use for a good search.

Anyways, any help would be appreciated.

-Aaron
___
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] How to create a preloader that plays in full

2006-10-05 Thread Aaron Roberson

Thanks for the sarcasm but I am not just trying to create a simple
preloader that plays until the movie has loaded. Rather, I want to
create a preloader that has two functions: 1) to preload the movie (of
coarse) and 2) to play the entire preloader's timeline even if the
movie has already been preloaded. It's the second part that I am
having trouble with.

A traditional preloader plays until the movie has been loaded.
Instead, I want the preloader to play in entirely even if the movie
has already been loaded. This way, the preloader is not just a
progress bar but an element of the movie.

I hope that makes sense.

On 10/5/06, Michael Stuhr [EMAIL PROTECTED] wrote:

Aaron Roberson schrieb:
 I want to create a preloader that plays through even if the rest of
 the timeline has been loaded. I saw a tutorial on this some time back
 but can't find it now.

 Forgive me if this is a common request or something but I have
 searched and searched but can't find it. The problem is probably that
 I'm not sure what keywords to use for a good search.


you cannot find *anything* about how a *preloader* is made in flash ?

is the list archive down ?
is flashkit down ?
is google down ?

micha
___
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] How to create a preloader that plays in full

2006-10-05 Thread Aaron Roberson

Marcelo, I think your concept will work for my project.

Thanks all,
Aaron

On 10/5/06, Marcelo Wolfgang [EMAIL PROTECTED] wrote:

Just from the top of my head here, so excuse if anything is wrong

but couldn't you put at the end of the preload animation something like

stop();
if (getBytesLoaded() == getBytesTotal()){
  play();
} else {
 this.onEnterFrame = function() {
   if (getBytesLoaded() == getBytesTotal()){
 delete this.onEnterFrame
 play ();
   }
}

HTH

___
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] How to create a preloader that plays in full

2006-10-05 Thread Aaron Roberson

Yeah, I think that is essentially what Pete and Marc said.

Thanks

On 10/5/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:

You're going to need a preloader for your preloader...

___
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] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

Please take a look at the folowing website:

http://whitehorsemedia.com

If you are visiting the page for the first time, the navigation in the
Flash header does not load (I am using xml to define my navigation and
actionscript to parse it). However, when you click on a link in the
body of the page, when that page loads the navigation in the header
also loads. Once it does, you can revisit the home page and any other
page and the navigation will load everytime. It just doesn't load the
very first time.

This started happening when I switched over to swfObject to embed my
Flash movie and to detect the clients Flash player version.

Does anyone have any ideas why the navigation is not loaded at first?
More importantly, what can I do to fix it?

Thanks in advance,
Aaron
___
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] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

The navigation to the right of the horse and below the company name
and tagline loaded on first try?

What browswer are you using?

-Aaron

On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:

Looked fine to me!

Scott

On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:

 Please take a look at the folowing website:

 http://whitehorsemedia.com

 If you are visiting the page for the first time, the navigation in the
 Flash header does not load (I am using xml to define my navigation and
 actionscript to parse it). However, when you click on a link in the
 body of the page, when that page loads the navigation in the header
 also loads. Once it does, you can revisit the home page and any other
 page and the navigation will load everytime. It just doesn't load the
 very first time.

 This started happening when I switched over to swfObject to embed my
 Flash movie and to detect the clients Flash player version.

 Does anyone have any ideas why the navigation is not loaded at first?
 More importantly, what can I do to fix it?

 Thanks in advance,
 Aaron
 ___
 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




--

: : ) Scott
___
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] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

Chad,

I have the z-index for the Flash movie set to 0 and the window mode to
transparent, which is supposed to fix the discrepancy between the
Gallery image and the Flash movie. It works in Firefox 1.5 on Windows.
I will check into it for Safari.

Thanks,
Aaron

On 9/18/06, Chad Mefferd [EMAIL PROTECTED] wrote:

Aaron,

I'm viewing on a Mac OSX 1.3.9 in Safari. Your Galley page is fighting
with the underlying menu for which should be forward in the z-index but
the menu  links are now working where as they didn't on your last site
check.

Chad Mefferd - Director of Digital Media
Morris Printing Group

E-MAIL CONFIDENTIALITY NOTICE: The contents of this email message and
any attachments are for the sole use of the intended recipient(s) and
may contain confidential and or legally privileged information. Any
unauthorized review, use, disclosure, or distribution is prohibited.
If you are not the intended recipient(s) of this message or if this
message has been addressed to you in error, please notify the sender,
delete or destroy all copies of the original message.
On Sep 18, 2006, at 11:05 AM, Aaron Roberson wrote:

 Please take a look at the folowing website:

 http://whitehorsemedia.com

 If you are visiting the page for the first time, the navigation in the
 Flash header does not load (I am using xml to define my navigation and
 actionscript to parse it). However, when you click on a link in the
 body of the page, when that page loads the navigation in the header
 also loads. Once it does, you can revisit the home page and any other
 page and the navigation will load everytime. It just doesn't load the
 very first time.

 This started happening when I switched over to swfObject to embed my
 Flash movie and to detect the clients Flash player version.

 Does anyone have any ideas why the navigation is not loaded at first?
 More importantly, what can I do to fix it?

 Thanks in advance,
 Aaron
 ___
 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] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

I just realized that the problem of the navigation not loading the
first time around happens when a user has Flash 7 and uses the express
install to update to 9. Once the update is complete and they are
redirected to the website, the navigation doesn't load.

If you have the Flash uninstaller handy and an earlier version of
Flash handy as well, please visit my page with Flash 7 or below,
accept the express install prompt, and see if the navigation loads
upon being redirected to the site.

That may be asking a bit, so thank you very, very much if you are inclined,
Aaron

On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:

The navigation to the right of the horse and below the company name
and tagline loaded on first try?

What browswer are you using?

-Aaron

On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
 Looked fine to me!

 Scott

 On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
 
  Please take a look at the folowing website:
 
  http://whitehorsemedia.com
 
  If you are visiting the page for the first time, the navigation in the
  Flash header does not load (I am using xml to define my navigation and
  actionscript to parse it). However, when you click on a link in the
  body of the page, when that page loads the navigation in the header
  also loads. Once it does, you can revisit the home page and any other
  page and the navigation will load everytime. It just doesn't load the
  very first time.
 
  This started happening when I switched over to swfObject to embed my
  Flash movie and to detect the clients Flash player version.
 
  Does anyone have any ideas why the navigation is not loaded at first?
  More importantly, what can I do to fix it?
 
  Thanks in advance,
  Aaron
  ___
  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
 



 --

 : : ) Scott
 ___
 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] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

I just walked around the office and confirmed that on three other
computers in both IE and Firefox the navigation does not appear the
first time visiting the site. Even when clicking on the graphic
buttons in the content of the home page the navigation still doesn't
show up. The only ways to get the navigation to show up were to 1).
click on any button in the flash header (ie Home, Contact) or 2).
click on the navigation in the footer. Interesting enough, the
navigation in the footer is also being built using XML and is being
parsed with XSLT.

I'm at a loss for why this strange behavior is taking place.

Thanks guys,
Aaron

P.S.
Really, I don't think that the express install and redirection is the
problem, but once you have visited the site and got the navigation to
work, the only way to replicate the problem is to uinstall Flash,
install Flash 7, express install 9, and revisit the site.

On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:

I just realized that the problem of the navigation not loading the
first time around happens when a user has Flash 7 and uses the express
install to update to 9. Once the update is complete and they are
redirected to the website, the navigation doesn't load.

If you have the Flash uninstaller handy and an earlier version of
Flash handy as well, please visit my page with Flash 7 or below,
accept the express install prompt, and see if the navigation loads
upon being redirected to the site.

That may be asking a bit, so thank you very, very much if you are inclined,
Aaron

On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
 The navigation to the right of the horse and below the company name
 and tagline loaded on first try?

 What browswer are you using?

 -Aaron

 On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
  Looked fine to me!
 
  Scott
 
  On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
  
   Please take a look at the folowing website:
  
   http://whitehorsemedia.com
  
   If you are visiting the page for the first time, the navigation in the
   Flash header does not load (I am using xml to define my navigation and
   actionscript to parse it). However, when you click on a link in the
   body of the page, when that page loads the navigation in the header
   also loads. Once it does, you can revisit the home page and any other
   page and the navigation will load everytime. It just doesn't load the
   very first time.
  
   This started happening when I switched over to swfObject to embed my
   Flash movie and to detect the clients Flash player version.
  
   Does anyone have any ideas why the navigation is not loaded at first?
   More importantly, what can I do to fix it?
  
   Thanks in advance,
   Aaron
   ___
   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
  
 
 
 
  --
 
  : : ) Scott
  ___
  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] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

Danton and Slangeberg,

You didn't have to click elsewhere on the website (namely the Home or
Contact links in the header or the navigation in the footer) in order
to get the navigation beside the horse to display? That is odd,
because on more than one computer in our office the navigation does
not load the prior to clicking elsewhere on the website.

I am going to go check it on our Mac workstation in IE 5, Firefox and Safari.

-Aaron

On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:

Works fine in IE 6, as well

Scott

On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:

 The navigation to the right of the horse and below the company name
 and tagline loaded on first try?

 What browswer are you using?

 -Aaron

 On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
  Looked fine to me!
 
  Scott
 
  On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
  
   Please take a look at the folowing website:
  
   http://whitehorsemedia.com
  
   If you are visiting the page for the first time, the navigation in the
   Flash header does not load (I am using xml to define my navigation and
   actionscript to parse it). However, when you click on a link in the
   body of the page, when that page loads the navigation in the header
   also loads. Once it does, you can revisit the home page and any other
   page and the navigation will load everytime. It just doesn't load the
   very first time.
  
   This started happening when I switched over to swfObject to embed my
   Flash movie and to detect the clients Flash player version.
  
   Does anyone have any ideas why the navigation is not loaded at first?
   More importantly, what can I do to fix it?
  
   Thanks in advance,
   Aaron
   ___
   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
  
 
 
 
  --
 
  : : ) Scott
  ___
  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




--

: : ) Scott
___
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] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:

That's because you probably need to restart the browser to fully load the
new flash player.

For that reason, I don't even use the updater. I just let the alternate
content (using SWFObject) link to the flash installer at adobe's site. Not
as cool, but seems to be most reliable. I'd be happy to hear about any
better strategies out there!

Scott



Scott,

That was my first impression, but that theory didn't hold true after
visiting the site on several computers with Flash 8+ and the
navigation didn't load.
___
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] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

The radiation levels for the atomic bomb are within specs for
apocalyptic terror - that must not be the problem.

I didn't have the detection on frame one and the code for the nav on
frame two but I changed it so that I have the detection on frame one
and the code for the nav on frame 6 but it still is not working.

Go figure?

-Aaron

On 9/18/06, Ryan Potter [EMAIL PROTECTED] wrote:

Maybe it is apocalyptic radiation from the mushroom cloud in banner image at 
the top?



Anyway, SWFObject should not be the problem here.  If you see the flash at all 
it would seem to be working.  The only thing I can think of would be that your 
detection script is not working properly.  Are you doing it like he says to do 
it on the swf object page?  Detection on frame one and code for the nav on 
frame 2?



It is working fine for me.  I am on xp sp2,  IE 6.0.29, Flash player 9

-Original Message-
From: [EMAIL PROTECTED] on behalf of Aaron Roberson
Sent: Mon 9/18/2006 10:20 AM
To: Flashcoders mailing list
Cc:
Subject: Re: [Flashcoders] Site Check Please - Problem with swfObject



The navigation to the right of the horse and below the company name
and tagline loaded on first try?

What browswer are you using?

-Aaron

On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
 Looked fine to me!

 Scott

 On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
 
  Please take a look at the folowing website:
 
  http://whitehorsemedia.com
 
  If you are visiting the page for the first time, the navigation in 
the
  Flash header does not load (I am using xml to define my navigation 
and
  actionscript to parse it). However, when you click on a link in the
  body of the page, when that page loads the navigation in the header
  also loads. Once it does, you can revisit the home page and any 
other
  page and the navigation will load everytime. It just doesn't load 
the
  very first time.
 
  This started happening when I switched over to swfObject to embed my
  Flash movie and to detect the clients Flash player version.
 
  Does anyone have any ideas why the navigation is not loaded at 
first?
  More importantly, what can I do to fix it?
 
  Thanks in advance,
  Aaron
  ___
  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
 



 --

 : : ) Scott
 ___
 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@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] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

Danton,

Thank you so much! You narrowed it down alright. The navigation
doesn't appear when visiting www.whitehorsemedia.com while it does
appear when visiting whitehorsemedia.com (without the preceding www).

Now I have to discover why it would work with one and not the other...

-Aaron

On 9/18/06, Danton Chin [EMAIL PROTECTED] wrote:

Aaron,

Your website loaded up quickly when I visited it the first time. The
navigation appeared without having to click anywhere else. Now, however,
after exiting both browsers it took your website several minutes to load
your home page and I don't get any navigation in both browsers. These
are the results that I get when I visit http://www.whitehorsemedia.com/.
When I visit http://whitehorsemedia.com/ I get the navigation. Results
based upon a handful of visits with some really slow dowload times.

Regards,
Danton

Aaron Roberson wrote:
 Danton and Slangeberg,

 You didn't have to click elsewhere on the website (namely the Home or
 Contact links in the header or the navigation in the footer) in order
 to get the navigation beside the horse to display? That is odd,
 because on more than one computer in our office the navigation does
 not load the prior to clicking elsewhere on the website.

 I am going to go check it on our Mac workstation in IE 5, Firefox and
 Safari.

 -Aaron

 On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
 Works fine in IE 6, as well

 Scott

 On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
 
  The navigation to the right of the horse and below the company name
  and tagline loaded on first try?
 
  What browswer are you using?
 
  -Aaron
 
  On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
   Looked fine to me!
  
   Scott
  
   On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
   
Please take a look at the folowing website:
   
http://whitehorsemedia.com
   
If you are visiting the page for the first time, the navigation
 in the
Flash header does not load (I am using xml to define my
 navigation and
actionscript to parse it). However, when you click on a link in
 the
body of the page, when that page loads the navigation in the
 header
also loads. Once it does, you can revisit the home page and any
 other
page and the navigation will load everytime. It just doesn't
 load the
very first time.
   
This started happening when I switched over to swfObject to
 embed my
Flash movie and to detect the clients Flash player version.
   
Does anyone have any ideas why the navigation is not loaded at
 first?
More importantly, what can I do to fix it?
   
Thanks in advance,
Aaron
___
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
   
  
  
  
   --
  
   : : ) Scott
   ___
   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
 



 --

 : : ) Scott
 ___
 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@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman

Re: [Flashcoders] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

The problem is with loading the xml so I am going to open a new thread
with an appropriate heading.

Thanks everybody!
Aaron

P.S. The reason everyone was able to see the navigation was because I
included a link to http://whitehorsemedia.com which loaded it
correctly while I was visiting www.whitehorsemedia.com which was not.

On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:

Danton,

Thank you so much! You narrowed it down alright. The navigation
doesn't appear when visiting www.whitehorsemedia.com while it does
appear when visiting whitehorsemedia.com (without the preceding www).

Now I have to discover why it would work with one and not the other...

-Aaron

On 9/18/06, Danton Chin [EMAIL PROTECTED] wrote:
 Aaron,

 Your website loaded up quickly when I visited it the first time. The
 navigation appeared without having to click anywhere else. Now, however,
 after exiting both browsers it took your website several minutes to load
 your home page and I don't get any navigation in both browsers. These
 are the results that I get when I visit http://www.whitehorsemedia.com/.
 When I visit http://whitehorsemedia.com/ I get the navigation. Results
 based upon a handful of visits with some really slow dowload times.

 Regards,
 Danton

 Aaron Roberson wrote:
  Danton and Slangeberg,
 
  You didn't have to click elsewhere on the website (namely the Home or
  Contact links in the header or the navigation in the footer) in order
  to get the navigation beside the horse to display? That is odd,
  because on more than one computer in our office the navigation does
  not load the prior to clicking elsewhere on the website.
 
  I am going to go check it on our Mac workstation in IE 5, Firefox and
  Safari.
 
  -Aaron
 
  On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
  Works fine in IE 6, as well
 
  Scott
 
  On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
  
   The navigation to the right of the horse and below the company name
   and tagline loaded on first try?
  
   What browswer are you using?
  
   -Aaron
  
   On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
Looked fine to me!
   
Scott
   
On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:

 Please take a look at the folowing website:

 http://whitehorsemedia.com

 If you are visiting the page for the first time, the navigation
  in the
 Flash header does not load (I am using xml to define my
  navigation and
 actionscript to parse it). However, when you click on a link in
  the
 body of the page, when that page loads the navigation in the
  header
 also loads. Once it does, you can revisit the home page and any
  other
 page and the navigation will load everytime. It just doesn't
  load the
 very first time.

 This started happening when I switched over to swfObject to
  embed my
 Flash movie and to detect the clients Flash player version.

 Does anyone have any ideas why the navigation is not loaded at
  first?
 More importantly, what can I do to fix it?

 Thanks in advance,
 Aaron
 ___
 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

   
   
   
--
   
: : ) Scott
___
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
  
 
 
 
  --
 
  : : ) Scott
  ___
  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] Help Loading and Displaying XML

2006-09-18 Thread Aaron Roberson

I have a menu constructed from XML and I am parsing it in Flash to
create my site navigation. However, I am having a problem loading the
xml so that it is parsed and displayed on my website when accessed
directly (as in http://whitehorsemedia.com) and when accessed using
www.whitehorsemedia.com (using the preceding www).

Here is the code I am using to load my xml:
menu_xml.load(http://www.whitehorsemedia.com/inc/navigation/menu.xml;);

If you go to http://www.whitehorsemedia.com the navigation displays
fine. But if you go to http:whitehorsemedia.com the navigation does
not display at all.

If I change the code to:
menu_xml.load(http://whitehorsemedia.com/inc/navigation/menu.xml;);

I get the opposite effect.

How can I get the navigation to display at both addresses?

Thanks in advance,
Aaron Roberson
___
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] Help Loading and Displaying XML

2006-09-18 Thread Aaron Roberson

Serge,

Thank you for your help. I copied and pasted that code into a new
document named crossdomain.xml and uploaded it to the root of my
server and now it works!

Here is a page on Adobe.com about crossdomain.xml:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213

This is the only legitimate fix for me since my movie is on more than
one page across several directories. Relative paths would not have
worked.

Thanks all,
Aaron

On 9/18/06, Serge Jespers [EMAIL PROTECTED] wrote:

Hi Aaron,

Put a crossdomain.xml in the root of the server and it will all work
out...
The file should look like this:

?xml version=1.0?
!DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/
dtds/cross-domain-policy.dtd
cross-domain-policy
allow-access-from domain=whitehorsemedia.com /
allow-access-from domain=www.whitehorsemedia.com /
/cross-domain-policy


Serge

 I have a menu constructed from XML and I am parsing it in Flash to
 create my site navigation. However, I am having a problem loading the
 xml so that it is parsed and displayed on my website when accessed
 directly (as in http://whitehorsemedia.com) and when accessed using
 www.whitehorsemedia.com (using the preceding www).

 Here is the code I am using to load my xml:
 menu_xml.load(http://www.whitehorsemedia.com/inc/navigation/
 menu.xml);

 If you go to http://www.whitehorsemedia.com the navigation displays
 fine. But if you go to http:whitehorsemedia.com the navigation does
 not display at all.

 If I change the code to:
 menu_xml.load(http://whitehorsemedia.com/inc/navigation/menu.xml;);

 I get the opposite effect.

 How can I get the navigation to display at both addresses?

 Thanks in advance,
 Aaron Roberson
 ___
 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] Help Loading and Displaying XML

2006-09-18 Thread Aaron Roberson

Luchyx,

Thanks for the suggestion, I am going to pass in the url using flash
vars as you have suggested.

-Aaron

On 9/18/06, l u c h y x [EMAIL PROTECTED] wrote:

Your movie should receive or load a URLparameter such as:
mymenu.swf?xml_config_path=?php echo $_SERVER['host']./menudp.xml;?
And you don't need to hard-code the uri in the SWF anymore.


On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:

 Serge,

 Thank you for your help. I copied and pasted that code into a new
 document named crossdomain.xml and uploaded it to the root of my
 server and now it works!

 Here is a page on Adobe.com about crossdomain.xml:
 http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213

 This is the only legitimate fix for me since my movie is on more than
 one page across several directories. Relative paths would not have
 worked.

 Thanks all,
 Aaron

 On 9/18/06, Serge Jespers [EMAIL PROTECTED] wrote:
  Hi Aaron,
 
  Put a crossdomain.xml in the root of the server and it will all work
  out...
  The file should look like this:
 
  ?xml version=1.0?
  !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/
  dtds/cross-domain-policy.dtd
  cross-domain-policy
  allow-access-from domain=whitehorsemedia.com /
  allow-access-from domain=www.whitehorsemedia.com /
  /cross-domain-policy
 
 
  Serge
 
   I have a menu constructed from XML and I am parsing it in Flash to
   create my site navigation. However, I am having a problem loading the
   xml so that it is parsed and displayed on my website when accessed
   directly (as in http://whitehorsemedia.com) and when accessed using
   www.whitehorsemedia.com (using the preceding www).
  
   Here is the code I am using to load my xml:
   menu_xml.load(http://www.whitehorsemedia.com/inc/navigation/
   menu.xml);
  
   If you go to http://www.whitehorsemedia.com the navigation displays
   fine. But if you go to http:whitehorsemedia.com the navigation does
   not display at all.
  
   If I change the code to:
   menu_xml.load(http://whitehorsemedia.com/inc/navigation/menu.xml;);
  
   I get the opposite effect.
  
   How can I get the navigation to display at both addresses?
  
   Thanks in advance,
   Aaron Roberson
   ___
   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




--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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] Embed fonts problem

2006-09-18 Thread Aaron Roberson

Did you choose export to first frame in the linkage property? Right
click on the embeded font in the library and choose linkage to set
this.

HTH,
Aaron

On 9/18/06, Leonardo Sá [EMAIL PROTECTED] wrote:

Hello all,

I have set up a regular dynamic text field in flash. However, when I try to
embed a font on it (which is Arial) it just wont show up. It shows no text
at all where it supposed to be. When i use no embedded fonts, the text shows
up fine, but anti-alias does not work. Any ideas?

best regards,

--
Leonardo Sá
EMBRATI - Soluções on-line
Rua Conde d'Eu 118 - Boa Vista
(81) 8822 7374
(81) 3221 2494
___
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] Site Check Please

2006-09-15 Thread Aaron Roberson

Ryan,

I went ahead and switched over to swfObject. I really like it!

One thing. After installing Flash 8/9 via express install, when the
browser is redirected back to the page the navigation does not appear.
However, after clicking elsewhere and going to a new page the
navigation appears. Do you have any ideas as to why and how I can
prevent this from happening?

-Aaron

On 9/12/06, Ryan Potter [EMAIL PROTECTED] wrote:

Are you using swfObject?  If not I would give it a look.  The detection
works great.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron
Roberson
Sent: Tuesday, September 12, 2006 1:47 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Site Check Please

So it didn't work without Flash 9? Do you know if you had Flash 7 or 8
installed?

Thanks,
Aaron

On 9/12/06, Ryan Potter [EMAIL PROTECTED] wrote:
 Once I installed flash 9 it worked fine.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Aaron
 Roberson
 Sent: Tuesday, September 12, 2006 11:02 AM
 To: Flashcoders mailing list
 Subject: [Flashcoders] Site Check Please

 I have a flash banner on my site that is parsing xml and displaying a
 navigation menu. I have recieved a couple of reports that some users
 are unable to click through to the pages linked in the navigation.

 Could as many as possible take a look at the site and tell me if the
 navigation works. If not, does anyone have any ideas what could be
 causing the links to not work?

 Site to check:
 http://whitehorsemedia.com

 Thanks in advance,
 Aaron
 ___
 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@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] Problem with video chat on FMS

2006-09-15 Thread Aaron Roberson

Try the FlashCom chattyfig mailing list or the flashcomguru forum for
help with FMS.

-Aaron

On 9/13/06, franto [EMAIL PROTECTED] wrote:

Hi all,

i got problem with video chat application on FMS (Flash media server 2)
all is descirbed here
http://www.franto.com/blog2/problem-with-video-chat-please-help

please help me find solution, i got deadline tommorow :)))
Thanks a lot in advance

-
Franto

http://blog.franto.com
http://www.flashcoders.sk
___
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] Site Check Please

2006-09-12 Thread Aaron Roberson

I have a flash banner on my site that is parsing xml and displaying a
navigation menu. I have recieved a couple of reports that some users
are unable to click through to the pages linked in the navigation.

Could as many as possible take a look at the site and tell me if the
navigation works. If not, does anyone have any ideas what could be
causing the links to not work?

Site to check:
http://whitehorsemedia.com

Thanks in advance,
Aaron
___
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] Site Check Please

2006-09-12 Thread Aaron Roberson

On 9/12/06, Éric Thibault [EMAIL PROTECTED] wrote:

I have to install flash player 9... are those users having the problems
without administrator rights?

:-\



No, they have adminstrative rights. In fact, one of them told me they
had to install Flash 9 but once they did and returned to the links no
longer worked.

-Aaron


Aaron Roberson a écrit :
 I have a flash banner on my site that is parsing xml and displaying a
 navigation menu. I have recieved a couple of reports that some users
 are unable to click through to the pages linked in the navigation.

 Could as many as possible take a look at the site and tell me if the
 navigation works. If not, does anyone have any ideas what could be
 causing the links to not work?

 Site to check:
 http://whitehorsemedia.com

 Thanks in advance,
 Aaron
 ___
 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



--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad http://www.rec.ulaval.ca/lce/securite/confidentialite.htm

___
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] Site Check Please

2006-09-12 Thread Aaron Roberson

I really thought I was publishing as Flash 8. Is it possible to
publish for Flash 9 anyways? Perhaps is is just the detection script
that is requiring Flash 9, in which case the navigation system should
work without it.

Any ideas?

On 9/12/06, Mick G [EMAIL PROTECTED] wrote:

Yeh, it might be overkill to publish as Flash 9 just for a navigation
system.

On 9/12/06, Ryan Potter [EMAIL PROTECTED] wrote:

 Once I installed flash 9 it worked fine.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Aaron
 Roberson
 Sent: Tuesday, September 12, 2006 11:02 AM
 To: Flashcoders mailing list
 Subject: [Flashcoders] Site Check Please

 I have a flash banner on my site that is parsing xml and displaying a
 navigation menu. I have recieved a couple of reports that some users
 are unable to click through to the pages linked in the navigation.

 Could as many as possible take a look at the site and tell me if the
 navigation works. If not, does anyone have any ideas what could be
 causing the links to not work?

 Site to check:
 http://whitehorsemedia.com

 Thanks in advance,
 Aaron
 ___
 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@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] Help Formating/Styling Dynamic Text

2006-08-23 Thread Aaron Roberson

Muzak,

I just tried that and still the text is not bold. I'm not sure what is
going on...

I created a font symbol in the library, checked export for
ActionScript and gave it an identifier of ArialBold. For my dynamic
text field, I selected the font ArialBold* (Note the asterick,
indicating that it is a font symbol in the library).

What am I missing?
-Aaron

On 8/23/06, Muzak [EMAIL PROTECTED] wrote:

When adding a font symbol in the library, make sure to give it an 'Identifier' (right 
click  Linkage..  Export for ActionScript)

Muzak

- Original Message -
From: Aaron Roberson [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, August 23, 2006 2:22 AM
Subject: Re: [Flashcoders] Help Formating/Styling Dynamic Text


 rw,

 I have tried two techniques for embedding my fonts:

 1. In the library panel, choosing New Font, and selecting my font
 (Arial, bold, 12pt).

 2. In the properties panel, selecting my font and choosing embed and
 selecing a-zA-Z.

 Neither of these methods are working :(

 The first method does nothing at all, while the second method makes
 the fonts dissapear all together.

 Any suggestions?

 -Aaron

 On 8/22/06, R.A. Williamson [EMAIL PROTECTED] wrote:
 This typically happens when you have not embedded the bold variant of
 the font (assuming your dynamic textfield is using embedded fonts).
 -rw

 Aaron Roberson wrote:
  When I dynamically load text into a dynamic textfield using xml the
  text does not remain bold. How can I get the dynamic text to be bold?
 
  Thanks in advance,
  Aaron


___
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] Help Formating/Styling Dynamic Text

2006-08-22 Thread Aaron Roberson

When I dynamically load text into a dynamic textfield using xml the
text does not remain bold. How can I get the dynamic text to be bold?

Thanks in advance,
Aaron
___
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] Help Formating/Styling Dynamic Text

2006-08-22 Thread Aaron Roberson

rw,

I have tried two techniques for embedding my fonts:

1. In the library panel, choosing New Font, and selecting my font
(Arial, bold, 12pt).

2. In the properties panel, selecting my font and choosing embed and
selecing a-zA-Z.

Neither of these methods are working :(

The first method does nothing at all, while the second method makes
the fonts dissapear all together.

Any suggestions?

-Aaron

On 8/22/06, R.A. Williamson [EMAIL PROTECTED] wrote:

This typically happens when you have not embedded the bold variant of
the font (assuming your dynamic textfield is using embedded fonts).
-rw

Aaron Roberson wrote:
 When I dynamically load text into a dynamic textfield using xml the
 text does not remain bold. How can I get the dynamic text to be bold?

 Thanks in advance,
 Aaron
 ___
 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] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson

I am creating a dynamic drop down menu using XML and I am having
trouble spacing out each menu item.

Is there a way of determing the size of the text in each xml node?

Thanks for your help,
Aaron

P.S. This menu is based on a tutorial at kirupa.com.

Here is the XML:

?xml version=1.0 encoding=iso-8859-1?
menu name=navigation
item name=Home link=http://whitehorsemedia.com; /
menu name=About Us link=http://whitehorsemedia.com/about/index.cfm;
item name=Our Name 
link=http://whitehorsemedia.com/about/name.cfm; /
item name=News link=http://whitehorsemedia.com/about/news.cfm; 
/
item name=We Believe 
link=http://whitehorsemedia.com/about/believe.cfm; /
item name=Staff 
link=http://whitehorsemedia.com/about/staff.cfm; /
item name=Projects 
link=http://whitehorsemedia.com/about/projects.cfm; /
/menu
/menu

Here is the ActionScript:


// generates a list of menu items (effectively one menu)
// given the inputted parameters.  This makes the main menu
// as well as any of the submenus
GenerateMenu = function(container, name, x, y, depth, node_xml) {
// variable declarations
var curr_node;
var curr_item;
var curr_menu = container.createEmptyMovieClip(name, depth);

// for all items or XML nodes (items and menus)
// within this node_xml passed for this menu
for (var i=0; inode_xml.childNodes.length; i++) {
// movieclip for each menu item
curr_item = curr_menu.attachMovie(menuitem,item+i+_mc, i);
curr_item._x = x + i*curr_item._width;
curr_item._y = y;
curr_item.trackAsMenu = true;

// item properties assigned from XML
curr_node = node_xml.childNodes[i];
curr_item.link = curr_node.attributes.link;
curr_item.name.text = curr_node.attributes.name;

// item submenu behavior for rollover event
if (node_xml.childNodes[i].nodeName == menu){
// open a submenu
curr_item.node_xml = curr_node;
curr_item.onRollOver = curr_item.onDragOver = 
function(){
var x = 200;
var y = this._y + this._height;
GenerateMenu(curr_menu, submenu_mc, x, y, 
1000, this.node_xml);
// show a hover color
var col = new Color(this.background);
col.setRGB(0xf4faff);
};
}else{ // nodeName == item
curr_item.arrow._visible = false;
// close existing submenu
curr_item.onRollOver = curr_item.onDragOver = 
function(){
curr_menu.submenu_mc.removeMovieClip();
// show a hover color
var col = new Color(this.background);
col.setRGB(0xf4faff);
};
}

curr_item.onRollOut = curr_item.onDragOut = function(){
// restore color
var col = new Color(this.background);
col.setTransform({ra:100,rb:0,ga:100,gb:0,ba:100,bb:0});
};

// any item, menu opening or not can have actions
curr_item.onRelease = function(){
Actions[goToURL](this.link);
CloseSubmenus();
};
} // end for loop
};

// create the main menu, this will be constantly visible
CreateMainMenu = function(x, y, depth, menu_xml){
// generate a menu list
GenerateMenu(this, mainmenu_mc, x, y, depth, menu_xml.firstChild);
// close only submenus if visible durring a mouseup
// this main menu (mainmenu_mc) will remain
mainmenu_mc.onMouseUp = function(){
if (mainmenu_mc.submenu_mc  
!mainmenu_mc.hitTest(_root._xmouse,
_root._ymouse, true)){
CloseSubmenus();
}
};
};

// closes all submenus by removing the submenu_mc
// in the main menu (if it exists)
CloseSubmenus = function(){
mainmenu_mc.submenu_mc.removeMovieClip();
};

// This actions object handles methods for actions
// defined by the XML called when a menu item is pressed
Actions = Object();
Actions.gotoURL = function(urlVar){
getURL(urlVar, _blank);
};

// load XML, when done, run CreateMainMenu to interpret it
menu_xml = new XML();
menu_xml.ignoreWhite = true;
menu_xml.onLoad = function(ok){
// create main menu after successful loading of XML
if (ok){
CreateMainMenu(200, 250, 0, 

Re: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson

I'm half way there...

I figured out how to resize the movie clip based on the length of the
text being loaded from the name attribute of the xml node. I added the
following line to my code:

curr_item.name.autoSize = left;

Now I need to figure out how to make the spacing between each menu
item 15px. Sounds simple, and is for others, but now that each movie
clip is a different size I'm not sure how to do that. Any help on that
would be appreciated!

-Aaron

On 8/17/06, Elena Blanco [EMAIL PROTECTED] wrote:

By size, are you referring to the length of the text (in this case the
name?)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron
Roberson
Sent: Thursday, August 17, 2006 1:55 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Help Getting Size of Text Dynamically

I am creating a dynamic drop down menu using XML and I am having
trouble spacing out each menu item.

Is there a way of determing the size of the text in each xml node?

Thanks for your help,
Aaron

P.S. This menu is based on a tutorial at kirupa.com.

Here is the XML:

?xml version=1.0 encoding=iso-8859-1?
menu name=navigation
item name=Home link=http://whitehorsemedia.com; /
menu name=About Us
link=http://whitehorsemedia.com/about/index.cfm;
item name=Our Name
link=http://whitehorsemedia.com/about/name.cfm; /
item name=News
link=http://whitehorsemedia.com/about/news.cfm; /
item name=We Believe
link=http://whitehorsemedia.com/about/believe.cfm; /
item name=Staff
link=http://whitehorsemedia.com/about/staff.cfm; /
item name=Projects
link=http://whitehorsemedia.com/about/projects.cfm; /
/menu
/menu

Here is the ActionScript:


// generates a list of menu items (effectively one menu)
// given the inputted parameters.  This makes the main menu
// as well as any of the submenus
GenerateMenu = function(container, name, x, y, depth, node_xml) {
// variable declarations
var curr_node;
var curr_item;
var curr_menu = container.createEmptyMovieClip(name, depth);

// for all items or XML nodes (items and menus)
// within this node_xml passed for this menu
for (var i=0; inode_xml.childNodes.length; i++) {
// movieclip for each menu item
curr_item = curr_menu.attachMovie(menuitem,item+i+_mc,
i);
curr_item._x = x + i*curr_item._width;
curr_item._y = y;
curr_item.trackAsMenu = true;

// item properties assigned from XML
curr_node = node_xml.childNodes[i];
curr_item.link = curr_node.attributes.link;
curr_item.name.text = curr_node.attributes.name;

// item submenu behavior for rollover event
if (node_xml.childNodes[i].nodeName == menu){
// open a submenu
curr_item.node_xml = curr_node;
curr_item.onRollOver = curr_item.onDragOver =
function(){
var x = 200;
var y = this._y + this._height;
GenerateMenu(curr_menu, submenu_mc, x, y,
1000, this.node_xml);
// show a hover color
var col = new Color(this.background);
col.setRGB(0xf4faff);
};
}else{ // nodeName == item
curr_item.arrow._visible = false;
// close existing submenu
curr_item.onRollOver = curr_item.onDragOver =
function(){
curr_menu.submenu_mc.removeMovieClip();
// show a hover color
var col = new Color(this.background);
col.setRGB(0xf4faff);
};
}

curr_item.onRollOut = curr_item.onDragOut = function(){
// restore color
var col = new Color(this.background);

col.setTransform({ra:100,rb:0,ga:100,gb:0,ba:100,bb:0});
};

// any item, menu opening or not can have actions
curr_item.onRelease = function(){
Actions[goToURL](this.link);
CloseSubmenus();
};
} // end for loop
};

// create the main menu, this will be constantly visible
CreateMainMenu = function(x, y, depth, menu_xml){
// generate a menu list
GenerateMenu(this, mainmenu_mc, x, y, depth, menu_xml.firstChild);
// close only submenus if visible durring a mouseup
// this main menu (mainmenu_mc) will remain
mainmenu_mc.onMouseUp = function(){
if (mainmenu_mc.submenu_mc 
!mainmenu_mc.hitTest(_root

Re: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson

Jason,

I used textfield.autoSize = left which seems to fix half of my
problem. Maybe I can use textfield.textWidth to fix the other half -
which is to get the menu items to be evenly spaced from one another
and not spaced on a static value.

I post back...

Aaron

P.S. That textfield is name.

On 8/17/06, Merrill, Jason [EMAIL PROTECTED] wrote:

XML is actually not relevant to the question here.  Only the text string
you get from it is.  Once the text string is in a TextField, you should
just be able to use the TextField.textWidth property.

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions






-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Aaron Roberson
Sent: Thursday, August 17, 2006 4:55 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Help Getting Size of Text Dynamically

I am creating a dynamic drop down menu using XML and I am having
trouble spacing out each menu item.

Is there a way of determing the size of the text in each xml node?

Thanks for your help,
Aaron

P.S. This menu is based on a tutorial at kirupa.com.

Here is the XML:

?xml version=1.0 encoding=iso-8859-1?
menu name=navigation
  item name=Home link=http://whitehorsemedia.com; /
  menu name=About Us
link=http://whitehorsemedia.com/about/index.cfm;
  item name=Our Name
link=http://whitehorsemedia.com/about/name.cfm; /
  item name=News
link=http://whitehorsemedia.com/about/news.cfm; /
  item name=We Believe
link=http://whitehorsemedia.com/about/believe.cfm; /
  item name=Staff
link=http://whitehorsemedia.com/about/staff.cfm; /
  item name=Projects
link=http://whitehorsemedia.com/about/projects.cfm; /
  /menu
/menu

Here is the ActionScript:


// generates a list of menu items (effectively one menu)
// given the inputted parameters.  This makes the main menu
// as well as any of the submenus
GenerateMenu = function(container, name, x, y, depth, node_xml) {
  // variable declarations
  var curr_node;
  var curr_item;
  var curr_menu = container.createEmptyMovieClip(name, depth);

  // for all items or XML nodes (items and menus)
  // within this node_xml passed for this menu
  for (var i=0; inode_xml.childNodes.length; i++) {
  // movieclip for each menu item
  curr_item =
curr_menu.attachMovie(menuitem,item+i+_mc,
i);
  curr_item._x = x + i*curr_item._width;
  curr_item._y = y;
  curr_item.trackAsMenu = true;

  // item properties assigned from XML
  curr_node = node_xml.childNodes[i];
  curr_item.link = curr_node.attributes.link;
  curr_item.name.text = curr_node.attributes.name;

  // item submenu behavior for rollover event
  if (node_xml.childNodes[i].nodeName == menu){
  // open a submenu
  curr_item.node_xml = curr_node;
  curr_item.onRollOver = curr_item.onDragOver =
function(){
  var x = 200;
  var y = this._y + this._height;
  GenerateMenu(curr_menu, submenu_mc, x,
y,
1000, this.node_xml);
  // show a hover color
  var col = new Color(this.background);
  col.setRGB(0xf4faff);
  };
  }else{ // nodeName == item
  curr_item.arrow._visible = false;
  // close existing submenu
  curr_item.onRollOver = curr_item.onDragOver =
function(){
  curr_menu.submenu_mc.removeMovieClip();
  // show a hover color
  var col = new Color(this.background);
  col.setRGB(0xf4faff);
  };
  }

  curr_item.onRollOut = curr_item.onDragOut = function(){
  // restore color
  var col = new Color(this.background);

col.setTransform({ra:100,rb:0,ga:100,gb:0,ba:100,bb:0});
  };

  // any item, menu opening or not can have actions
  curr_item.onRelease = function(){
  Actions[goToURL](this.link);
  CloseSubmenus();
  };
  } // end for loop
};

// create the main menu, this will be constantly visible
CreateMainMenu = function(x, y, depth, menu_xml){
  // generate a menu list
  GenerateMenu(this, mainmenu_mc, x, y, depth,
menu_xml.firstChild);
  // close only submenus if visible durring a mouseup
  // this main menu (mainmenu_mc) will remain
  mainmenu_mc.onMouseUp = function(){
  if (mainmenu_mc.submenu_mc 
!mainmenu_mc.hitTest(_root._xmouse,
_root._ymouse, true

Re: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson

Elena,

Option 2 is exactly the track I am currently taking!

I am having a hard time adjusting the width of the movie clip based on
the length of the text after setting it to auto size. Can you help?

Here is my code:

for (var i=0; inode_xml.childNodes.length; i++) {
// movieclip for each menu item
curr_item = curr_menu.attachMovie(menuitem,item+i+_mc, i);
curr_item.name.autoSize = left;
curr_item._width = curr_item.name.textWidth;
curr_item._x = x + i*curr_item._width;
curr_item._y = y;
curr_item.trackAsMenu = true;
// truncated

Thanks,
Aaron

P.S. Option #2 is:

quoteYou could set autosize = true for the dynamic text field, then retrieve
the length of the text field once populated with the text, the adjust the
width of the movie clip based on it.. all on the fly./quote


On 8/17/06, Elena Blanco [EMAIL PROTECTED] wrote:

A couple of ideas that pop in my mind

1. You can store the name in a temporary string and get the length of it
with string.length - then change the width of the movie clip accordingly
2. You could set autosize = true for the dynamic text field, then retrieve
the length of the text field once populated with the text, the adjust the
width of the movie clip based on it.. all on the fly.

Let me know if any helps!

ELENA BLANCO
Blancomedia
WEB APPLICATION ARCHITECT
920 HULL STREET
HOOD RIVER, OR 97031
p: 541.490.4993
e: [EMAIL PROTECTED]
w: http://www.blancomedia.com


-Original Message-
From: Aaron Roberson [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 17, 2006 2:13 PM
To: [EMAIL PROTECTED]
Subject: Re: [Flashcoders] Help Getting Size of Text Dynamically

Yes, I am referring to the length of the text in the name attribute of
the xml nodes.

The script is creating a new movie clip based on an existing movie
clip in the library. The movie clip in the library (menuitem) has an a
movie clip (arrow) and a dynamic text field (name). When the script
creates the new movie clips for each menu item, instead of making them
the width of the text, they are the width of the movie clip in the
library. The width of the movie clip in the library is based on the
text inside, which makes me think that I could change the width of the
generated movie clips based on the text loaded from xml.

I hope that makes sense!

On 8/17/06, Elena Blanco [EMAIL PROTECTED] wrote:
 By size, are you referring to the length of the text (in this case the
 name?)

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Aaron
 Roberson
 Sent: Thursday, August 17, 2006 1:55 PM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Help Getting Size of Text Dynamically

 I am creating a dynamic drop down menu using XML and I am having
 trouble spacing out each menu item.

 Is there a way of determing the size of the text in each xml node?

 Thanks for your help,
 Aaron

 P.S. This menu is based on a tutorial at kirupa.com.

 Here is the XML:

 ?xml version=1.0 encoding=iso-8859-1?
 menu name=navigation
 item name=Home link=http://whitehorsemedia.com; /
 menu name=About Us
 link=http://whitehorsemedia.com/about/index.cfm;
 item name=Our Name
 link=http://whitehorsemedia.com/about/name.cfm; /
 item name=News
 link=http://whitehorsemedia.com/about/news.cfm; /
 item name=We Believe
 link=http://whitehorsemedia.com/about/believe.cfm; /
 item name=Staff
 link=http://whitehorsemedia.com/about/staff.cfm; /
 item name=Projects
 link=http://whitehorsemedia.com/about/projects.cfm; /
 /menu
 /menu

 Here is the ActionScript:


 // generates a list of menu items (effectively one menu)
 // given the inputted parameters.  This makes the main menu
 // as well as any of the submenus
 GenerateMenu = function(container, name, x, y, depth, node_xml) {
 // variable declarations
 var curr_node;
 var curr_item;
 var curr_menu = container.createEmptyMovieClip(name, depth);

 // for all items or XML nodes (items and menus)
 // within this node_xml passed for this menu
 for (var i=0; inode_xml.childNodes.length; i++) {
 // movieclip for each menu item
 curr_item =
curr_menu.attachMovie(menuitem,item+i+_mc,
 i);
 curr_item._x = x + i*curr_item._width;
 curr_item._y = y;
 curr_item.trackAsMenu = true;

 // item properties assigned from XML
 curr_node = node_xml.childNodes[i];
 curr_item.link = curr_node.attributes.link;
 curr_item.name.text = curr_node.attributes.name;

 // item submenu behavior for rollover event
 if (node_xml.childNodes[i].nodeName == menu){
 // open a submenu
 curr_item.node_xml = curr_node;
 curr_item.onRollOver = curr_item.onDragOver =
 function

Re: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson

Elena,

Option 2 is exactly the track I am currently taking!

I am having a hard time adjusting the width of the movie clip based on
the length of the text after setting it to auto size. Can you help?

Here is my code:

for (var i=0; inode_xml.childNodes.length; i++) {
// movieclip for each menu item
curr_item = curr_menu.attachMovie(menuitem,item+i+_mc, i);
curr_item.name.autoSize = left;
curr_item._width = curr_item.name.textWidth;
curr_item._x = x + i*curr_item._width;
curr_item._y = y;
curr_item.trackAsMenu = true;
// truncated

Thanks,
Aaron

P.S. Option #2 is:

quoteYou could set autosize = true for the dynamic text field, then retrieve
the length of the text field once populated with the text, the adjust the
width of the movie clip based on it.. all on the fly./quote

On 8/17/06, Elena Blanco [EMAIL PROTECTED] wrote:

A couple of ideas that pop in my mind

1. You can store the name in a temporary string and get the length of it
with string.length - then change the width of the movie clip accordingly
2. You could set autosize = true for the dynamic text field, then retrieve
the length of the text field once populated with the text, the adjust the
width of the movie clip based on it.. all on the fly.

Let me know if any helps!

ELENA BLANCO
Blancomedia
WEB APPLICATION ARCHITECT
920 HULL STREET
HOOD RIVER, OR 97031
p: 541.490.4993
e: [EMAIL PROTECTED]
w: http://www.blancomedia.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] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson

John,

That is what I am trying to do but it's not working for some reason.
Can you detect any problem or give me a suggestion with the following
code:

for (var i=0; inode_xml.childNodes.length; i++) {
  // movieclip for each menu item
  curr_item = curr_menu.attachMovie(menuitem,item+i+_mc, i);
  //set text field to auto size with left alignment
  curr_item.name.autoSize = left;
  curr_item.trackAsMenu = true;

  // item properties assigned from XML
  curr_node = node_xml.childNodes[i];
  curr_item.link = curr_node.attributes.link;
  curr_item.name.text = curr_node.attributes.name;

  // set movie clip width to the width of the text loaded from xml
  curr_item._width = curr_item.name.textWidth;
  // set x coordinate to the coordinate passed in times
the width of the movie clip
  curr_item._x = x + i*curr_item._width;
  curr_item._y = y;

Thanks,
Aaron

On 8/17/06, John VanHorn [EMAIL PROTECTED] wrote:

there are many ways to do the spacing. if your mc is sized after the width
of the textfield, just add the witdh of the mc to its _x plus the 15px for
spacing to get the _x of the next mc.

On 8/17/06, Aaron Roberson [EMAIL PROTECTED] wrote:

 I'm half way there...

 I figured out how to resize the movie clip based on the length of the
 text being loaded from the name attribute of the xml node. I added the
 following line to my code:

 curr_item.name.autoSize = left;

 Now I need to figure out how to make the spacing between each menu
 item 15px. Sounds simple, and is for others, but now that each movie
 clip is a different size I'm not sure how to do that. Any help on that
 would be appreciated!

 -Aaron

 On 8/17/06, Elena Blanco [EMAIL PROTECTED] wrote:
  By size, are you referring to the length of the text (in this case the
  name?)
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Aaron
  Roberson
  Sent: Thursday, August 17, 2006 1:55 PM
  To: flashcoders@chattyfig.figleaf.com
  Subject: [Flashcoders] Help Getting Size of Text Dynamically
 
  I am creating a dynamic drop down menu using XML and I am having
  trouble spacing out each menu item.
 
  Is there a way of determing the size of the text in each xml node?
 
  Thanks for your help,
  Aaron
 
  P.S. This menu is based on a tutorial at kirupa.com.
 
  Here is the XML:
 
  ?xml version=1.0 encoding=iso-8859-1?
  menu name=navigation
  item name=Home link=http://whitehorsemedia.com; /
  menu name=About Us
  link=http://whitehorsemedia.com/about/index.cfm;
  item name=Our Name
  link=http://whitehorsemedia.com/about/name.cfm; /
  item name=News
  link=http://whitehorsemedia.com/about/news.cfm; /
  item name=We Believe
  link=http://whitehorsemedia.com/about/believe.cfm; /
  item name=Staff
  link=http://whitehorsemedia.com/about/staff.cfm; /
  item name=Projects
  link=http://whitehorsemedia.com/about/projects.cfm; /
  /menu
  /menu
 
  Here is the ActionScript:
 
 
  // generates a list of menu items (effectively one menu)
  // given the inputted parameters.  This makes the main menu
  // as well as any of the submenus
  GenerateMenu = function(container, name, x, y, depth, node_xml) {
  // variable declarations
  var curr_node;
  var curr_item;
  var curr_menu = container.createEmptyMovieClip(name, depth);
 
  // for all items or XML nodes (items and menus)
  // within this node_xml passed for this menu
  for (var i=0; inode_xml.childNodes.length; i++) {
  // movieclip for each menu item
  curr_item =
 curr_menu.attachMovie(menuitem,item+i+_mc,
  i);
  curr_item._x = x + i*curr_item._width;
  curr_item._y = y;
  curr_item.trackAsMenu = true;
 
  // item properties assigned from XML
  curr_node = node_xml.childNodes[i];
  curr_item.link = curr_node.attributes.link;
  curr_item.name.text = curr_node.attributes.name;
 
  // item submenu behavior for rollover event
  if (node_xml.childNodes[i].nodeName == menu){
  // open a submenu
  curr_item.node_xml = curr_node;
  curr_item.onRollOver = curr_item.onDragOver =
  function(){
  var x = 200;
  var y = this._y + this._height;
  GenerateMenu(curr_menu, submenu_mc, x,
 y,
  1000, this.node_xml);
  // show a hover color
  var col = new Color(this.background);
  col.setRGB(0xf4faff

Re: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson

Ryan,

I went with option number 1 and it is working like a champ. I did
change one little thing:

last_item = curr_menu[item+i-1+_mc];

to

last_item = curr_menu[item+(i-1)+_mc];

But it works wonderfully now. Thank you all for your help!

-Aaron

On 8/17/06, Ryan Potter [EMAIL PROTECTED] wrote:

Hey Aaron.  The problem that I can see is that you are setting the x to
the x of the current item, hence you are setting it to its own width.
If you are trying to space them across the screen horizontally you need
to get the x and width of the last clip.  Another way to do it is to get
the width of the container clip and use that.  This only works if the
container only contains the nav items.

Option 1:

// get the last clip (i-1)
last_item = curr_menu[item+i-1+_mc];
last_x = last_item._x;
last_width = ast_item._width;

// set the x to the last item x plus the last item width
curr_item._x = last_x + last_width;


Option 2:
// set the x to the width of the container
curr_item._x = curr_menu._width;


Option 3:

// Set a fixed width
curr_item._x = i*100;


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron
Roberson
Sent: Thursday, August 17, 2006 4:23 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Help Getting Size of Text Dynamically

John,

That is what I am trying to do but it's not working for some reason.
Can you detect any problem or give me a suggestion with the following
code:

for (var i=0; inode_xml.childNodes.length; i++) {
   // movieclip for each menu item
   curr_item =
curr_menu.attachMovie(menuitem,item+i+_mc, i);
   //set text field to auto size with left alignment
   curr_item.name.autoSize = left;
   curr_item.trackAsMenu = true;

   // item properties assigned from XML
   curr_node = node_xml.childNodes[i];
   curr_item.link = curr_node.attributes.link;
   curr_item.name.text = curr_node.attributes.name;

   // set movie clip width to the width of the text loaded
from xml
   curr_item._width = curr_item.name.textWidth;
   // set x coordinate to the coordinate passed in times
the width of the movie clip
   curr_item._x = x + i*curr_item._width;
   curr_item._y = y;

Thanks,
Aaron

On 8/17/06, John VanHorn [EMAIL PROTECTED] wrote:
 there are many ways to do the spacing. if your mc is sized after the
width
 of the textfield, just add the witdh of the mc to its _x plus the 15px
for
 spacing to get the _x of the next mc.

 On 8/17/06, Aaron Roberson [EMAIL PROTECTED] wrote:
 
  I'm half way there...
 
  I figured out how to resize the movie clip based on the length of
the
  text being loaded from the name attribute of the xml node. I added
the
  following line to my code:
 
  curr_item.name.autoSize = left;
 
  Now I need to figure out how to make the spacing between each menu
  item 15px. Sounds simple, and is for others, but now that each movie
  clip is a different size I'm not sure how to do that. Any help on
that
  would be appreciated!
 
  -Aaron
 
  On 8/17/06, Elena Blanco [EMAIL PROTECTED] wrote:
   By size, are you referring to the length of the text (in this case
the
   name?)
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of
Aaron
   Roberson
   Sent: Thursday, August 17, 2006 1:55 PM
   To: flashcoders@chattyfig.figleaf.com
   Subject: [Flashcoders] Help Getting Size of Text Dynamically
  
   I am creating a dynamic drop down menu using XML and I am having
   trouble spacing out each menu item.
  
   Is there a way of determing the size of the text in each xml node?
  
   Thanks for your help,
   Aaron
  
   P.S. This menu is based on a tutorial at kirupa.com.
  
   Here is the XML:
  
   ?xml version=1.0 encoding=iso-8859-1?
   menu name=navigation
   item name=Home link=http://whitehorsemedia.com; /
   menu name=About Us
   link=http://whitehorsemedia.com/about/index.cfm;
   item name=Our Name
   link=http://whitehorsemedia.com/about/name.cfm; /
   item name=News
   link=http://whitehorsemedia.com/about/news.cfm; /
   item name=We Believe
   link=http://whitehorsemedia.com/about/believe.cfm; /
   item name=Staff
   link=http://whitehorsemedia.com/about/staff.cfm; /
   item name=Projects
   link=http://whitehorsemedia.com/about/projects.cfm; /
   /menu
   /menu
  
   Here is the ActionScript:
  
  
   // generates a list of menu items (effectively one menu)
   // given the inputted parameters.  This makes the main menu
   // as well as any of the submenus
   GenerateMenu = function(container, name, x, y, depth, node_xml) {
   // variable declarations
   var curr_node;
   var curr_item;
   var curr_menu = container.createEmptyMovieClip(name,
depth);
  
   // for all items