[Flashcoders] [Web usability - Fullscreen - CSS?] I know ... but customer wants it Mac/PC

2005-11-19 Thread af a
   Hello,


First of all, thanks to Matthew, Mike, Chad, ErixTekila, Pixelassembly, MetaArt 
for their previous
answers. (I hope not forgetting anyone ;-)


I have to do a cross-browser Mac/PC full-screen (chromeless exactly) project 
(YES, i told the client the drawbacks  with proofs and statistic-based 
arguments)
in Flash MX 2004 :

* javascript popup   ->  NO,  for they are blocked OR because javascript is 
disabled (too reliant on browser)
* chromeless  ->  works only for IE 5 on PC

   how to do something which works on MAC/PC (above all Mac) Safari, Opera, IE 
and Netscape, Mozilla ?


Use something which is not DOM compliant, but W3C compliant like html and CSS 
(or CSS-P ?)
Use dreamweaver MX 2004 to do this fullscreen thing ... Argh 

Any good tutorials, links ?


Thanks again
Tony

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


Re: [Flashcoders] Very basic question: calling MC from a frame

2005-11-19 Thread Blake Kritzberg
Thank you so much for the help, and the newbie list address. I appreciate it!

- blake

On 11/19/05, Radley Marx <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Unless you're using a really old version of Flash, you don't need to
> use "TellTarget".
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] BitmapData.loadBitmap with on stage MC

2005-11-19 Thread Claudia Barnal

Thanks Alain and Michael.

Just what I needed :)

Claudia

_
MSN Messenger 7.5 is now out. Download it for FREE here. 
http://messenger.msn.co.uk


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


Re: [Flashcoders] Very basic question: calling MC from a frame

2005-11-19 Thread Radley Marx





Unless you're using a really old version of Flash, you don't need to  
use "TellTarget".


not sure what you mean by "call a label"...

key points to remember:

Name your MC also in the properties window (not just when you make  
the MC).


Any movieClip_mc can be reused over and over with different names. so  
movieClip_mc can be used as movieClip01_mc, movieClp02_mc, etc. by  
placing the MC on the stage, clicking on it, and naming it in the  
Porperties window. If you don't, Flash won't find it.



If you're not going to need to use the same MC several times in  
different ways, it's best to just type the exact same name so it's  
easier to recognize. (You don't know how many Flash projects I'm  
asked to work on that are a huge mess to understand, simply because  
the original developer failed to do this.)



anything within that MC call be targeted using dot notation:

movieClip_mc.foo// call to a child

or

_root.movieClip_mc.foo  // call from root movie

or

_parent.movieClip_mc.foo// up one level

or

_parent._parent.movieClip_mc.foo  // up two levels




I think you're trying to get to a variable in your AS that is within  
your MC. A variable name declared within a MC is available anywhere  
within that MC, not just in that single frame (in most cases). So for  
that you'd simply:



movieClip_mc.variableName





-radley




On Nov 19, 2005, at 2:04 PM, Blake Kritzberg wrote:


Forgive me for asking such a basic question, but there's a long space
between my flash projects and during that interval I always forget
everything I ever learned.

Now, all in a rush, I have to do something pretty simple (forgive my
total lack of jargon):

I need to call a specific label within an on-stage MC from an
actionscript in one of the frames.

I know this should be simple but I can't seem to find a refresher
tutorial on how to do that. (I found one ages ago, but ...) I think
I'm missing the right lingo. I can't even figure out what basic script
command is called for here. TellTarget? Something else? Any
suggestions?

thanks,
- blake
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders






 
--

Radley Marx
[EMAIL PROTECTED]
310.220.4088
http://www.radleymarx.com
 
--





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


Re: [Flashcoders] Very basic question: calling MC from a frame

2005-11-19 Thread Mark Walters
wow ... telltarget ... it has been a long time, hasn't it ?

I assume you mean a frame label ...

MovieClip.gotoAndPlay ("label");

you might also want to use the flashnewbie mailing list instead:
http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie



On 11/19/05, Blake Kritzberg <[EMAIL PROTECTED]> wrote:
> Forgive me for asking such a basic question, but there's a long space
> between my flash projects and during that interval I always forget
> everything I ever learned.
>
> Now, all in a rush, I have to do something pretty simple (forgive my
> total lack of jargon):
>
> I need to call a specific label within an on-stage MC from an
> actionscript in one of the frames.
>
> I know this should be simple but I can't seem to find a refresher
> tutorial on how to do that. (I found one ages ago, but ...) I think
> I'm missing the right lingo. I can't even figure out what basic script
> command is called for here. TellTarget? Something else? Any
> suggestions?
>
> thanks,
> - blake
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flash 8 OSX is not applescriptable AT ALL ?

2005-11-19 Thread erixtekila

No dictionnary.
Too bad !

Is it only me ?

---
erixtekila
http://blog.v-i-a.net/

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


[Flashcoders] Very basic question: calling MC from a frame

2005-11-19 Thread Blake Kritzberg
Forgive me for asking such a basic question, but there's a long space
between my flash projects and during that interval I always forget
everything I ever learned.

Now, all in a rush, I have to do something pretty simple (forgive my
total lack of jargon):

I need to call a specific label within an on-stage MC from an
actionscript in one of the frames.

I know this should be simple but I can't seem to find a refresher
tutorial on how to do that. (I found one ages ago, but ...) I think
I'm missing the right lingo. I can't even figure out what basic script
command is called for here. TellTarget? Something else? Any
suggestions?

thanks,
- blake
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Dynamic text align vertically

2005-11-19 Thread Andreas Rønning
I used this method on a larger project a year ago, where text was to be 
loaded into cartoony speech bubbles, kind of a dynamic combic book thing 
so the client could alter the script post deployment if they wanted to.
For some reason, textHeight won't read correctly in some instances, 
though textWidth worked fine. Mind you this was flashplayer 7 
standalone, but still.


- Andreas

Karthik wrote:


I'm just typing this off the cuff:

//if you have a multiline textfield named test_txt on the stage
//and want to align it vertically to the center of the stage
test_txt.autoSize = true;
//Always set the text via AS rather than use the variable field
test_txt.text = "abcd \n efgh \n ijkl";
test_txt._y = (Stage.height - test_txt._height)/2;
test_txt._x = (Stage.width  - test_txt._width)/2;

//Stage is a built in class..

Hope that helps :)
-K

On 19/11/05, Paul Steven <[EMAIL PROTECTED]> wrote:
 


Karthik, thanks for the reply

Can you elaborate on how to do this please

Thanks

Paul
   


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



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


Re: [Flashcoders] script running slowly .. um.. WHERE?

2005-11-19 Thread Paul Evans

On 19 Nov 2005, at 07:16, Jayson K Hanes wrote:

why the heck doesn't flash tell you WHERE
A down-side to flash - but you can usually localise problems like  
this to using debug, or xray.



Any insight, otherwise?


If you can't localise the problem to a loop in the source code, one  
possibility (which has caught me out in the past): If using  
components, applying global styles after they have initialised will  
hold-up the player until the styles are applied to each instance. The  
player seems to do this via a tight-loop and even if there are  
relatively few instances, the player has to do lots of work and may  
issue a warning (with stop option) to the user...


http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2005-April/ 
136149.html


http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/ 
common/html/wwhelp.htm?context=Flash_MX_2004&file=2029.html


hth

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


RE: [Flashcoders] Dynamic text align vertically

2005-11-19 Thread Paul Steven
Thanks Karthik

I will give that a go

I used a variable field because the text only appears once the splat has
tweened from tiny to large. Therefore I cannot access the splat_txt.text
property as it does not exist on stage at this point

Cheers

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Karthik
Sent: 19 November 2005 14:21
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Dynamic text align vertically


I'm just typing this off the cuff:

//if you have a multiline textfield named test_txt on the stage
//and want to align it vertically to the center of the stage
test_txt.autoSize = true;
//Always set the text via AS rather than use the variable field
test_txt.text = "abcd \n efgh \n ijkl";
test_txt._y = (Stage.height - test_txt._height)/2;
test_txt._x = (Stage.width  - test_txt._width)/2;

//Stage is a built in class..

Hope that helps :)
-K

On 19/11/05, Paul Steven <[EMAIL PROTECTED]> wrote:
> Karthik, thanks for the reply
>
> Can you elaborate on how to do this please
>
> Thanks
>
> Paul
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Dynamic text align vertically

2005-11-19 Thread Karthik
I'm just typing this off the cuff:

//if you have a multiline textfield named test_txt on the stage
//and want to align it vertically to the center of the stage
test_txt.autoSize = true;
//Always set the text via AS rather than use the variable field
test_txt.text = "abcd \n efgh \n ijkl";
test_txt._y = (Stage.height - test_txt._height)/2;
test_txt._x = (Stage.width  - test_txt._width)/2;

//Stage is a built in class..

Hope that helps :)
-K

On 19/11/05, Paul Steven <[EMAIL PROTECTED]> wrote:
> Karthik, thanks for the reply
>
> Can you elaborate on how to do this please
>
> Thanks
>
> Paul
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Dynamic text align vertically

2005-11-19 Thread Paul Steven
Karthik, thanks for the reply

Can you elaborate on how to do this please

Thanks

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Karthik
Sent: 19 November 2005 14:09
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Dynamic text align vertically


Best bet is to align the entire text field vertically based on its height.

-K

On 19/11/05, Paul Steven <[EMAIL PROTECTED]> wrote:
> I have some random jokes and answers appearing in a "splat" graphic on
> screen. The jokes are read in from an XML file.
>
> I have set up a 4 line multiline dynamic text area in the splat movie clip
> that displays the question and answer using variables
>
> e.g _parent.Joke_Answer
>
> This text area is "align centered"
>
> When the answer is only a one word answer it doesn't look that great as
the
> word appears at the top
>
> See http://www.mediakitchen.co.uk/splat.jpg
>
> Any suggestions as to how to align the text vertically as well as
> horizontally.
>
> Thanks
>
> Paul
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Dynamic text align vertically

2005-11-19 Thread Karthik
Best bet is to align the entire text field vertically based on its height.

-K

On 19/11/05, Paul Steven <[EMAIL PROTECTED]> wrote:
> I have some random jokes and answers appearing in a "splat" graphic on
> screen. The jokes are read in from an XML file.
>
> I have set up a 4 line multiline dynamic text area in the splat movie clip
> that displays the question and answer using variables
>
> e.g _parent.Joke_Answer
>
> This text area is "align centered"
>
> When the answer is only a one word answer it doesn't look that great as the
> word appears at the top
>
> See http://www.mediakitchen.co.uk/splat.jpg
>
> Any suggestions as to how to align the text vertically as well as
> horizontally.
>
> Thanks
>
> Paul
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] how to draw Circle?

2005-11-19 Thread Pandian

Thank you karthik..
:-)

Karthik wrote:


http://www.macromedia.com/devnet/flash/articles/adv_draw_methods.html

-K

On 19/11/05, Pandian <[EMAIL PROTECTED]> wrote:
 


how to draw circles in Flash using Action Script ?
   


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

 



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


Re: [Flashcoders] how to draw Circle?

2005-11-19 Thread Karthik
http://www.macromedia.com/devnet/flash/articles/adv_draw_methods.html

-K

On 19/11/05, Pandian <[EMAIL PROTECTED]> wrote:
>
> how to draw circles in Flash using Action Script ?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] how to draw Circle?

2005-11-19 Thread Pandian


--

how to draw circles in Flash using Action Script ?

Thanks and Regards,
Peria Pandi. J
Flash Programmer,
+91 9886742392
Excel-Soft Technologies Pvt Ltd,
1-B,Hotagalli Industrial Area,
Mysore - 570018
Karnataka.

Love your Job. But dont fall in love with your Company !

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


