Re: [Flashcoders] AS3 Fullscreen mode w/ Windows Projectors

2009-02-16 Thread Nate Beck
Just out of curiosity... Why are you deploying your application as a
stand-alone projector when you could deploy it as an Adobe AIR application?

On Mon, Feb 16, 2009 at 2:03 PM, Glen Pike wrote:

> Hi,
>
>   I don't think that updating the FP updates the IDE one normally - I have
> never worked out how to do this, even with Kewbee's Plugin Switcher.
>
>   Not wishing to sound too cynical, but if everyone upgrades their FP so
> easily, then content creators will have to keep up and they are the one's
> who have to shell out for the Adobe products, so maybe that's the reason
> behind this -or maybe it's the rush to keep the IDE on a high calorie diet
> of new features rather than concentrating on keeping it trim and mean by
> fixing the important things that it might be nice to get fixed.  I guess I
> am just bitter because I have not had a chance to play with CS4 yet :(
>
>   Glen
>
>
> jonathan howe wrote:
>
>> Well, it doesn't disprove my theory - that is the packaged version prior
>> to
>> the security patch. The version of projectors that my IDE now creates is
>> 9.0.151.0
>>
>> So, the mystery remains.
>> Anyone with the unpatched version: Test your fullscreen projectors in
>> Vista.
>> Anyone with the patched version: Test your fullscreen (if it's called
>> outside a button event and is invoked by stage.displayState) to make sure
>> it
>> actually works
>>
>> Mystery #2: why doesn't the Adobe Updater apply the patches to the
>> "Players/" directory if this is such an important security fix?
>>
>> -jonathan
>>
>> (Glen, I think I beat your test score by 0.0.106. Booyah.)
>>
>>
>>
>> On Mon, Feb 16, 2009 at 2:06 PM, Glen Pike > >wrote:
>>
>>
>>
>>> My IDE published to 9.0.45.0 for that projector.
>>>
>>> HTH
>>>
>>> Glen
>>>
>>>
>>> jonathan howe wrote:
>>>
>>>
>>>
 Glen, thanks for the response.

 As an interesting (?) complication to this matter, I recently installed
 the
 new versions of the players to CS3 Professional IDE:



 http://kb.adobe.com/selfservice/viewContent.do?externalId=b62ce659&sliceId=2

 Before I updated, the stage.displayState =
 StageDisplayState.FULL_SCREEN;
 command worked but full screen was completely black on Vista.

 After I updated, fullscreen wasn't black but the fullscreen didn't work
 anymore. Did adobe sneak in more stringent security? If so, why does my
 fscommand work?
 Glen, would you mind telling me what player version shows up when you
 export
 a projector from your IDE?

 -jonathan

 On Sun, Feb 15, 2009 at 6:43 PM, Glen Pike >>>

> wrote:
>
>



> Hi,
>
>  I have no problem with this when publishing a projector from CS3:
>
>  this.stage.displayState = StageDisplayState.FULL_SCREEN;
>
>  The projector I created is just a shell that loads in another SWF
> containing the App.
>
>  But I did run into problems with trying to make a non-projector SWF go
> full screen without using fscommand - (we were running flash player
> from
> the
> command line in Linux because we are compiling the SWF on Windows and
> it
> is
> virtually impossible to create a projector when you are running the
> system
> without a desktop manager.)
>
>  I think keeping fingers crossed that fscommand does not get deprecated
> would be a good thing because there are cases where this would cause
> serious
> problems :)
>
>  Glen
>
>
>
> jonathan howe wrote:
>
>
>
>
>
>> Hello,
>>
>> According to docs "Full-screen mode is always permitted in the
>> stand-alone
>> player or in a projector file."
>>
>> Yet I get a "SecurityError: Error #2152" when I call
>> stage.displayState
>> =
>> StageDisplayState.FULL_SCREEN; from a projector. But I don't get it
>> when
>> I
>> use the old fscommand method of going fullscreen.
>>
>> For projectors, shouldn't the mouseevent-click security requirement be
>> waived in order to automatically go fullscreen? Why would it work with
>> fscommand but not the official way, displayState? Anyone do this
>> regularly
>> who has a hint? Should I just be glad fscommand works?
>>
>> -jonathan
>>
>>
>>
>>
>>
>>
>>
>>
> --
>
> Glen Pike
> 01326 218440
> www.glenpike.co.uk 
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
>
>
>





>>> --
>>>
>>> Glen Pike
>>> 01326 218440
>>> www.glenpike.co.uk 
>>>
>>> ___
>>> Flashcoders mailing list
>>> Flashcoders@chattyfig.figleaf.com
>>> http://chattyfig.figleaf.co

Re: [Flashcoders] RTL...

2009-02-16 Thread Glen Pike

Hmm,

   Need to mull that one over a bit and get my head around the logic... 
- need to test tomorrow, cheers.
  
   Glen


Weyert de Boer wrote:
I normally put the textfield in the movieclip and then flip this 
movieclip with like _xscale=-100. Easiest solution and people who are 
able to read Arabic say it's correct.

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




--

Glen Pike
01326 218440
www.glenpike.co.uk 

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


Re: [Flashcoders] RTL...

2009-02-16 Thread Weyert de Boer
I normally put the textfield in the movieclip and then flip this 
movieclip with like _xscale=-100. Easiest solution and people who are 
able to read Arabic say it's correct.

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


Re: [Flashcoders] AS3 Fullscreen mode w/ Windows Projectors

2009-02-16 Thread Glen Pike

Hi,

   I don't think that updating the FP updates the IDE one normally - I 
have never worked out how to do this, even with Kewbee's Plugin Switcher.


   Not wishing to sound too cynical, but if everyone upgrades their FP 
so easily, then content creators will have to keep up and they are the 
one's who have to shell out for the Adobe products, so maybe that's the 
reason behind this -or maybe it's the rush to keep the IDE on a high 
calorie diet of new features rather than concentrating on keeping it 
trim and mean by fixing the important things that it might be nice to 
get fixed.  I guess I am just bitter because I have not had a chance to 
play with CS4 yet :(


   Glen

jonathan howe wrote:

Well, it doesn't disprove my theory - that is the packaged version prior to
the security patch. The version of projectors that my IDE now creates is
9.0.151.0

So, the mystery remains.
Anyone with the unpatched version: Test your fullscreen projectors in Vista.
Anyone with the patched version: Test your fullscreen (if it's called
outside a button event and is invoked by stage.displayState) to make sure it
actually works

Mystery #2: why doesn't the Adobe Updater apply the patches to the
"Players/" directory if this is such an important security fix?

-jonathan

(Glen, I think I beat your test score by 0.0.106. Booyah.)



On Mon, Feb 16, 2009 at 2:06 PM, Glen Pike wrote:

  

My IDE published to 9.0.45.0 for that projector.

HTH

Glen


jonathan howe wrote:



Glen, thanks for the response.

As an interesting (?) complication to this matter, I recently installed
the
new versions of the players to CS3 Professional IDE:


http://kb.adobe.com/selfservice/viewContent.do?externalId=b62ce659&sliceId=2

Before I updated, the stage.displayState = StageDisplayState.FULL_SCREEN;
command worked but full screen was completely black on Vista.

After I updated, fullscreen wasn't black but the fullscreen didn't work
anymore. Did adobe sneak in more stringent security? If so, why does my
fscommand work?
Glen, would you mind telling me what player version shows up when you
export
a projector from your IDE?

-jonathan

On Sun, Feb 15, 2009 at 6:43 PM, Glen Pike   

wrote:



  

Hi,

 I have no problem with this when publishing a projector from CS3:

 this.stage.displayState = StageDisplayState.FULL_SCREEN;

 The projector I created is just a shell that loads in another SWF
containing the App.

 But I did run into problems with trying to make a non-projector SWF go
full screen without using fscommand - (we were running flash player from
the
command line in Linux because we are compiling the SWF on Windows and it
is
virtually impossible to create a projector when you are running the
system
without a desktop manager.)

 I think keeping fingers crossed that fscommand does not get deprecated
would be a good thing because there are cases where this would cause
serious
problems :)

 Glen



jonathan howe wrote:





Hello,

According to docs "Full-screen mode is always permitted in the
stand-alone
player or in a projector file."

Yet I get a "SecurityError: Error #2152" when I call stage.displayState
=
StageDisplayState.FULL_SCREEN; from a projector. But I don't get it when
I
use the old fscommand method of going fullscreen.

For projectors, shouldn't the mouseevent-click security requirement be
waived in order to automatically go fullscreen? Why would it work with
fscommand but not the official way, displayState? Anyone do this
regularly
who has a hint? Should I just be glad fscommand works?

-jonathan






  

--

Glen Pike
01326 218440
www.glenpike.co.uk 

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








  

--

Glen Pike
01326 218440
www.glenpike.co.uk 

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






  


--

Glen Pike
01326 218440
www.glenpike.co.uk 

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


Re: [Flashcoders] AS3 Fullscreen mode w/ Windows Projectors

2009-02-16 Thread jonathan howe
Well, it doesn't disprove my theory - that is the packaged version prior to
the security patch. The version of projectors that my IDE now creates is
9.0.151.0

So, the mystery remains.
Anyone with the unpatched version: Test your fullscreen projectors in Vista.
Anyone with the patched version: Test your fullscreen (if it's called
outside a button event and is invoked by stage.displayState) to make sure it
actually works

Mystery #2: why doesn't the Adobe Updater apply the patches to the
"Players/" directory if this is such an important security fix?

-jonathan

(Glen, I think I beat your test score by 0.0.106. Booyah.)



On Mon, Feb 16, 2009 at 2:06 PM, Glen Pike wrote:

> My IDE published to 9.0.45.0 for that projector.
>
> HTH
>
> Glen
>
>
> jonathan howe wrote:
>
>> Glen, thanks for the response.
>>
>> As an interesting (?) complication to this matter, I recently installed
>> the
>> new versions of the players to CS3 Professional IDE:
>>
>>
>> http://kb.adobe.com/selfservice/viewContent.do?externalId=b62ce659&sliceId=2
>>
>> Before I updated, the stage.displayState = StageDisplayState.FULL_SCREEN;
>> command worked but full screen was completely black on Vista.
>>
>> After I updated, fullscreen wasn't black but the fullscreen didn't work
>> anymore. Did adobe sneak in more stringent security? If so, why does my
>> fscommand work?
>> Glen, would you mind telling me what player version shows up when you
>> export
>> a projector from your IDE?
>>
>> -jonathan
>>
>> On Sun, Feb 15, 2009 at 6:43 PM, Glen Pike > >wrote:
>>
>>
>>
>>> Hi,
>>>
>>>  I have no problem with this when publishing a projector from CS3:
>>>
>>>  this.stage.displayState = StageDisplayState.FULL_SCREEN;
>>>
>>>  The projector I created is just a shell that loads in another SWF
>>> containing the App.
>>>
>>>  But I did run into problems with trying to make a non-projector SWF go
>>> full screen without using fscommand - (we were running flash player from
>>> the
>>> command line in Linux because we are compiling the SWF on Windows and it
>>> is
>>> virtually impossible to create a projector when you are running the
>>> system
>>> without a desktop manager.)
>>>
>>>  I think keeping fingers crossed that fscommand does not get deprecated
>>> would be a good thing because there are cases where this would cause
>>> serious
>>> problems :)
>>>
>>>  Glen
>>>
>>>
>>>
>>> jonathan howe wrote:
>>>
>>>
>>>
 Hello,

 According to docs "Full-screen mode is always permitted in the
 stand-alone
 player or in a projector file."

 Yet I get a "SecurityError: Error #2152" when I call stage.displayState
 =
 StageDisplayState.FULL_SCREEN; from a projector. But I don't get it when
 I
 use the old fscommand method of going fullscreen.

 For projectors, shouldn't the mouseevent-click security requirement be
 waived in order to automatically go fullscreen? Why would it work with
 fscommand but not the official way, displayState? Anyone do this
 regularly
 who has a hint? Should I just be glad fscommand works?

 -jonathan






>>> --
>>>
>>> Glen Pike
>>> 01326 218440
>>> www.glenpike.co.uk 
>>>
>>> ___
>>> Flashcoders mailing list
>>> Flashcoders@chattyfig.figleaf.com
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>>
>>>
>>
>>
>>
>>
>>
>
> --
>
> Glen Pike
> 01326 218440
> www.glenpike.co.uk 
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



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


RE: [Flashcoders] RTL...

2009-02-16 Thread Mendelsohn, Michael
I've run into this before on Windows in Notepad.  I *think* if you right
click in notepad there should be a context menu item for RTL text.  It
was very frustrating for me, but that seemed to reverse the order.

Also, you could try Microsoft's free XML Notepad.

Hope that helps,
- MM


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


Re: [Flashcoders] AS3 Fullscreen mode w/ Windows Projectors

2009-02-16 Thread Glen Pike

My IDE published to 9.0.45.0 for that projector.

HTH

Glen

jonathan howe wrote:

Glen, thanks for the response.

As an interesting (?) complication to this matter, I recently installed the
new versions of the players to CS3 Professional IDE:

http://kb.adobe.com/selfservice/viewContent.do?externalId=b62ce659&sliceId=2

Before I updated, the stage.displayState = StageDisplayState.FULL_SCREEN;
command worked but full screen was completely black on Vista.

After I updated, fullscreen wasn't black but the fullscreen didn't work
anymore. Did adobe sneak in more stringent security? If so, why does my
fscommand work?
Glen, would you mind telling me what player version shows up when you export
a projector from your IDE?

-jonathan

On Sun, Feb 15, 2009 at 6:43 PM, Glen Pike wrote:

  

Hi,

  I have no problem with this when publishing a projector from CS3:

  this.stage.displayState = StageDisplayState.FULL_SCREEN;

  The projector I created is just a shell that loads in another SWF
containing the App.

  But I did run into problems with trying to make a non-projector SWF go
full screen without using fscommand - (we were running flash player from the
command line in Linux because we are compiling the SWF on Windows and it is
virtually impossible to create a projector when you are running the system
without a desktop manager.)

  I think keeping fingers crossed that fscommand does not get deprecated
would be a good thing because there are cases where this would cause serious
problems :)

  Glen



jonathan howe wrote:



Hello,

According to docs "Full-screen mode is always permitted in the stand-alone
player or in a projector file."

Yet I get a "SecurityError: Error #2152" when I call stage.displayState =
StageDisplayState.FULL_SCREEN; from a projector. But I don't get it when I
use the old fscommand method of going fullscreen.

For projectors, shouldn't the mouseevent-click security requirement be
waived in order to automatically go fullscreen? Why would it work with
fscommand but not the official way, displayState? Anyone do this regularly
who has a hint? Should I just be glad fscommand works?

-jonathan




  

--

Glen Pike
01326 218440
www.glenpike.co.uk 

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






  


--

Glen Pike
01326 218440
www.glenpike.co.uk 

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


[Flashcoders] component def doesn't pass params to constructor?

2009-02-16 Thread Mendelsohn, Michael
Hi list...

If I instance my mc associated with a Ball.as class, through code, there
is no problem:

var b:Ball = new Ball("basketball");
addChild(b);
// basketball shows up on stage

But, if I drag a Ball instance onto the timeline and set "basketball"
from the parameters panel of the tool palette, I get error 1063:argument
count mismatch.  Expected 1, got 0.  Shouldn't the parameter passed in
that panel get passed along to the constructor?

In the component definition, I've tried leaving the class field blank,
or filling it in with Ball.  Neither works.  In the component definition
is a var called "which."  It's a list.  Am I missing a step?

Thanks,
- Michael M.


// The class is:

package {
import flash.display.MovieClip;
public class Ball extends MovieClip {
public function Ball(which:String){
gotoAndStop(which);
}
}
}

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


Re: [Flashcoders] Either an incredibly easy or incredibly difficult problem

2009-02-16 Thread mike cann
Correct, its not possible unless you create a symbol for each point im
afraid

2009/2/9 Anthony Pace 

> That is exactly what I was going to say, and I have been trying to find
> something online; yet, I have found nothing, so I just assume its not
> possible to do it programatically, outside of the flash ide using jsfl.
>
> Now that I think of it, this could be somewhat useful.
>
>
>
> Merrill, Jason wrote:
>
>> Might be possible, but I don't know of a way - Sprite.graphics is for
>> drawing graphics with code - not accessing manually created graphic
>> properties.
>>
>>
>> Jason Merrill
>>
>>  Bank of  America   Learning Performance Solutions Instructional
>> Technology & Media
>> Learn about the Adobe Flash platform for rich media experiences - join
>> the Bank of America Flash Platform Community
>>
>> ___
>> 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
>



-- 
Mike Cann
http://www.mikecann.co.uk/
http://www.artificialgames.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] AS3 Fullscreen mode w/ Windows Projectors

2009-02-16 Thread Cor
I have this working in CS3 on a Vista.
No problem at all.

Are your fla properties Flashplayer 9 and AS 3.0?

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
Sent: maandag 16 februari 2009 17:19
To: Flash Coders List
Subject: Re: [Flashcoders] AS3 Fullscreen mode w/ Windows Projectors

Hi,

Will check later, but I don't think I ever upgraded the IDE.

I am also not running Vista yet - testing in WinXP...

Glen

jonathan howe wrote:
> Glen, thanks for the response.
>
> As an interesting (?) complication to this matter, I recently installed
the
> new versions of the players to CS3 Professional IDE:
>
>
http://kb.adobe.com/selfservice/viewContent.do?externalId=b62ce659&sliceId=2
>
> Before I updated, the stage.displayState = StageDisplayState.FULL_SCREEN;
> command worked but full screen was completely black on Vista.
>
> After I updated, fullscreen wasn't black but the fullscreen didn't work
> anymore. Did adobe sneak in more stringent security? If so, why does my
> fscommand work?
> Glen, would you mind telling me what player version shows up when you
export
> a projector from your IDE?
>
> -jonathan
>
> On Sun, Feb 15, 2009 at 6:43 PM, Glen Pike
wrote:
>
>   
>> Hi,
>>
>>   I have no problem with this when publishing a projector from CS3:
>>
>>   this.stage.displayState = StageDisplayState.FULL_SCREEN;
>>
>>   The projector I created is just a shell that loads in another SWF
>> containing the App.
>>
>>   But I did run into problems with trying to make a non-projector SWF go
>> full screen without using fscommand - (we were running flash player from
the
>> command line in Linux because we are compiling the SWF on Windows and it
is
>> virtually impossible to create a projector when you are running the
system
>> without a desktop manager.)
>>
>>   I think keeping fingers crossed that fscommand does not get deprecated
>> would be a good thing because there are cases where this would cause
serious
>> problems :)
>>
>>   Glen
>>
>>
>>
>> jonathan howe wrote:
>>
>> 
>>> Hello,
>>>
>>> According to docs "Full-screen mode is always permitted in the
stand-alone
>>> player or in a projector file."
>>>
>>> Yet I get a "SecurityError: Error #2152" when I call stage.displayState
=
>>> StageDisplayState.FULL_SCREEN; from a projector. But I don't get it when
I
>>> use the old fscommand method of going fullscreen.
>>>
>>> For projectors, shouldn't the mouseevent-click security requirement be
>>> waived in order to automatically go fullscreen? Why would it work with
>>> fscommand but not the official way, displayState? Anyone do this
regularly
>>> who has a hint? Should I just be glad fscommand works?
>>>
>>> -jonathan
>>>
>>>
>>>
>>>
>>>   
>> --
>>
>> Glen Pike
>> 01326 218440
>> www.glenpike.co.uk 
>>
>> ___
>> 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

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.237 / Virus Database: 270.10.25/1955 - Release Date: 02/16/09
06:55:00

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


Re: [Flashcoders] AS3 Fullscreen mode w/ Windows Projectors

2009-02-16 Thread Glen Pike

Hi,

   Will check later, but I don't think I ever upgraded the IDE.

   I am also not running Vista yet - testing in WinXP...

   Glen

jonathan howe wrote:

Glen, thanks for the response.

As an interesting (?) complication to this matter, I recently installed the
new versions of the players to CS3 Professional IDE:

http://kb.adobe.com/selfservice/viewContent.do?externalId=b62ce659&sliceId=2

Before I updated, the stage.displayState = StageDisplayState.FULL_SCREEN;
command worked but full screen was completely black on Vista.

After I updated, fullscreen wasn't black but the fullscreen didn't work
anymore. Did adobe sneak in more stringent security? If so, why does my
fscommand work?
Glen, would you mind telling me what player version shows up when you export
a projector from your IDE?

-jonathan

On Sun, Feb 15, 2009 at 6:43 PM, Glen Pike wrote:

  

Hi,

  I have no problem with this when publishing a projector from CS3:

  this.stage.displayState = StageDisplayState.FULL_SCREEN;

  The projector I created is just a shell that loads in another SWF
containing the App.

  But I did run into problems with trying to make a non-projector SWF go
full screen without using fscommand - (we were running flash player from the
command line in Linux because we are compiling the SWF on Windows and it is
virtually impossible to create a projector when you are running the system
without a desktop manager.)

  I think keeping fingers crossed that fscommand does not get deprecated
would be a good thing because there are cases where this would cause serious
problems :)

  Glen



jonathan howe wrote:



Hello,

According to docs "Full-screen mode is always permitted in the stand-alone
player or in a projector file."

Yet I get a "SecurityError: Error #2152" when I call stage.displayState =
StageDisplayState.FULL_SCREEN; from a projector. But I don't get it when I
use the old fscommand method of going fullscreen.

For projectors, shouldn't the mouseevent-click security requirement be
waived in order to automatically go fullscreen? Why would it work with
fscommand but not the official way, displayState? Anyone do this regularly
who has a hint? Should I just be glad fscommand works?

-jonathan




  

--

Glen Pike
01326 218440
www.glenpike.co.uk 

___
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] AS3 Fullscreen mode w/ Windows Projectors

2009-02-16 Thread jonathan howe
Glen, thanks for the response.

As an interesting (?) complication to this matter, I recently installed the
new versions of the players to CS3 Professional IDE:

http://kb.adobe.com/selfservice/viewContent.do?externalId=b62ce659&sliceId=2

Before I updated, the stage.displayState = StageDisplayState.FULL_SCREEN;
command worked but full screen was completely black on Vista.

After I updated, fullscreen wasn't black but the fullscreen didn't work
anymore. Did adobe sneak in more stringent security? If so, why does my
fscommand work?
Glen, would you mind telling me what player version shows up when you export
a projector from your IDE?

-jonathan

On Sun, Feb 15, 2009 at 6:43 PM, Glen Pike wrote:

> Hi,
>
>   I have no problem with this when publishing a projector from CS3:
>
>   this.stage.displayState = StageDisplayState.FULL_SCREEN;
>
>   The projector I created is just a shell that loads in another SWF
> containing the App.
>
>   But I did run into problems with trying to make a non-projector SWF go
> full screen without using fscommand - (we were running flash player from the
> command line in Linux because we are compiling the SWF on Windows and it is
> virtually impossible to create a projector when you are running the system
> without a desktop manager.)
>
>   I think keeping fingers crossed that fscommand does not get deprecated
> would be a good thing because there are cases where this would cause serious
> problems :)
>
>   Glen
>
>
>
> jonathan howe wrote:
>
>> Hello,
>>
>> According to docs "Full-screen mode is always permitted in the stand-alone
>> player or in a projector file."
>>
>> Yet I get a "SecurityError: Error #2152" when I call stage.displayState =
>> StageDisplayState.FULL_SCREEN; from a projector. But I don't get it when I
>> use the old fscommand method of going fullscreen.
>>
>> For projectors, shouldn't the mouseevent-click security requirement be
>> waived in order to automatically go fullscreen? Why would it work with
>> fscommand but not the official way, displayState? Anyone do this regularly
>> who has a hint? Should I just be glad fscommand works?
>>
>> -jonathan
>>
>>
>>
>>
>
> --
>
> Glen Pike
> 01326 218440
> www.glenpike.co.uk 
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



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


[Flashcoders] RTL...

2009-02-16 Thread Glen Pike

Hi,
  
   (Using CS3 publishing to FP8 with Windoze).


   Slightly OT, but I am working with Arabic text in Flash and trying 
to paste from an XLS spreadsheet (viewing with OpenOffice) to an XML 
file.  I then load this file into Flash and extract some of the node 
contents to use as text in dynamic text fields.  Because Flash does not 
deal with RTL very well in older players, I am not embedding the font / 
turning it off for the Arabic language.


   When I view the spreadsheet, I am guessing that the word and letter 
order is correct (comparing to Google Translate it is), but when I paste 
from the spreadsheet to my XML file, the order of letters is reversed 
and subsequently appears incorrectly in Flash.  Checking the trace of 
the XML contents, the extracted text and looking at the text field on 
stage, all of these contain reversed text.  I opened my file in Notepad 
and saved as UTF-8, but still no joy.
  
   - with the text fields, I am turning off font embedding with AS and 
even creating a brand new text field - to no avail...
  
   Does anyone have any tips on what to use for creating the XML from 
my spreadsheet - via copy & paste etc.  I have tried Notepad, Notepad++, 
FlashDevelop and Bonodi XML editor so far all with the same results...


   Any ideas on what I am doing wrong?
  
   Thanks


   Glen
  
  
___

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