[Flashcoders] AS3 : load transparent png and use it as mask

2005-11-19 Thread Thierry V.

Hi list !!

I want to do the following :


1. load a png with transparency via a flash.display.Loader
2. apply some changes to the bitmap loaded
3. apply the bitmap as mask under another content.


My problem is that I don't know what to use to do the second process... 
I think I do use the threshold method of the bitmapData, but I don't 
know exactly how...


My png is a simple content with transparency. I want to set a flag on 
each transparent pixels to have only the content displayed as mask, not 
a plain rect...


If anybody can share a sample, it would be helpfull :)


Thanks in advance


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


[Flashcoders] AS3 : load transparent png and use it as mask

2005-11-19 Thread Thierry V.

Hi list !!

I want to do the following :


1. load a png with transparency via a flash.display.Loader
2. apply some changes to the bitmap loaded
3. apply the bitmap as mask under another content.


My problem is that I don't know what to use to do the process...

My png is a simple content with transparency. I want to set a flag on 
each transparent pixels to have only the content displayed as mask, not 
a plain rect...


If anybody can share a sample, it would be helpfull :)


Thanks in advance


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


[Flashcoders] Dynamic text align vertically

2005-11-19 Thread Paul Steven
I have some random jokes and answers appearing in a "splat" graphic on
screen. The jokes are read in from an XML file.

I have set up a 4 line multiline dynamic text area in the splat movie clip
that displays the question and answer using variables

e.g _parent.Joke_Answer

This text area is "align centered"

When the answer is only a one word answer it doesn't look that great as the
word appears at the top

See http://www.mediakitchen.co.uk/splat.jpg

Any suggestions as to how to align the text vertically as well as
horizontally.

Thanks

Paul


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


RE: [Flashcoders] text field halfway round from bottom

2005-11-19 Thread rishi

Hi

What if I need to send the dimensions for this displaced text to a
printer can I get the shape coordinates for this or some way to export
image for the same

Regards
Rishi

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alain
Rousseau
Sent: Friday, November 18, 2005 5:40 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] text field halfway round from bottom

If you're using Flash 8 you can use the DisplacementMapFilter to do that

effect. So far you can't write text on a path in Flash, unlile 
Illustrator or other vector based apps.
you can see an example at this french blog: 
http://jeanphiblog.media-box.net/dotclear/index.php?2005/10/29/172-flash
-8-displacementmapfilter-texte-incurve

You can get the source of these exemples as well.

Hope this helps

Alain

rishi wrote:

>Hi
>
> 
>
>Is there a way I can make a text field  halfway round from bottom. I
>want to make bridge text or bulge text. Please suggest something in
>Flash or somewhat alike.
>
> 
>
>Regards
>
>Rishi
>
>___
>Flashcoders mailing list
>Flashcoders@chattyfig.figleaf.com
>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>  
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] File Loading in https

2005-11-19 Thread Sumeet Kumar
Thanks 
I have solved the problem

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sumeet
Kumar
Sent: Saturday, November 19, 2005 1:21 PM
To: Flashcoders mailing list
Subject: [Flashcoders] File Loading in https

Hi All,

I have a published flash movie (main.swf) in a index.html page,
which I am loading over a secured https:// layer. The problem lies that
I am loading swf's in my main.swf from a unsecured path(http://)then
  it fails to load the movie. If I use (https://) then
the movies are loaded.

 

 

Also if the sub movies are loaded on a secured https:// path then if we
locate a reference movieclip at the parent of submovie which lies in
movie, it displays a message undefined.

 

 

Anyone ,Please let me out.

 

Regards

Sumeet

 

 

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


Re: [Flashcoders] Way to get URL of host page?

2005-11-19 Thread Karthik
I see. In that case, you should be able to get this done with a JS
call that returns location.href etc. etc.

hth
-K

On 19/11/05, Rajat Paharia <[EMAIL PROTECTED]> wrote:
> Thanks Karthik - I'm not trying to prevent it, I just want to log it
> for analysis purposes later.
>
> best, - rajat
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders