RE: [Flashcoders] Fonts taking up too much space

2012-06-26 Thread Chris Foster
Using SoThink SWF Decompiler I examined your SWF and found 4 font items
as follows:

'font 4' - containing the following characters:
. 0 1 2 3 4 5 6 7 8 9 B C I M Y [ ] a c d e f g h I k l m n o r s t u v
w y

'font 12' - containing the following characters:
H O U W Y [ a b d e f g h I l n o r s t u v w y

'font 23' - containing the following characters:
B M I

'font 24' - containing the following characters:
. B F I M a d e f g I l n o r s t u x y


Looks like there's more embedded in there than you first thought. 

Hope that helps.
C:


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Tristan
Sent: Wednesday, 27 June 2012 7:00 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Fonts taking up too much space

I did not embed any fonts but the numerals and period for the input box.



On Tue, Jun 26, 2012 at 2:36 PM, Kerry Thompson
al...@cyberiantiger.bizwrote:

 When you embedded the fonts, did you embed the entire font, or just 
 the languages you need? If you embed the whole font, it's going to be 
 big, and you might not need Tibetan or Khmer.

 Cordially,

 Kerry Thompson

 On Tue, Jun 26, 2012 at 4:02 PM, Tristan sunnrun...@gmail.com wrote:

  Hello all.
 
  I am trying to optimize a swf and I've picked apart everything. When

  i
 run
  it through some shareware Flash Optimizer program it shows that it's

  made 70% fonts.
 
  Can anyone recommend a better optimizer or something i can do about 
  the fonts. The font size seems high to me for what the swf is.
 
  http://cleargraphix.com/cg_files/demos/Livewell_BMI_728x90.swf
 
  I might just be stuck I suppose. Maybe everything really is as tight

  as
 it
  could be. Trying to just shave off 1-2K to get it below 39K. I have 
  to render as flash player 9 AS2. I'm using CS6
 
  Any help appreciated.
 
  Thanks, T
  ___
  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
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] RE: Can Javascript Listen to Flash Events?

2012-05-22 Thread Chris Foster
I've got around the 'local  security warning' issue in the past by
running the content from a standalone webserver - check out  Server2Go.
You'll be able to fire off whatever ExternalInterface call you need.

You'll have a pause of a few seconds while the server stats up, but
otherwise it's a pretty seamless experience.

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill,
Jason
Sent: Wednesday, 23 May 2012 2:42 AM
To: Flash Coders List
Subject: RE: [Flashcoders] RE: Can Javascript Listen to Flash Events?

I'm assuming you've already read the capabilities and info listed here,
but if not, check this out:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash
/external/ExternalInterface.html?filter_flash=cs5filter_flashplayer=10.
2filter_air=2.6

From that page: 

From ActionScript, you can do the following on the HTML page: 

Call any JavaScript function. 
Pass any number of arguments, with any names. 
Pass various data types (Boolean, Number, String, and so on). 
Receive a return value from the JavaScript function. 

From JavaScript on the HTML page, you can: 

Call an ActionScript function. 
Pass arguments using standard function call notation. 
Return a value to the JavaScript function.



 Jason Merrill
 Instructional Technology Architect II
 Bank of America  Global Learning 





___


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ted Lehr
Sent: Tuesday, May 22, 2012 12:36 PM
To: Flash Coders List
Subject: RE: [Flashcoders] RE: Can Javascript Listen to Flash Events?

I cannot change security settings for the player - this will be used by
a lot of people and I cannot go to each work station and change that
setting... unless you are talking about some other setting...


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Paul
Andrews
Sent: Tue 5/22/2012 12:15 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] RE: Can Javascript Listen to Flash Events?
 
Just get a flash event handler to call a javascript function.

You probably don't have the security setting for the project set right -
network access only.

Paul


On 22/05/2012 17:06, Ted Lehr wrote:
 Oh - yes - I have the .fla... I just am running into issues when I try
to have the swf call out to the javascript - I get the security warning
from the player - so I am trying to figure out how to, instead of having
the swf make a call out - maybe the javascript could just listen to the
player...


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Merrill, 
 Jason
 Sent: Tue 5/22/2012 11:52 AM
 To: Flash Coders List
 Subject: [Flashcoders] RE: Can Javascript Listen to Flash Events?

 You would have to add code to the .swf, but yes, Javascript can listen
for Flash events and vice versa.

   Jason Merrill
   Instructional Technology Architect II
   Bank of America  Global Learning





 ___

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ted 
 Lehr
 Sent: Tuesday, May 22, 2012 11:44 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Can Javascript Listen to Flash Events?

 So I have a swf that needs to run locally and make an
ExternalInterface.call ... I am unable to make settings changes to the
users Flash Players ... so as of now it seems unpossible!

 My thoughts was to see if the javascript can listen for a flash event 
 (the end of a flv in FLVPlayback to be specific)

 Any thoughts?

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

 --
 This message w/attachments (message) is intended solely for the use of
the intended recipient(s) and may contain information that is
privileged, confidential or proprietary. If you are not an intended
recipient, please notify the sender, and then please delete and destroy
all copies and attachments, and be advised that any review or
dissemination of, or the taking of any action in reliance on, the
information contained in or attached to this message is prohibited.
 Unless specifically indicated, this message is not an offer to sell or
a solicitation of any investment products or other financial product or
service, an official confirmation of any transaction, or an official
statement of Sender. Subject to applicable law, Sender may intercept,
monitor, review and retain e-communications (EC) traveling through its
networks/systems and may produce any such EC to regulators, law
enforcement, in litigation and as required by law.
 The laws of the country of each sender/recipient may impact 

RE: [Flashcoders] Updating to 10.3 or 11 External player in cs5.5?

2012-02-08 Thread Chris Foster
Maybe I'm missing something here - what is stopping you from keeping
your SWF open in a browser window (with the debug Player of your choice)
and simply hitting F5 after you've republished?

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Peter
Ginneberge
Sent: Thursday, 9 February 2012 6:47 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Updating to 10.3 or 11 External player in
cs5.5?

Just looked it up real quick:
The IDE player dll is located in:

{FLASH DIR}\Common\Configuration

and is called: authplay.dll

If you look at the file's properties you'll notice it says: Adobe Flash
Player 10.2 r153

Doing a trace inside the IDE gives: WIN 10,2,153,2

import flash.system.Capabilities;
trace(Capabilities.version);


In short, you're screwed :(

regards,
Peter


- Original Message - 
From: Peter Ginneberge p.ginnebe...@telenet.be
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Wednesday, February 08, 2012 8:24 PM
Subject: Re: [Flashcoders] Updating to 10.3 or 11 External player in
cs5.5?


 Is there any way to fix this?
 Have you installed the FP11 debug player?
 
 If not, download and install it!
 
 If I remember correctly, installing FP11 won't change a thing.
 The Flash IDE uses a .dll (on windows) for preview/testing inside the
IDE.
 The only way to update that player dll is to actually wait for Adobe
to release an updated version.
 
 I haven't used Flash in a long time, so things may have changed, but
that's how it used to be.
 
 regards,
 Peter
 
 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] animation memory leak ... please help

2011-10-18 Thread Chris Foster
If you're already manually removing event listeners and deleting created 
objects, and you really wanna nail this and don't mind spending a few hours 
learning something new then I totally recommend the Temple Library for 
ActionScript 3 by MediaMonks

http://code.google.com/p/templelibrary/

Extend all your MovieClips from 'CoreMovieClip', utilise the 'destruct' method, 
and view/test the results in the 'Memory' class.

It's saved my bacon, hope it's useful to you too.

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of [p e r c e p t 
i c o n]
Sent: Wednesday, 19 October 2011 7:31 AM
To: Flash Coders List
Subject: Re: [Flashcoders] animation memory leak ... please help

yes, i delete it and mark it null..

thx all

On Tue, Oct 18, 2011 at 1:13 PM, Ross Sclafani ross.sclaf...@gmail.comwrote:

 Are you disposing of the image after it is offscreen? Have you run the
 profiler to see what's happening?

 Ross P. Sclafani
 Design | Technology | Creative
 347.204.5714
 http://ross.sclafani.net
 http://www.twitter.com/rosssclafani

 On Oct 18, 2011, at 4:00 PM, Adrian Zając zajac.adr...@gmail.com wrote:

  I think I had this problem once...
  How many of images do you have? Maybe it will be better to make the same
 number of movie clips, and download every jpg only once?
 
 
  Adrian
 
  W dniu 2011-10-18 20:39, [p e r c e p t i c o n] pisze:
  Hi All,
 
  I have an excrutiating memory leak.  Here's what i'm doing.
 
  first some specs:
 
  AS2, FP10+, Linux OS, ff browser
 
  I load a jpg into one of two movie clips...once a specified amount of
 time
  has expired
  i load the next image (download it using moviclip loader) and animate
 the
  visible movieclip off stage (slide it to the left or right) and at the
 same
  time i animate it
  i also fade it (mc._alpha -= mc._alpha-someAmount).
  i swap their depths and repeat this process.
 
  what i'd like to know is why after so many hours (8-24) flash starts
 slowing
  down and ultimately throws up the abort script dialog when i'm not
 really
  doing anything all that intensive..
  can someone explain how flash handles animations internally for
 example...it
  creates a copy of the image in memory..moves it then blits it the
 screen.
 
  can anyone give me some pointers as to where to begin looking for this
 leak
  or if you think this is flash player bug
 
  all advise helpful
 
  thanks
 
  percy
 
 
 
 
 
  ___
  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




-- 
  . :   .
  [ p e r c e p t i c o n ]
  . _ _ _ _ _ _ _ _ _ _  .
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] array problem,loop.plot

2011-08-22 Thread Chris Foster
Nasim,

As you already know, pre-calculating all those data points is too much work for 
Flash, and it's also way more points than any monitor can show at one time.

Why don't you try calculating only the points you need, only when you need 
them? Tell your boss that 'having an array of points' from -1 to 1 is 
the wrong solution.

A solution that will work in Flash is to start by deciding how many points you 
can reasonably plot (for example 1000), then define the 'zoom' of your graph by 
specifying the START and END values, and then plot ONLY 1000 POINTS between 
your start and end values.

Zooming in and out just means changing the START and END values. The onscreen 
display will remain the same size, but the shape of the plotted line will 
change as you zoom in and out.

Also, if you can, you should buy Keith Peter's excellent book ActionScript 3 
Animation - Making Things Move. It deals specifically with the issues you're 
experiencing.

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of nasim h
Sent: Tuesday, 23 August 2011 2:13 PM
To: Flash Coders List
Subject: Re: [Flashcoders] array problem,loop.plot

Dear Kerry
Hi
I am really apreciate u , one of my bigest problem is when i want create point 
, my boss want to have an array of point that has distance between -1 to 
1 or more than it because when the user want scale graph i should use that 
stoored point to calculate new graph , but the prolem is when i want to store 
data in array this loop take a lot of time and  flash dont do anything until 
the loop finished , and after 15 s it get me eror of time or hang the program 
and close it  
in my program i should fine soulotion to draw online point plz help me

--- On Mon, 8/22/11, Kerry Thompson al...@cyberiantiger.biz wrote:


From: Kerry Thompson al...@cyberiantiger.biz
Subject: Re: [Flashcoders] array problem,loop.plot
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Date: Monday, August 22, 2011, 3:34 PM


Sure. I knew there would be bugs in my code :-)

Actually, you have so many points, you probably don't need to use
curveTo(). lineTo() would probably work for you, and it just takes two
parameters.

Here's a class I wrote that draws something. It's probably not what
you want, but it works, at least. You can take it from here. (I
created this class in a Flex AS3 project--that's why I defined the
stage size in line 6. If you do it in Flash, you won't need that--just
set the stage size to what you want).

Cordially,

Kerry Thompson

package
{
    import flash.display.Sprite;
    import flash.display.Graphics;
    
    [SWF(width='1024',height='768',backgroundColor='#FF',frameRate='24')]
    public class GraphTst extends Sprite
    {
        private var pointX:Vector.Number; //vectors are much faster than 
arrays
        private var pointY:Vector.Number;
        private var ndx:int = 0;
        private var len:int;


        public function GraphTst()
        {
            init();
            createPoints();
            drawGraph();
        }
        
        private function init():void
        {
            // You have to create the vector in a new code line
            pointX  = new Vector.Number();
            pointY  = new Vector.Number();
        }
        
        private function createPoints():void
        {
            // first fill the vectors
            for (var i:Number= -100; i100; i++)
            {
                pointX[ndx]=i + 100;
                pointY[ndx]=5*Math.sin(20*i);
                ndx++;
            }
        }
        
        private function drawGraph():void
        {
            // prepare to draw the graph
            graphics.lineStyle(2, 0X00); //set the line to 2 pixels wide, 
black
            len = pointX.length - 1;
            
            // Now draw the graph
            graphics.moveTo(pointX[0], pointY[0]);
            for (ndx = 1; ndx len; ndx++)
            {
                //trace(ndx:  + ndx);
                graphics.lineTo(pointX[ndx], pointY[ndx]);
            }
        }
    }
}
    




On Mon, Aug 22, 2011 at 2:08 PM, nasim h iranebah...@yahoo.com wrote:
 Dear  Kerry
 I 'am really appreciate u ,but the first problem that i didnt use curve to is 
 it's parameter
 it needs 4 parameter  and i cant guess how to define curve point
 do u have any idea plz tell me

 --- On Mon, 8/22/11, Kerry Thompson al...@cyberiantiger.biz wrote:

 From: Kerry Thompson al...@cyberiantiger.biz
 Subject: Re: [Flashcoders] array problem,loop.plot
 To: Flash Coders List flashcoders@chattyfig.figleaf.com
 Date: Monday, August 22, 2011, 9:41 AM

 Gerry and Henrik have the right answer. Your computer monitor isn't
 capable of displaying 20 million points, and Flash will hang, as you
 have found out.

 This is untested e-mail AS3, but I would do it something like this:

 var pointX:Vector.Number; //vectors are much faster than arrays
 

RE: [Flashcoders] Gaia Transitions

2011-04-13 Thread Chris Foster
Hi Ryan,

Here's what you need.

Would it be OK for me to post this class on the Gaia forums? It would be
helpful to anyone else looking at the conversation we had...

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ryan P
Sent: Friday, 8 April 2011 10:50 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Gaia Transitions

Thanks dude!! I really appreciate your time on this!

On Thu, Apr 7, 2011 at 5:06 PM, Chris Foster 
cfos...@catalystinteractive.com.au wrote:

 Hi Ryan,

 I posted a reply on the Gaia forums for you at:
 http://www.gaiaflashframework.com/index.php/topic,4035.0.html

 C:

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ryan P
 Sent: Friday, 8 April 2011 8:20 AM
 To: Flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Gaia Transitions

 Hey Guys,

 Been trying to solve this for the past three days.. Need your guys pro
 help
 on this one.

 I am trying make a pretty simple transition using Gaia Framework. Here
 is
 the a test animation of the what I am trying todo:

http://www.pixeltheory.la/clients/visionsteen/motionComp/movement2.html
 The
 first to buttons only work. I want to add this animation to the nav so
 its
 all be in one place. I have my nav.as working with the buttons and
pages
 loading in, but I can seem to figure out where to hijack and release
to
 make
 this happen correctly. Steven Flash Master, tired to help me with the
 transition but I couldn't seem to get it working. Here is what he
said:

 Here is the way to do: beforeTransitionOut, your swipe will animate
in,
 releaseGaia, then afterTransitionIn it will animate out revealing the
 page
 underneath.

 I seems easy enough looking at it, but can seem to figure out where it
 goes
 in the nav.as. Here is what I have so far, most of the code so far is
 just
 for the navArray.



 

 package pages
 {
import com.gaiaframework.templates.AbstractPage;
import com.gaiaframework.events.*;
import com.gaiaframework.debug.*;
import com.gaiaframework.api.*;
import flash.display.*;
import flash.events.*;
import com.greensock.TweenMax;
import com.greensock.*;
import com.greensock.easing.*;

public class NavPage extends AbstractPage
{
public var home_btn:MovieClip;
public var topBlue:MovieClip;
public var bottomWhite:MovieClip;
public var facilities_btn:MovieClip;
public var whatWeDo_btn:MovieClip;
public var aboutUs_btn:MovieClip;
public var contactUs_btn:MovieClip;
public var backShadow1:MovieClip;
public var backShadow2:MovieClip;
public var backShadow3:MovieClip;
public var backShadow4:MovieClip;
public var navArray:Array;

public var releaseGaiaNav:Function =
 Gaia.api.afterGoto(onAfterGoto);
public var releaseGaia:Function =
 Gaia.api.afterTransitionOut(onTransitionOut, true);

public function NavPage()
{
super();
alpha = 0;

home_btn.branch = Pages.HOME;
facilities_btn.branch = Pages.FACILITIES;
whatWeDo_btn.branch = Pages.WHAT_WE_DO;
aboutUs_btn.branch = Pages.ABOUT_US;
contactUs_btn.branch = Pages.CONTACT_US;

navArray = [home_btn, facilities_btn,
 whatWeDo_btn, aboutUs_btn,
 contactUs_btn]
for each (var button:MovieClip in navArray)
{
button.buttonMode = true;
button.mouseChildren = false;

 button.addEventListener(MouseEvent.CLICK, onClick, false,0,true);
}

}

override public function transitionIn():void
{
super.transitionIn();
TweenMax.to(this, 0.3, {alpha:1,
 onComplete:transitionInComplete});
}

override public function transitionOut():void
{
super.transitionOut();
TweenMax.to(this, 0.3, {alpha:0,
 onComplete:transitionOutComplete});
for each (var button:MovieClip in navArray)
{

 button.removeEventListener(MouseEvent.CLICK, onClick);
}
}

private function onTransitionOut(e:GaiaEvent):void
{
releaseGaia();
}

private function onClick

RE: [Flashcoders] Gaia Transitions

2011-04-07 Thread Chris Foster
Hi Ryan,

I posted a reply on the Gaia forums for you at:
http://www.gaiaflashframework.com/index.php/topic,4035.0.html

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ryan P
Sent: Friday, 8 April 2011 8:20 AM
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Gaia Transitions

Hey Guys,

Been trying to solve this for the past three days.. Need your guys pro
help
on this one.

I am trying make a pretty simple transition using Gaia Framework. Here
is
the a test animation of the what I am trying todo:
http://www.pixeltheory.la/clients/visionsteen/motionComp/movement2.html
The
first to buttons only work. I want to add this animation to the nav so
its
all be in one place. I have my nav.as working with the buttons and pages
loading in, but I can seem to figure out where to hijack and release to
make
this happen correctly. Steven Flash Master, tired to help me with the
transition but I couldn't seem to get it working. Here is what he said:

Here is the way to do: beforeTransitionOut, your swipe will animate in,
releaseGaia, then afterTransitionIn it will animate out revealing the
page
underneath.

I seems easy enough looking at it, but can seem to figure out where it
goes
in the nav.as. Here is what I have so far, most of the code so far is
just
for the navArray.




package pages
{
import com.gaiaframework.templates.AbstractPage;
import com.gaiaframework.events.*;
import com.gaiaframework.debug.*;
import com.gaiaframework.api.*;
import flash.display.*;
import flash.events.*;
import com.greensock.TweenMax;
import com.greensock.*;
import com.greensock.easing.*;

public class NavPage extends AbstractPage
{   
public var home_btn:MovieClip;
public var topBlue:MovieClip;
public var bottomWhite:MovieClip;
public var facilities_btn:MovieClip;
public var whatWeDo_btn:MovieClip;
public var aboutUs_btn:MovieClip;
public var contactUs_btn:MovieClip;
public var backShadow1:MovieClip;
public var backShadow2:MovieClip;
public var backShadow3:MovieClip;
public var backShadow4:MovieClip;
public var navArray:Array;

public var releaseGaiaNav:Function =
Gaia.api.afterGoto(onAfterGoto);
public var releaseGaia:Function =
Gaia.api.afterTransitionOut(onTransitionOut, true);

public function NavPage()
{
super();
alpha = 0;

home_btn.branch = Pages.HOME;
facilities_btn.branch = Pages.FACILITIES;
whatWeDo_btn.branch = Pages.WHAT_WE_DO;
aboutUs_btn.branch = Pages.ABOUT_US;
contactUs_btn.branch = Pages.CONTACT_US;

navArray = [home_btn, facilities_btn,
whatWeDo_btn, aboutUs_btn,
contactUs_btn]
for each (var button:MovieClip in navArray)
{
button.buttonMode = true;
button.mouseChildren = false;

button.addEventListener(MouseEvent.CLICK, onClick, false,0,true);
}

}

override public function transitionIn():void
{
super.transitionIn();
TweenMax.to(this, 0.3, {alpha:1,
onComplete:transitionInComplete});
}

override public function transitionOut():void
{
super.transitionOut();
TweenMax.to(this, 0.3, {alpha:0,
onComplete:transitionOutComplete});
for each (var button:MovieClip in navArray)
{

button.removeEventListener(MouseEvent.CLICK, onClick);
}
}

private function onTransitionOut(e:GaiaEvent):void
{
releaseGaia();
}

private function onClick(e:MouseEvent):void
{
Gaia.api.goto(e.target.branch);
}

private function onAfterGoto(e:GaiaEvent):void
{
for each (var button:MovieClip in navArray)
{
if(button.branch ==
Gaia.api.getCurrentBranch())

RE: [Flashcoders] Loader Max Question

2011-03-23 Thread Chris Foster
; 

myBitmap.alpha = 0;

TweenMax.to(myBitmap,
0.5, {
delay:1, alpha:1, ease:Circ.easeInOut } );



}  

 

 

Should I be creating a movieclip in the design.fla file with a dynamic
text
field that serves as a container for the bitmap array and create a
button
array from that? If possible I'd also like to add ROLL_OVER and OUT
effects
i.e. ROLL_OVER fires the caption whose y position and alpha are then
tweened
in and are visible.ROLL_OUT = reverse and makes the caption invisible. 

 

Any help would be awesome

 

 

Many thanks

 

 

Marco Terrinoni - Director
MULARAM  PRODUCTIONS
web design // animation // illustration
uk: +44 7876 652 643
e:  mailto:ma...@mularam.com ma...@mularam.com  
w:  http://www.mularam.com/ www.mularam.com 

 

From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Chris
Foster
Sent: 21 March 2011 21:39
To: Flash Coders List
Subject: RE: [Flashcoders] Loader Max Question

 

Hi Marco,

I've always found it much easier to let the Gaia framework manage my
loading by adding items (like SWFs, images, mp3, flv etc.) as assets to
the Gaia page. It's easier because I don't have to write code to solve
the kind of problem you're asking about...

The Gaia documentation is pretty thorough about how you can use the
assets... In the case of your SWFs it looks like you'd need to create
some buttons onstage (like a menu screen) and give them each a 'click'
event handler to make the loaded SWF visible (and to hide any other
loaded SWFs that are currently visible).

Here's the docco on using assets:
http://www.gaiaflashframework.com/wiki/index.php?title=Assets#How_To_Use
_Assets

Probably the most useful and important thing to know is that once your
SWF assets are loaded, they're positioned at 0,0 and their 'visible'
property is set to false. To display them, all you need to do is set the
'visible' property to true.

And assuming that 'captions' means a single text title for each asset,
you can place this info in an attribute of the asset node in Gaia, like
this:

asset id=mySWF src=something.swf caption=Insert Caption/

...and then access this XML via E4X by using the 'node' property of the
asset, like this:

assets.mySWF.node.@caption

...and use that to populate a textfield. Keeping the caption in the XML
means you can easily change the SWF as well as the caption without
needing to recompile anything later.

Hope that helps,
C:





 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] Loader Max Question

2011-03-21 Thread Chris Foster
Hi Marco,

I've always found it much easier to let the Gaia framework manage my
loading by adding items (like SWFs, images, mp3, flv etc.) as assets to
the Gaia page. It's easier because I don't have to write code to solve
the kind of problem you're asking about...

The Gaia documentation is pretty thorough about how you can use the
assets... In the case of your SWFs it looks like you'd need to create
some buttons onstage (like a menu screen) and give them each a 'click'
event handler to make the loaded SWF visible (and to hide any other
loaded SWFs that are currently visible).

Here's the docco on using assets:
http://www.gaiaflashframework.com/wiki/index.php?title=Assets#How_To_Use
_Assets

Probably the most useful and important thing to know is that once your
SWF assets are loaded, they're positioned at 0,0 and their 'visible'
property is set to false. To display them, all you need to do is set the
'visible' property to true.

And assuming that 'captions' means a single text title for each asset,
you can place this info in an attribute of the asset node in Gaia, like
this:

asset id=mySWF src=something.swf caption=Insert Caption/

...and then access this XML via E4X by using the 'node' property of the
asset, like this:

assets.mySWF.node.@caption

...and use that to populate a textfield. Keeping the caption in the XML
means you can easily change the SWF as well as the caption without
needing to recompile anything later.

Hope that helps,
C:




-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Marco
Terrinoni
Sent: Tuesday, 22 March 2011 8:14 AM
To: 'Flash Coders List'
Subject: [Flashcoders] Loader Max Question

Hi all

 

I am using Loadermax to load an array of swf files into a Gaia project
file,
this all works fine but I would like to know how I would go about
creating a
link for each swf file and adding other information externally such as
captions? Here is my code

 

 

//create an array of image file names

var urls:Array =
[brakes.swf,

 
hp_xmas.swf,

 
drambuie.swf,

 
ftfe.swf,

 
hillbillyAnim.swf

 
];

 


 




//create the LoaderMax
queue
into which we'll put the ImageLoaders

_queue = new
LoaderMax({name:childQueue, requireWithRoot:this.root,
maxConnections:1,
onChildComplete:_childCompleteHandler});



//loop through the file
names, create an SWFLoader and place it on the stage using special
properties like x, y, width, height, etc. The images will also be scaled
to
fit within the width/height defined.

for (var i:int = 0; i 
urls.length; i++) {

 
_queue.append( new SWFLoader(urls[i], {

 
container:this,

 
x:(i % 4) * 240, 

 
y:int(i / 4) * 180 + 60, 

 
width:220, 

 
height:160, 

 
bgColor:0x141414}) );

}







//prepend all of the
urls in
the LoaderMax instance with assets/swf

 
_queue.prependURLs(assets/swf/);



//start loading

_queue.load();

}



// EVENT HANDLERS




function
_childCompleteHandler(event:LoaderEvent):void {

 
TweenMax.to(event.target,
0.5, {delay:1, ease:Circ.easeInOut});

trace(loaded +
event.target);

}

 

 

 

Many thanks in advance!

 

 

Marco Terrinoni - Director
MULARAM  PRODUCTIONS
web design // animation // illustration
uk: +44 7876 652 643
e:  mailto:ma...@mularam.com ma...@mularam.com  
w:  http://www.mularam.com/ www.mularam.com 

 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

___

RE: [Flashcoders] FDT, version control and project files

2011-03-14 Thread Chris Foster
I work with a team of 3 developers and 4 designers. The developers all
use the FDT Eclipse plugin version, and we use Subclipse to manage our
Subversion repos.

We never commit our project files (mainly to stop noobs from
accidentally changing project settings unintentionally) and all our
compilation and deployment is done from ANT scripts.

The designers usually install Tortoise SVN client and (usually after a
few mistakes) are competent enough to leave on their own.

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Alias
Cummins
Sent: Friday, 11 March 2011 11:03 PM
To: Flash Coders List
Subject: [Flashcoders] FDT, version control and project files

Hey guys,

Been a while since I posted here. I'm going to assume that you are all
still
alive and that not everyone has quit coding with actionscript and
started
using HTML5 for your website banner builds just yet...

Anyway, I have a question about FDT and version control:

What are people doing regarding working with teams of developers and
using
SVN in FDT?

The new version of FDT has now removed its out of the box for
subversive,
which, although it has (many many) faults, is pretty much the best of a
bad
bunch when it comes to IDE integrated SVN.

Anyway, I was wondering whether people have any thoughts on the
(related)
issue of working in teams and controlling your projects. Do you ignore
the
project files completely and let each developer do what he or she likes
with
them? Do you agree on a standard configuration? Or do you add your
project
files to svn and check out an FDT project via the import... project
from
SVN route?

This third approach is what I usually do, and it's great for teams of
developers about 99% of the time. However, that 1% of times when you
have a
version control problem, it's REALLY a problem. Your entire team grinds
to a
halt, you can't commit, everything goes basically pear shaped.

Anyway, I was wondering is anyone has come up with a better solution
than
just using a seperate SVN client and manually managing all their files.
Subversive has some very useful features and it's really nice once you
get
used to it. And I'm used to it. I guess I'm just set in my ways.

Thanks in advance
Alias
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


[Flashcoders] IE not releasing memory after unloading Flash object

2011-03-03 Thread Chris Foster
Hi list,

I'm using SWFObject 2.2 (dynamic embed) to display my Flash content. In
IE7 on WinXP the Windows Task Manager shows that the 'iexplore' process
isn't releasing memory after the window containing my Flash is closed.

I've tried explicitly calling SWFObject's 'cleanupSWFs' and 'removeSWF'
methods in the 'onbeforeunload' event of my HTML page, but with no
change in the result.

Is it correct to assume that (regardless of Flash memory management and
garbage collection issues) closing the browser window should remove the
Flash Player from the IE DOM and release the memory it was using?

Any advice appreciated,
C:
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] IE not releasing memory after unloading Flash object

2011-03-03 Thread Chris Foster
I *think* my listeners are all under control Karl - but I'm still
interested in whether my assumption is correct or not - does closing the
browser window 
Completely remove the Flash Player instance from the IE DOM and release
the memory it was using? (not Flash memory, but memory used by IE, as
visible in the Task Manager)

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Friday, 4 March 2011 9:53 AM
To: Flash Coders List
Subject: Re: [Flashcoders] IE not releasing memory after unloading Flash
object

Hi Chris,
Do you have any listeners that look for the system? IE: system  
capabilities, monitor size, mouse position, etc, or just listeners in  
general.
Try removing the listeners before garbage collection and unload.

HTH,
Karl


On Mar 3, 2011, at 4:45 PM, Chris Foster wrote:

 Hi list,

 I'm using SWFObject 2.2 (dynamic embed) to display my Flash  
 content. In
 IE7 on WinXP the Windows Task Manager shows that the 'iexplore'  
 process
 isn't releasing memory after the window containing my Flash is closed.

 I've tried explicitly calling SWFObject's 'cleanupSWFs' and  
 'removeSWF'
 methods in the 'onbeforeunload' event of my HTML page, but with no
 change in the result.

 Is it correct to assume that (regardless of Flash memory management  
 and
 garbage collection issues) closing the browser window should remove  
 the
 Flash Player from the IE DOM and release the memory it was using?

 Any advice appreciated,
 C:
 This e-mail, including any attached files, may contain confidential  
 and privileged information for the sole use of the intended  
 recipient.  Any review, use, distribution, or disclosure by others  
 is strictly prohibited.  If you are not the intended recipient (or  
 authorized to receive information for the intended recipient),  
 please contact the sender by reply e-mail and delete all copies of  
 this message.

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

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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

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


RE: [Flashcoders] IE not releasing memory after unloading Flash object

2011-03-03 Thread Chris Foster
Yeah, the SWF is definitely not caching...

But I've also found something that does seem to work... instead of
calling window.close(), calling window.location.refresh() clears the
previously consumed memory. It's only a hack at the moment, but it seems
repeatable, so if needs be I can work this into a solution.

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Friday, 4 March 2011 12:08 PM
To: Flash Coders List
Subject: Re: [Flashcoders] IE not releasing memory after unloading Flash
object

One last thought, have you tried a no-cache on your swf?

Best,
Karl

On Mar 3, 2011, at 6:07 PM, Karl DeSaulniers wrote:

 My *guess* is it does not release until you
 1. close IE all together,
 or
 2. Pull up the same file name and it not be the exact same file,
 IE:edits were made to the file.  Pulled new from the server.
 or
 3. have more time go before letting the page change or window close.
 (Not the best recommendation)

 It eventually will catch up and it will clear, but garbage  
 collection as a whole is an unpredictable beast.
 I have always had a problem with IE caching my SWFs and almost  
 fighting to let them go.
 Does this same behavior happen for you in other browsers? Or just IE?
 Have you looked into a Javascript DOM garbage collection?
 Maybe do garbage collection on the swf, the swfObject and the DOM?
 Sorry not much more help.

 Best,
 Karl

 On Mar 3, 2011, at 5:23 PM, Chris Foster wrote:

 I *think* my listeners are all under control Karl - but I'm still
 interested in whether my assumption is correct or not - does  
 closing the
 browser window
 Completely remove the Flash Player instance from the IE DOM and  
 release
 the memory it was using? (not Flash memory, but memory used by IE, as
 visible in the Task Manager)

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
 DeSaulniers
 Sent: Friday, 4 March 2011 9:53 AM
 To: Flash Coders List
 Subject: Re: [Flashcoders] IE not releasing memory after unloading  
 Flash
 object

 Hi Chris,
 Do you have any listeners that look for the system? IE: system
 capabilities, monitor size, mouse position, etc, or just listeners in
 general.
 Try removing the listeners before garbage collection and unload.

 HTH,
 Karl


 On Mar 3, 2011, at 4:45 PM, Chris Foster wrote:

 Hi list,

 I'm using SWFObject 2.2 (dynamic embed) to display my Flash
 content. In
 IE7 on WinXP the Windows Task Manager shows that the 'iexplore'
 process
 isn't releasing memory after the window containing my Flash is  
 closed.

 I've tried explicitly calling SWFObject's 'cleanupSWFs' and
 'removeSWF'
 methods in the 'onbeforeunload' event of my HTML page, but with no
 change in the result.

 Is it correct to assume that (regardless of Flash memory management
 and
 garbage collection issues) closing the browser window should remove
 the
 Flash Player from the IE DOM and release the memory it was using?

 Any advice appreciated,
 C:
 This e-mail, including any attached files, may contain confidential
 and privileged information for the sole use of the intended
 recipient.  Any review, use, distribution, or disclosure by others
 is strictly prohibited.  If you are not the intended recipient (or
 authorized to receive information for the intended recipient),
 please contact the sender by reply e-mail and delete all copies of
 this message.

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

 Karl DeSaulniers
 Design Drumm
 http://designdrumm.com

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

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

 Karl DeSaulniers
 Design Drumm
 http://designdrumm.com

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

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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

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


RE: [Flashcoders] Flash CS5 - Component Live Preview Disapearing

2011-02-28 Thread Chris Foster
Hi Karim,

This might happen if your Live Preview is linked to an external SWF,
rather than embedded in your component (see your Component Definition
dialog box).

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karim
Beyrouti
Sent: Tuesday, 1 March 2011 3:42 AM
To: Flash Coders List
Subject: [Flashcoders] Flash CS5 - Component Live Preview Disapearing

Hello live...

I am currently developing a component for Flash CS5 (AS3), I have
stumbled on an issue where the live preview disappears leaving a blank
space where the component should be. This only happens when the
component is turned into a complied clip. 

It's there but not visible, which obviously would not be a good thing
for the designers. 

Has anyone found any solutions for this issue ? 

Thanks


Karim 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] Subtle XML/Font loading/CSS issue, limited test capabilities - looking for suggestions

2011-01-15 Thread Chris Foster
Thanks Karl, appreciate the help. I'll reply with my solution as soon as
it works!

Cheers,
C

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Friday, 14 January 2011 9:58 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Subtle XML/Font loading/CSS issue,limited
test capabilities - looking for suggestions

Oh and one last thing, keep your fonts folder inside your css  
folder.. well thats what worked best for me anyways.
Something about relative paths and php email blasts led me to this,
it wouldn't embed if it had to go outside of the css folder to find  
the font.
But if it was inside where the css lived, the email server allowed it  
with a spam setting of Same Domain or Allow Same Domain, one of  
the two.
Can't remember off the top.

GL,

Karl


On Jan 13, 2011, at 7:42 PM, Chris Foster wrote:

 No, thanks Karl, I haven't tried that...

 C:

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
 DeSaulniers
 Sent: Friday, 14 January 2011 11:37 AM
 To: Flash Coders List
 Cc: Flash Coders List
 Subject: Re: [Flashcoders] Subtle XML/Font loading/CSS issue,limited
 test capabilities - looking for suggestions

 have you tried embedding your fonts in your css?

 this might help in that.
 http://fontsquirrel.com/fontface/generator

 I use the bulletproof(smiley)

 Best,
 Karl

 Sent from my iPhone

 On Jan 13, 2011, at 6:07 PM, Chris Foster
 cfos...@catalystinteractive.com.au
 wrote:

 Folks,

 I'm currently working on a large eLearning project... hundreds of
 static
 (ugh!) screens. We're using the Gaia framework with great success.

 I've built a CS4 text display component that our designers use (uses
 component parameters pointing to external XML, CSS and font files,
 displays styled HTML text in the Flash IDE and at runtime). It lets
 them
 lay out screens without needing to create or style the text (we use
 HTML-monkeys to build the external XML files holding the text).

 Recently a small number of users began reporting an issue that we
 can't
 replicate in-house... The runtime text isn't appearing. I can't
 replicate the issue yet.

 Our content is usually deployed via a 3rd party hosted LMS to  
 users on
 our corporate network, but the recent issue has surfaced with users
 who
 aren't on our corporate network.

 Things I've tried (without success) to replicate the issue:
 - Matching users' OS and browser (Win7 and IE8)
 - Trying other OS and browser combinations (XP, Vista, Firefox, IE7)
 - Testing from inside our corporate network
 - Using a 3G USB modem to get 'outside our network' and then access
 the
 LMS
 - Using 'Charles' to throttle the connection speed down to ridiculous
 levels
 - Viewing the log in 'Charles' for anything unusual

 The SWFObject embed statement is specifying Flash Player 10.0.32.18

 If you've got any suggestions about the possible source of the
 issue, or
 other steps you've found useful in isolating and replicating a tricky
 issue I'd love to hear them.

 Thanks,
 Chris
 This e-mail, including any attached files, may contain confidential
 and privileged information for the sole use of the intended
 recipient.  Any review, use, distribution, or disclosure by others
 is strictly prohibited.  If you are not the intended recipient (or
 authorized to receive information for the intended recipient),
 please contact the sender by reply e-mail and delete all copies of
 this message.

 ___
 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

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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

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


[Flashcoders] Subtle XML/Font loading/CSS issue, limited test capabilities - looking for suggestions

2011-01-13 Thread Chris Foster
Folks,

I'm currently working on a large eLearning project... hundreds of static
(ugh!) screens. We're using the Gaia framework with great success.

I've built a CS4 text display component that our designers use (uses
component parameters pointing to external XML, CSS and font files,
displays styled HTML text in the Flash IDE and at runtime). It lets them
lay out screens without needing to create or style the text (we use
HTML-monkeys to build the external XML files holding the text).

Recently a small number of users began reporting an issue that we can't
replicate in-house... The runtime text isn't appearing. I can't
replicate the issue yet.

Our content is usually deployed via a 3rd party hosted LMS to users on
our corporate network, but the recent issue has surfaced with users who
aren't on our corporate network.

Things I've tried (without success) to replicate the issue:
- Matching users' OS and browser (Win7 and IE8)
- Trying other OS and browser combinations (XP, Vista, Firefox, IE7)
- Testing from inside our corporate network
- Using a 3G USB modem to get 'outside our network' and then access the
LMS
- Using 'Charles' to throttle the connection speed down to ridiculous
levels
- Viewing the log in 'Charles' for anything unusual

The SWFObject embed statement is specifying Flash Player 10.0.32.18

If you've got any suggestions about the possible source of the issue, or
other steps you've found useful in isolating and replicating a tricky
issue I'd love to hear them.

Thanks,
Chris
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] Subtle XML/Font loading/CSS issue, limited test capabilities - looking for suggestions

2011-01-13 Thread Chris Foster
No, thanks Karl, I haven't tried that...

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Friday, 14 January 2011 11:37 AM
To: Flash Coders List
Cc: Flash Coders List
Subject: Re: [Flashcoders] Subtle XML/Font loading/CSS issue,limited
test capabilities - looking for suggestions

have you tried embedding your fonts in your css?

this might help in that.
http://fontsquirrel.com/fontface/generator

I use the bulletproof(smiley)

Best,
Karl

Sent from my iPhone

On Jan 13, 2011, at 6:07 PM, Chris Foster
cfos...@catalystinteractive.com.au 
  wrote:

 Folks,

 I'm currently working on a large eLearning project... hundreds of  
 static
 (ugh!) screens. We're using the Gaia framework with great success.

 I've built a CS4 text display component that our designers use (uses
 component parameters pointing to external XML, CSS and font files,
 displays styled HTML text in the Flash IDE and at runtime). It lets  
 them
 lay out screens without needing to create or style the text (we use
 HTML-monkeys to build the external XML files holding the text).

 Recently a small number of users began reporting an issue that we  
 can't
 replicate in-house... The runtime text isn't appearing. I can't
 replicate the issue yet.

 Our content is usually deployed via a 3rd party hosted LMS to users on
 our corporate network, but the recent issue has surfaced with users  
 who
 aren't on our corporate network.

 Things I've tried (without success) to replicate the issue:
 - Matching users' OS and browser (Win7 and IE8)
 - Trying other OS and browser combinations (XP, Vista, Firefox, IE7)
 - Testing from inside our corporate network
 - Using a 3G USB modem to get 'outside our network' and then access  
 the
 LMS
 - Using 'Charles' to throttle the connection speed down to ridiculous
 levels
 - Viewing the log in 'Charles' for anything unusual

 The SWFObject embed statement is specifying Flash Player 10.0.32.18

 If you've got any suggestions about the possible source of the  
 issue, or
 other steps you've found useful in isolating and replicating a tricky
 issue I'd love to hear them.

 Thanks,
 Chris
 This e-mail, including any attached files, may contain confidential  
 and privileged information for the sole use of the intended  
 recipient.  Any review, use, distribution, or disclosure by others  
 is strictly prohibited.  If you are not the intended recipient (or  
 authorized to receive information for the intended recipient),  
 please contact the sender by reply e-mail and delete all copies of  
 this message.

 ___
 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] Advice on calling subscriber script on another server

2010-11-25 Thread Chris Foster
Hi Paul,

Are you relying on the other server to return information for you to use
in your game? Or are you simply required to send new subscriber
information to the distant server?

C:



-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul
Steven
Sent: Friday, 26 November 2010 5:37 AM
To: 'Flash Coders List'
Subject: [Flashcoders] Advice on calling subscriber script on another
server

My flash game needs to call a script on another server to update a
subscriber list with a name and and email address. I thought all was
working
fine while testing from the IDE but have just realised it doesn't work
when
testing in a browser.

I realise this is probably something that requires a crossdomain.xml
file on
the other server but this is not possible. I therefore seek advice on if
there is any other solution to call a script and pass parameters to a
script
on another server. The script I am calling is a ashx file which I
believe is
asp. 

Any help really appreciated

Thanks

Paul

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] Advice on calling subscriber script on another server

2010-11-25 Thread Chris Foster
Thanks Paul,

I assume by 'client' you mean your Flash game, right?

If that's so then I think you have a crossdomain issue, but a workaround
'may' be to still use your containing HTML page to send and verify the
data, and only use your SWF to trigger the submission of the form using
the ExternalInterface class.

It might be more than you can achieve given your tight deadline, but
it's another option...

Does that make sense?

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul
Steven
Sent: Friday, 26 November 2010 7:57 AM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on calling subscriber script onanother
server

Hi Chris

I simply need to send the new subscriber information to the distant
server

I was given an html form by my client that had to be converted to Flash
for
the game. The form has 2 hidden variables and then 3 other variables,
name,
email and telephone. The flash form submitted the data to the script on
the
remote server (signup.ashx) fine when running from the IDE as the client
was
able to confirm the data was added but due to the security restrictions
of
flash it doesn't work from in the browser as my game is on one domain
and
the script on another. 

Any advice appreciated

Thanks

Paul




-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Chris
Foster
Sent: 25 November 2010 20:51
To: Flash Coders List
Subject: RE: [Flashcoders] Advice on calling subscriber script on
another
server

Hi Paul,

Are you relying on the other server to return information for you to use
in your game? Or are you simply required to send new subscriber
information to the distant server?

C:



-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul
Steven
Sent: Friday, 26 November 2010 5:37 AM
To: 'Flash Coders List'
Subject: [Flashcoders] Advice on calling subscriber script on another
server

My flash game needs to call a script on another server to update a
subscriber list with a name and and email address. I thought all was
working
fine while testing from the IDE but have just realised it doesn't work
when
testing in a browser.

I realise this is probably something that requires a crossdomain.xml
file on
the other server but this is not possible. I therefore seek advice on if
there is any other solution to call a script and pass parameters to a
script
on another server. The script I am calling is a ashx file which I
believe is
asp. 

Any help really appreciated

Thanks

Paul

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and
privileged information for the sole use of the intended recipient.  Any
review, use, distribution, or disclosure by others is strictly
prohibited.
If you are not the intended recipient (or authorized to receive
information
for the intended recipient), please contact the sender by reply e-mail
and
delete all copies of this message.

___
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] Advice on calling subscriber script on anotherserver

2010-11-25 Thread Chris Foster
No problem Paul,

As a rough guide, I'm suggesting that the form data submission is
handled by a javascript function in your containing HTML page.

Your SWF would then use the ExternalInterface class to call that
function directly (and pass arguments if you need to), rather than the
SWF sending the form data itself.

That way the SWF never needs to look outside its domain, and the data
can still be sent.

C:


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul
Steven
Sent: Friday, 26 November 2010 8:27 AM
To: Flash Coders List
Cc: Flash Coders List
Subject: Re: [Flashcoders] Advice on calling subscriber script on
anotherserver

Thanks Chris 
I have never used externalinterface before but will google it now and
give it  a go. 
Thank you for your help - it is really appreciated. 
Thanks
Paul



On 25 Nov 2010, at 21:09, Chris Foster
cfos...@catalystinteractive.com.au wrote:

 Thanks Paul,
 
 I assume by 'client' you mean your Flash game, right?
 
 If that's so then I think you have a crossdomain issue, but a
workaround
 'may' be to still use your containing HTML page to send and verify the
 data, and only use your SWF to trigger the submission of the form
using
 the ExternalInterface class.
 
 It might be more than you can achieve given your tight deadline, but
 it's another option...
 
 Does that make sense?
 
 C:
 
 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul
 Steven
 Sent: Friday, 26 November 2010 7:57 AM
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on calling subscriber script
onanother
 server
 
 Hi Chris
 
 I simply need to send the new subscriber information to the distant
 server
 
 I was given an html form by my client that had to be converted to
Flash
 for
 the game. The form has 2 hidden variables and then 3 other variables,
 name,
 email and telephone. The flash form submitted the data to the script
on
 the
 remote server (signup.ashx) fine when running from the IDE as the
client
 was
 able to confirm the data was added but due to the security
restrictions
 of
 flash it doesn't work from in the browser as my game is on one domain
 and
 the script on another. 
 
 Any advice appreciated
 
 Thanks
 
 Paul
 
 
 
 
 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Chris
 Foster
 Sent: 25 November 2010 20:51
 To: Flash Coders List
 Subject: RE: [Flashcoders] Advice on calling subscriber script on
 another
 server
 
 Hi Paul,
 
 Are you relying on the other server to return information for you to
use
 in your game? Or are you simply required to send new subscriber
 information to the distant server?
 
 C:
 
 
 
 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul
 Steven
 Sent: Friday, 26 November 2010 5:37 AM
 To: 'Flash Coders List'
 Subject: [Flashcoders] Advice on calling subscriber script on another
 server
 
 My flash game needs to call a script on another server to update a
 subscriber list with a name and and email address. I thought all was
 working
 fine while testing from the IDE but have just realised it doesn't work
 when
 testing in a browser.
 
 I realise this is probably something that requires a crossdomain.xml
 file on
 the other server but this is not possible. I therefore seek advice on
if
 there is any other solution to call a script and pass parameters to a
 script
 on another server. The script I am calling is a ashx file which I
 believe is
 asp. 
 
 Any help really appreciated
 
 Thanks
 
 Paul
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 This e-mail, including any attached files, may contain confidential
and
 privileged information for the sole use of the intended recipient.
Any
 review, use, distribution, or disclosure by others is strictly
 prohibited.
 If you are not the intended recipient (or authorized to receive
 information
 for the intended recipient), please contact the sender by reply e-mail
 and
 delete all copies of this message.
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http

RE: [Flashcoders] Using an embedded font

2010-09-22 Thread Chris Foster
Hi Kerry,

I think this is one that gave me headaches a while ago...

My solution was to apply the textFormat AFTER the text has been applied
to the textField.

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry
Thompson
Sent: Thursday, 23 September 2010 11:05 AM
To: Flash Coders List
Subject: [Flashcoders] Using an embedded font

I've been banging my head up against this for 4 hours, and the client
has to ship tonight.

FlashBuilder 4, Windows 7.

I am just trying to make a little demo of how to embed a font, but
when I pull together code that has worked before into one simple
class, it doesn't show the text. It draws the outline of the text
field, but there is no text. When I comment out one line,
textField.embedFonts = true, it works, but not with the embedded font.

I've tried different fonts, and can't get any of them to work. Can
somebody spot what I'm doing wrong?

Cordially,
Kerry Thompson

public class FontEmbedding extends Sprite
{
public function FontEmbedding()
{
showText();
}

/**
 * Embeds the  Garamond 3 font
 */ 
[Embed(
source='../fonts/GaramThrSC.ttf',
fontName='Garamond3'
)]

private static var Garamond3Embedded: Class;

private function showText():void
{
var textFormat:TextFormat;
var textField:TextField;
registerFonts();

textFormat = new TextFormat();
textFormat.color = 0x00;
textFormat.font = Garamond3Embedded;
textFormat.align = left;

textField = new TextField();
textField.defaultTextFormat = textFormat;
textField.border = (true);

textField.embedFonts = true;

textField.text = Hello Autovod!;

textField.width = 100;
textField.height = 30;

addChild(textField);
textField.x = 100;
textField.y = 60;
}

public static function registerFonts(): void
{
Font.registerFont(Garamond3Embedded);
}
}
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] Isometric Graphics Libraries

2010-09-08 Thread Chris Foster
Assuming that you're after AS3 libraries, go here:
http://fluxdb.fluxusproject.org/

and type 'Isometric' into the 'Search' box in the top-right corner. 

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Tom
Gooding
Sent: Thursday, 9 September 2010 12:43 AM
To: Flash Coders List
Subject: [Flashcoders] Isometric Graphics Libraries

Hi - is anyone aware of any pre-existing free or commercial isometric
graphic libraries - for characters and props?

 




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


[Flashcoders] AS3 library management tool

2010-07-08 Thread Chris Foster
A friend of mine has started building a Flex and Actionscript
library/package management repository (think RubyGems or Per CPAN).

The first part (a database of AS3 libraries) is already built
(http://fluxdb.fluxusproject.org/). Next will be a command line
interface to the database, followed by a GUI to download, manage and
update your local version.

If you're on GitHub you can 'watch' it at
http://github.com/jasonm23/Fluxus/

And if you have time and skills, the project would love some help from
the community.

Chris
www.flashgrind.com
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


[Flashcoders] Loading external fonts into a CS4 Component LivePreview

2010-06-24 Thread Chris Foster
I've made a TextArea-style component that connects to external text
(HTML CDATA tags in XML), external CSS, and external fonts (load a SWF,
register the contained fonts). It displays the loaded, styled text in
the IDE and at runtime, but unless I explicitly embed the fonts in the
component LivePreview FLA library I don't get good anti-aliasing in the
IDE. I'd prefer not to do this because I'd need to publish a separate
LivePreview SWF for every different project.
 
Has anyone here dynamically loaded external fonts into an AS3 component
LivePreview?
 
Alternatively, how can I force the draw() method of the LivePreview to
respond to IDE events? (this would help me with finding alternatives)
 
Thanks in advance for ANY suggestions! :)
 
 

Chris Foster
Multimedia Team Leader
cfos...@catalystinteractive.com.au
Phone: +612 6233 8900 - Fax: +612 6233 8947 - Mobile: +61 414 394 524

Catalyst Interactive Pty Ltd
www.catalystinteractive.com.au 
Level 4, 11 Lancaster Place, Majura Park, Canberra, ACT
PO Box 5418, Kingston 2604

a KBR company

---

IMPORTANT: The Information contained in this electronic message is
confidential and intended only for the named recipient(s). Any review,
re-transmission, disclosure, dissemination or other use of, or taking of
any action in reliance upon, this information by persons or entities
other than the intended recipient is prohibited.

 

This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] RIA Secure Coding

2010-06-02 Thread Chris Foster
A while ago Hewlett-Packard released a tool (custom decompiler) for
'exposing Flash Application vulnerabilities'.

It might make an easy starting point for further investigation.

http://www.communities.hp.com/securitysoftware/blogs/spilabs/archive/200
9/03/20/exposing-flash-application-vulnerabilities-with-swfscan.aspx


C: 

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Boerner,
Brian J
Sent: Thursday, 3 June 2010 6:55 AM
To: Flash Coders List
Subject: [Flashcoders] RIA Secure Coding

This one is for all the RIA developers on the list. I haven't really
seen secure coding widely addressed here but was hoping someone had
knowledge that could get me started. 

I'm leading effort to develop flash coding standards in corporate
environment so there are fewer (or no) security risks and so there's a
knowledge base of what to look for. I gather that this is not an
exciting topic for FC but I have to do a thorough job documenting
vulnerabilities, best practices, common pitfalls. 

I'm hoping someone here has had to wrestle with security for financial
app or hotel booking...  I understand that the player itself is the main
concern but I don't know how it can be hacked... I don't even want to
google 'hacking flash' for fear an adobe goon will hunt me down (and
take my iPod touch).

Any of you familiar with OWASP? I have to write a report based on these
top ten vulnerabilities (link). 

I can see the value but it hurts my web designer brain :^)
http://www.owasp.org/index.php/Category:OWASP_Top_Ten_Project





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] changing url without reloading page/swf in as2.0

2010-04-07 Thread Chris Foster
http://www.asual.com/swfaddress/

http://www.padizine.com/blog/swfaddress-tutorial-for-actionscript-2-0/

C: 

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Amol
Sent: Thursday, 8 April 2010 3:33 PM
To: Flash Coders List
Subject: [Flashcoders] changing url without reloading page/swf in as2.0

Hi list

I've seen a site a while back that as you went through it, it would
change the url without reloading the page/swf. I want to know how do i
build a Flash navigation  as the movie plays or if click on buttons have
it change the url and the html text but leave the swf playing?
I am using flash action script 2.0

thanks

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


[Flashcoders] Transition from AS2 to AS3... with minimum pain

2010-03-31 Thread Chris Foster
FWIW, I made the transition to AS3 about a year ago (eLearning lags a
little behind the rest of the commercial world).

Here's what made my journey easy...

1) Use the GAIA framework as a starting point for all my projects.
2) Watched Colin Moock's 'Lost Actionscript Weekend' DVDs
3) Purchased 'Essential Actionscript 3'
4) No practice runs, just started building projects with the new tools

GAIA reduced the amount of 'housekeeping programming' significantly. No
need to write loaders, preloaders, asset management, plus excellent site
creation utility (scaffolding) and a solid user community.

The 'Lost Actionscript Weekend' videos mirror the Essential
Actionscript 3' book structure. I found the book too heavy to sit
through, but the videos brought it to life for me (and made the book
more useful as a 'more information' tool).

Just biting the bullet and using these tools immediately on commercial
work was MUCH less headache than I'd anticipated. The problems I needed
to solve were about the work at hand, and not about chasing down
housekeeping bugs.

Next on the horizon is RobotLegs - it seems to be gaining traction, and
appears to play nice with GAIA.

Anyone else shared this path? Or have an alternative to offer?

C:


 

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Thursday, 1 April 2010 11:50 AM
To: Flash Coders List
Subject: Re: [Flashcoders] What good is a Controller?

I agree Taka. I need to kick it into hight gear is the consensus I am
hearing.
So I am on it. I don't think it will be as painful as I was thinking,
but we'll see what my learning curve is.
I must admit (at the risk of brown nosing) I have enjoyed reading all of
the posts on this list about AS3.
It has helped and I am not even doing AS3 yet. There are a lot of
professionals on this list.
People who really know their stuff. I feel lucky to have found it.  
And Dave rocks..

My hat is off to all of you and my thanks for tolerating my dinosaur
ass... :))


Karl

On Mar 31, 2010, at 7:39 PM, Taka Kojima wrote:

 Hey, if you're doing well with AS2, there's nothing wrong with that.
 It's not going away for a long time.

Jason is right, and to his point:

The interactive industry is probably one of the the fastest changing
industries in the world. If you aren't willing to change (and I am not
saying you are not willing Karl), pick a different career.

As web developers, competence, being able to quickly learn and pick up
on new technologies, etc. go hand in hand with being good at what we do.

Sure
that could be said for any field of work, but I think it's extremely
relevant for this field.

AS2 will be completely dead and irrelevant in 3 years, in 10 years from
now Flash Player will probably not even support AS 2 content, if Flash
Player itself is still relevant then. Talking about the web's future 10
years from now is generally not a good idea, so I am not going to go
down that path.


On Wed, Mar 31, 2010 at 5:27 PM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:

 Hey Karl - a few more things - check out the Migration Cheat Sheet for
 AS3 here:

 http://actionscriptcheatsheet.com/blog/quick-referencecheatsheet-
 for-act
 ionscript-20/
 (Some of the other cheat sheets will be useful too.)

 Read through that and you'll start to get comfortable with the 
 changes.
 It can seem painful at first, but start slow - for example, create a 
 test project where you use AS3 to insert a Textfield on the screen and

 set a value on it - then create a button that removes it or something.
 Pretty soon you'll be off and running - and we'll be here to help.




 Jason Merrill

 Bank of  America  Global Learning
 Learning  Performance Solutions

 Join the Bank of America Flash Platform Community  and visit our 
 Instructional Technology Design Blog
 (note: these are for Bank of America employees only)






 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl 
 DeSaulniers
 Sent: Wednesday, March 31, 2010 6:08 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] What good is a Controller?

 I tend to agree with Jason here, I am a freelancer and I have missed 
 out on a lot of jobs because I am not an AS3 developer.
 Your probably right on the ease of use and the functionality of AS3 
 being better, otherwise what would be the use of creating AS3.

 Again, thanks for all your comments.
 I am going to try to migrate as soon as I can.
 I know its just an amount of getting into it and getting it done.

 Best Regards,

 Karl DeSaulniers



 On Mar 31, 2010, at 5:01 PM, Merrill, Jason wrote:

 Hey, if you're doing well with AS2, there's nothing wrong with that.
 It's not going away for a long time.

 I disagree with that - what happens when you lose your job and have to

 put your resume out there?  And IMO, it's nearly almost gone away 
 anyway. 

RE: [Flashcoders] Re: Pop up window locally

2010-03-03 Thread Chris Foster
Don't call the 'window.open' method from Flash, write a function in the
HTML page and call that function from Flash.

Here's an example of the function on the HTML page:

loadPopup = function(pageName, width, height) {
var newPopupWindow;
var left   = screen.width/4;
var top= screen.height/4;
var props =
width=+width+,height=+height+,top=+top+,left=+left+,resizable=n
o,status=no,toolbar=no,menubar=no,location=no;
newPopupWindow = window.open(pageName, content1,
props);
} 


...and from AS3 you would call:
ExternalInterface.call(loadPopup(' + myURLStringHere + ', 740,
560));



-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Fahim
Akhter
Sent: Thursday, 4 March 2010 5:58 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Re: Pop up window locally

Test on different version of IE too, sometimes older version of IE prove
to be a bitch.

regards,
Fahim Akhter
http://www.behance.net/fahimakhter http://twitter.com/fahimakhter


On Wed, Mar 3, 2010 at 11:40 PM, natalia Vikhtinskaya
natavi.m...@gmail.com
 wrote:

  Mozilla opens pop up correctly. This strange thing happened only on 
 IE

 2010/3/3 natalia Vikhtinskaya natavi.m...@gmail.com:
  I test it from html
  script language=javascript
 if (AC_FL_RunContent == 0) {
 alert(This page requires AC_RunActiveContent.js.);
 } else {
 AC_FL_RunContent(
 'codebase', '
 http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
 rsion=9,0,0,0
 ',
 'width', '550',
 'height', '400',
 'src', 'test',
 'quality', 'high',
 'pluginspage', '
 http://www.macromedia.com/go/getflashplayer',
 'align', 'middle',
 'play', 'true',
 'loop', 'true',
 'scale', 'showall',
 'wmode', 'window',
 'devicefont', 'false',
 'id', 'test',
 'bgcolor', '#ff',
 'name', 'test',
 'menu', 'true',
 'allowFullScreen', 'false',
 'allowScriptAccess','always',
 'movie', 'test',
 'salign', ''
 ); //end AC code
 }
  /script
 
  2010/3/3 Nathan Mynarcik nat...@mynarcik.com:
  When you test locally, are you testing your swf embedded in an HTML
 file? Or are you testing it from when Flash shows you the published
swf?
 
 
  --Original Message--
  From: natalia Vikhtinskaya
  Sender: flashcoders-boun...@chattyfig.figleaf.com
  To: Flash Coders List
  ReplyTo: Flash Coders List
  Subject: [Flashcoders] Re: Pop up window locally
  Sent: Mar 3, 2010 11:58 AM
 
  But if locally I test script like
  getURL (javascript:NewWindow=window.open('
 http://www.somename.com/key16.html
 ','newWin','width=400,height=300,left=0,top=0,toolbar=No,location=No,s
 crollbars=No,status=No,resizable=No,fullscreen=No');void(0););
  this script  works in IE and opens pop up window
 
 
  2010/3/3 natalia Vikhtinskaya natavi.m...@gmail.com:
  Hi
  I cannot find solution for this small problem Simple code getURL
 (javascript:NewWindow=window.open('key16.html','newWin','width=400,he
 ight=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,r
 esizable=No,fullscreen=No');void(0););
 
 
  That opens pop up window when I test it  from the server and does 
  not open pop up window when I test it locally on computer.
  Thanks for any help.
 
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
  Nathan Mynarcik
  Interactive Web Developer
  nat...@mynarcik.com
  254.749.2525
  www.mynarcik.com
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 

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

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply 

[Flashcoders] JSFL dynamic textfield antialiasing question...

2009-11-17 Thread Chris Foster
Hi,

I'm using JSFL to modify a bunch of FLAs created by a designer.

I need to change the antialiasing on a large number of textfields from
'bitmap' to 'antialias for animation' but the only parameters I can see
are 'standard', 'device', 'bitmap', 'advanced' and
'customThicknessSharpness'.

'advanced' changes the textfield to 'antialias-for-reading', which I
don't want. 

Anyone know how to change this to 'antialias for animation'?

Thanks,
C:


 

Chris Foster
Multimedia Team Leader
cfos...@catalystinteractive.com.au
chris.fos...@kbr.com
Phone: +612 6233 8900 - Fax: +612 6233 8947 - Mobile: +61 414 394 524

Catalyst Interactive Pty Ltd
www.catalystinteractive.com.au 
8 Townsville Street Fyshwick ACT 2609
PO Box 722 Fyshwick 2609

a KBR company

---

IMPORTANT: The Information contained in this electronic message is
confidential and intended only for the named recipient(s). Any review,
re-transmission, disclosure, dissemination or other use of, or taking of
any action in reliance upon, this information by persons or entities
other than the intended recipient is prohibited.

This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] JSFL dynamic textfield antialiasing question...

2009-11-17 Thread Chris Foster
Thanks guys, that's confirmed my suspicions.

Much appreciated,
C:



-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Latcho
Sent: Wednesday, 18 November 2009 10:47 AM
To: Flash Coders List
Subject: Re: [Flashcoders] JSFL dynamic textfield antialiasing
question...

Did a quick test.
I think Stanley is wright: not possible.
My ASV swf decompiler creates JSFL to reconstuct a FLA. I created a
bunch of different textfields, compiled to swf and decompiled with ASV.
Got ASV creating JSFL rebuild script for recreating a FLA.
For antialias for readability fields it creates JSFL code that creates
the textfield from scratch.
For antailias for animation textfields it creates a new symbol-SWF of
the textfield graphic and ads that as a symbol directly into the
library; Just to complement Stanley's idea that it might not be in the
power of JSFL otherwise ASV would just implement that 100% scriptwise,
loosing the additional imported SWF's.
Latcho


jared stanley wrote:
 hmm good question - i don't know if that's accessible from jsfl.

 you could probably just loop through everything on the stage, and if 
 it's a text field then select it - that dropdown will affect all 
 selected textfields.
 not exactly what you're looking for though, maybe someone else has a 
 better solution.

 jared



 On Tue, Nov 17, 2009 at 6:04 PM, Chris Foster 
 cfos...@catalystinteractive.com.au wrote:
   
 Hi,

 I'm using JSFL to modify a bunch of FLAs created by a designer.

 I need to change the antialiasing on a large number of textfields 
 from 'bitmap' to 'antialias for animation' but the only parameters I 
 can see are 'standard', 'device', 'bitmap', 'advanced' and 
 'customThicknessSharpness'.

 'advanced' changes the textfield to 'antialias-for-reading', which I 
 don't want.

 Anyone know how to change this to 'antialias for animation'?

 Thanks,
 C:




 Chris Foster
 Multimedia Team Leader
 cfos...@catalystinteractive.com.au
 chris.fos...@kbr.com
 Phone: +612 6233 8900 - Fax: +612 6233 8947 - Mobile: +61 414 394 524

 Catalyst Interactive Pty Ltd
 www.catalystinteractive.com.au
 8 Townsville Street Fyshwick ACT 2609 PO Box 722 Fyshwick 2609

 a KBR company

 ---

 IMPORTANT: The Information contained in this electronic message is 
 confidential and intended only for the named recipient(s). Any 
 review, re-transmission, disclosure, dissemination or other use of, 
 or taking of any action in reliance upon, this information by persons

 or entities other than the intended recipient is prohibited.

 This e-mail, including any attached files, may contain confidential
and privileged information for the sole use of the intended recipient.
Any review, use, distribution, or disclosure by others is strictly
prohibited.  If you are not the intended recipient (or authorized to
receive information for the intended recipient), please contact the
sender by reply e-mail and delete all copies of this message.

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

 

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

   

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

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


RE: [Flashcoders] Placing sprites on the circumference of a circle

2009-11-09 Thread Chris Foster
hi Wyert,

If this is the kind of thing you might do more than once then I strongly
recommend checking out the 'hype' AS3 framework from Joshua Davis and
Branden Hall.

http://hype.joshuadavis.com

There's a very approachable set of intro videos here:
http://www.vimeo.com/channels/hype


C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Weyert
de Boer
Sent: Tuesday, 10 November 2009 7:56 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Placing sprites on the circumference of a
circle

After a bike ride down hill to the supermarket and cooking I just tried
out all your suggestions and I have to say it appears to work!  
Really nice, only the problem I am currently happening is the issue when
I am creating sprites dynamically during runtime the origin is not in
the bottom center but in the top left which goofs up everything. And
when I try to do:

x = -( b.width / 2 );
y = -( b.height );

Before I am updating the positions as calculated the trigonometry
formulas. I am quite sure I am overseeing something, though. Not sure
what is wrong even when I do this after the setting x,y to the values of
nx, ny it still fails for me.

The current code I am using is as follows:
http://www.innerfuse.biz/dropbox/code.txt

Anyone know what I could be doing wrong? Thanks again, you guys are
lifesavers :)

(really need to get a book about mathematics again to fresh up)

Yours,
Weyert de Boer
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] How to test URLVariables members

2009-11-04 Thread Chris Foster
Hi Alex,

You could use a 'try/catch' block...
e.g.



try {
if (vars.myname != undefined){
// do something
}
} catch (e:Error) {
trace(ERROR: your error info here);
}



-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of
Alexander Farber
Sent: Thursday, 5 November 2009 10:08 AM
To: Flash Coders List
Subject: [Flashcoders] How to test URLVariables members

How do you test (without warnings and errors) if a

   var vars:URLVariables

contains something on an Event.COMPLETE?

For example if there is a vars.myname set?
(I.e. otherwise vars.myname would be undefined - according to
http://help.adobe.com/en_US/AS3LCR/Flash_10.0/package.html#undefined )

Is the following correct:

  if (vars.myname != undefined)

Can you compare undefined to undefined?

Thank you
Alex
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] AS2 SharedObject with Red5

2009-10-14 Thread Chris Foster
Hi Andrew,

This page might be helpful to you...
http://www.zehnet.de/2008/04/11/red5-remote-sharedobject-experience-tips
/

Specifically:
---
A Client can connect to a SO using the following Actionscript lines:

// at first you need to establish a connection to the server of course
nc = new NetConnection();
nc.connect( rtmp://localhost/red5test/, true );

// when the NetConnection is successfully established
// (you have to listen to NetStatusEvent.NET_STATUS event)
// you can connect to a remote SharedObject e.g. named chat
so = SharedObject.getRemote(chat, nc.uri, false);

// when the connection to the SO is successfully established,
// you can begin to specify its contents
so.setProperty(message,hello to all);

---


 
C:




-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Andrew
Sinning
Sent: Thursday, 15 October 2009 8:27 AM
To: Flash Coders
Subject: [Flashcoders] AS2 SharedObject with Red5

Is there a way to connect a SharedObject to a NetConnection in AS2? 
This appears really easy using AS3, but under AS2 the implementation of
the NetConnection object is quite different, and SharedObject lacks the
connect() method.

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



This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] AS2 SharedObject with Red5

2009-10-14 Thread Chris Foster
Hi Andrew,

Under Flash Communication Server (OK, it was a long time ago!) I'd do
this using a Remote Shared Object.

That would provide persistent stored information that could be accessed
by multiple clients. Is that what you want to do?

C: 

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Andrew
Sinning
Sent: Thursday, 15 October 2009 8:27 AM
To: Flash Coders
Subject: [Flashcoders] AS2 SharedObject with Red5

Is there a way to connect a SharedObject to a NetConnection in AS2?  
This appears really easy using AS3, but under AS2 the implementation of
the NetConnection object is quite different, and SharedObject lacks the
connect() method.

Thanks!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] monitor outgoing http requests

2009-10-08 Thread Chris Foster
I like using 'Charles' - an HTTP sniffer from http://xk72.com/

C: 

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Andrew
Sinning
Sent: Friday, 9 October 2009 8:28 AM
To: Flash Coders
Subject: [Flashcoders] monitor outgoing http requests

I'm trying to track down an issue with a cross-domain policy violation.

Something in one of my movies is making requests to an outside server,
but I can't seem to track it down.  I get a request for resource at
www.domain.com was denied message, but I need to figure out what
exactly was being requested so I can track down the origin.

Is there a utility or a FF extension that I can install that will log
all of my outgoing http requests, preferable with a filter?

I searched for port-sniffers, but everything I found was either not-free
or way to complicated to figure out on my limited timeline.

Thanks!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] Flash CS3 IDE reverting Use Device Fonts back to Anti-alias for animation

2009-10-08 Thread Chris Foster
Oops - forgot to include the thread I mentioned...

http://www.actionscript.org/forums/showthread.php3?t=139754

C: 

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of matt
stuehler
Sent: Friday, 9 October 2009 8:47 AM
To: Flash Coders List
Subject: [Flashcoders] Flash CS3 IDE reverting Use Device Fonts back
to Anti-alias for animation

All,

Apologies in advance... this is a very specific question that's not
exactly about programming. Rather, a problem I'm having when programming
in the Flash CS3 IDE.

Here's the issue.

Occasionally, when I'm working on an application that uses very small
fonts, I find that I get better results if I use device fonts rather
than anti-aliased fonts.

(I know I can use bitmap text or a bitmap font, but I find that the
kerning in these fonts is pretty crappy, and device fonts usually render
better).

However, I notice that SOMETIMES, if a save an FLA that uses Static Text
fields with the Use Device Font setting, the next time I open Flash to
edit the file, all of those fields have reverted back to Anti-alias for
animation.

Strangely, this does not happen with text fields that are set to
Dynamic Text or Input Text.

This is hugely frustrating... I typically have to go through my entire
FLA and manually reset every static text field back to Use Device
Fonts.

This doesn't affect the compiled SWF - once compiled, the fonts stay the
way they should. It ONLY affects the FLA.

Many thanks in advance for any advice or insight.

Cheers,
Matt Stuehler
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] Flash CS3 IDE reverting Use Device Fonts back to Anti-alias for animation

2009-10-08 Thread Chris Foster
Hi Matt,

I haven't experienced your problem, but (if it persists) then I'd
recommend making use of JSFL to eliminate the time wasted by manually
re-setting the textfields.

This thread shows a couple of relevant examples, and I've attached a
couple of short JSFL script I wrote to do a similar replacement. I'm
cc-ing your personal address too (it'll catch the attached versions of
the JSFL scripts).

To use JSFL you'll need to drop the scripts into:
C:\Documents and Settings\YOUR_USERNAME_HERE\Local Settings\Application
Data\Adobe\Flash CS3\en\Configuration\Commands 

and they'll appear in your Flash 'Commands' menu. It should reduce your
rework time to a few seconds.


Hope that helps...
C:

 

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of matt
stuehler
Sent: Friday, 9 October 2009 8:47 AM
To: Flash Coders List
Subject: [Flashcoders] Flash CS3 IDE reverting Use Device Fonts back
to Anti-alias for animation

All,

Apologies in advance... this is a very specific question that's not
exactly about programming. Rather, a problem I'm having when programming
in the Flash CS3 IDE.

Here's the issue.

Occasionally, when I'm working on an application that uses very small
fonts, I find that I get better results if I use device fonts rather
than anti-aliased fonts.

(I know I can use bitmap text or a bitmap font, but I find that the
kerning in these fonts is pretty crappy, and device fonts usually render
better).

However, I notice that SOMETIMES, if a save an FLA that uses Static Text
fields with the Use Device Font setting, the next time I open Flash to
edit the file, all of those fields have reverted back to Anti-alias for
animation.

Strangely, this does not happen with text fields that are set to
Dynamic Text or Input Text.

This is hugely frustrating... I typically have to go through my entire
FLA and manually reset every static text field back to Use Device
Fonts.

This doesn't affect the compiled SWF - once compiled, the fonts stay the
way they should. It ONLY affects the FLA.

Many thanks in advance for any advice or insight.

Cheers,
Matt Stuehler
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] [MEMORY LEAK]

2009-09-30 Thread Chris Foster
Hi T,

No solution here, but this might relate to your current problem:
http://www.gskinner.com/blog/archives/2008/04/failure_to_unlo.html


C:
 

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of TS
Sent: Thursday, 1 October 2009 10:53 AM
To: 'Flash Coders List'
Subject: [Flashcoders] [MEMORY LEAK]

Hello, this issue is killing me. I had a swf that loaded an xml file
then loaded images from the xml file and then killed the display list,
xml, images etc... then restarted based on a timer. Every time it
reloads however, I watch firefox take away memory consistently and when
I refresh that page memory use drops back to normal. So, I said screw
this, I'm going to create an empty swf and load the swf with all the
magic in it and add it to the empty swf. I figured if I add the swf to
the main stage and kill that one reference to the swf when I was done
with it, I should have fixed my problem. Here's my code. Can someone
please tell me what is going on? 


stop();

var mLoader:Loader = new Loader();
function startLoad()
{
var mRequest:URLRequest = new
URLRequest(hasch_flash/currently_watched_videos.swf);
//var mRequest:URLRequest = new
URLRequest(currently_watched_videos.swf);
mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,
onCompleteHandler, false, 0, true);

mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,
onProgressHandler, false, 0, true);
mLoader.load(mRequest);
}

function onCompleteHandler(loadEvent:Event)
{
trace(load  + loadEvent.currentTarget.content);
trace(loadTarget  + loadEvent.target);
addChild(loadEvent.currentTarget.content);
}
function onProgressHandler(mProgress:ProgressEvent)
{
var percent:Number = mProgress.bytesLoaded/mProgress.bytesTotal;
trace(percent);
}
startLoad();


TimerExample();

// Set off timer to kill carousel and restart movie function
TimerExample() {
var myTimer:Timer = new Timer(3, 0);
myTimer.addEventListener(timer, timerHandler);
myTimer.start();
}

function timerHandler(event:TimerEvent):void {
trace(this.removeChildAt(0)); // remove from display list
mLoader = null;
mLoader =  new Loader(); // clear from memory
startLoad();
trace(timerHandler:  + event);
}


Thanks for any advice. T

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] Flash Cache in IE FF

2009-09-24 Thread Chris Foster
Hi Don,

The conventional way to avoid loading cached content into Flash is to
call a unique URL for the content every time. One way to do this is to
append a random number or UTC timecode (in milliseconds) to your URL,
for example (AS3):

var l:Loader = new Loader();
var req:URLRequest = new URLRequest(your url here);
var vars:URLVariables = new URLVariables();
req.method = URLRequestMethod.POST;
vars.antiCache = Math.round(Math.random()*99);
req.data = vars;
l.load(req);

Hope that helps...
C:


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Don
Schnell - TFE
Sent: Friday, 25 September 2009 1:07 PM
To: William Chadwick
Cc: Flash Coders List
Subject: Re: [Flashcoders] Flash Cache in IE  FF


Thanks William, I am not sure why there was no text in my original post
but my issue is how to prevent data from being cached in IE  Firefox.
My SWFs load in data from a flat text file and I tried using the
following No-Cache settings before the head but they don't seem to
prevent this issue.

// prevent browser cache
header(Expires: Mon, 26 Jul 1997 05:00:00 GMT);
header(Last-Modified:  . gmdate(D, d M Y H:i:s) .  GMT);
header(Cache-Control: no-store, no-cache, must-revalidate);
header(Cache-Control: post-check=0, pre-check=0, false);
header(Pragma: no-cache);



William Chadwick wrote:
 Not sure what you want, as there is no text in your message.

 But if you want to know about how SharedObject's work, here you go.
 Local SharedObjects (AKA 'Flash Cookies') are stored in the following 
 path in a directory with a random name:
 C:\Documents and Settings\USERNAME\Application Data\Macromedia\Flash 
 Player\#SharedObjects

 There are some really clear articles on them on Adobe's devnet.

 William Chadwick

 On Thu, Sep 24, 2009 at 5:06 PM, Don Schnell - TFE 
 dschn...@toolsforeducation.com 
 mailto:dschn...@toolsforeducation.com wrote:


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 mailto: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
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] Flash Cache in IE FF

2009-09-24 Thread Chris Foster
Sorry - formatting got screwed up there... one more try...

AS3 example of 'anticache' technique.
-

var l:Loader = new Loader();
var req:URLRequest = new URLRequest(your url here); 
var vars:URLVariables = new URLVariables(); 
req.method = URLRequestMethod.POST; 
vars.antiCache = Math.round(Math.random()*99); 
req.data = vars; 
l.load(req); 


Regards,
C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Don
Schnell - TFE
Sent: Friday, 25 September 2009 1:07 PM
To: William Chadwick
Cc: Flash Coders List
Subject: Re: [Flashcoders] Flash Cache in IE  FF


Thanks William, I am not sure why there was no text in my original post
but my issue is how to prevent data from being cached in IE  Firefox.
My SWFs load in data from a flat text file and I tried using the
following No-Cache settings before the head but they don't seem to
prevent this issue.

// prevent browser cache
header(Expires: Mon, 26 Jul 1997 05:00:00 GMT);
header(Last-Modified:  . gmdate(D, d M Y H:i:s) .  GMT);
header(Cache-Control: no-store, no-cache, must-revalidate);
header(Cache-Control: post-check=0, pre-check=0, false);
header(Pragma: no-cache);



William Chadwick wrote:
 Not sure what you want, as there is no text in your message.

 But if you want to know about how SharedObject's work, here you go.
 Local SharedObjects (AKA 'Flash Cookies') are stored in the following 
 path in a directory with a random name:
 C:\Documents and Settings\USERNAME\Application Data\Macromedia\Flash 
 Player\#SharedObjects

 There are some really clear articles on them on Adobe's devnet.

 William Chadwick

 On Thu, Sep 24, 2009 at 5:06 PM, Don Schnell - TFE 
 dschn...@toolsforeducation.com 
 mailto:dschn...@toolsforeducation.com wrote:


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 mailto: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
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] RE: Flash speech-to-text

2009-08-26 Thread Chris Foster
Hi Juju,

You can't currently do speech-to-text in Actionscript. It's not that
people are choosing not to answer you, there just aren't any useful
solutions to your question.

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of juju
Sent: Thursday, 27 August 2009 2:20 PM
To: Flash Coders List
Subject: Re: [Flashcoders] RE: Flash speech-to-text

I wonder, if I offered $50 for an answer, how many replies with actual
useful information would be posted to answer this question... :) Or
$100?

On Wed, Aug 26, 2009 at 12:02 PM, juju jlee...@gmail.com wrote:

 Hi Jonathan, I'm trying to do speech to text. AFAIK Flash API cannot 
 record the microphone input. It can listen for the sound level of the 
 microphone input, and you could create interactivity with this (like 
 shooting a bullet by clapping your hands). But how do you record a 
 person's voice and convert this to text when you can't record the 
 microphone input with Flash? Has anyone tried Ribbit to create voice 
 interactive applications, like speech to text and voice-recognition? 
 Would like to get some guidance before going into Ribbit development.

 I've tried SpeechXML but this needs SAPI 5 and TMK it only works on a 
 local machine. I'm looking for speech-to-text solution and 
 voice-recording/analysis that can be done via a Flash RIA. Am hoping 
 that there's some actionscript library out there that gives this
functionality.
 Or hopefully, the next version of Flash/Actionscript will have this 
 functionality.

 Thanks, juju


 On Tue, Aug 25, 2009 at 8:48 PM, jonathan howe
jonathangh...@gmail.comwrote:

 Are you trying to do text-to-speech or speech-to-text? The latter is 
 better searched for under 'voice recognition'.
 Seems like there are a bunch of results for the former:
 http://www.bing.com/search?q=flash+text-to-speechform=QBLHqs=n
 -jonathanhttp://www.bing.com/search?q=flash+text-to-speechform=QBLH
 qs=n%0A-jonathan


 On Tue, Aug 25, 2009 at 5:30 AM, juju jlee...@gmail.com wrote:

  HI All, I searched Google and the forums but could not find an 
  answer,
 hope
  you actionscript sages can help. There's plenty of text to speech 
  solutions, but how do you do Speech-to-text with Flash? Can you do 
  speech-to-text
 with
  ribbit http://www.ribbit.com/?
 
  Thanks, juju
  ___
  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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] RE: Flash speech-to-text

2009-08-26 Thread Chris Foster
Dunno for sure Juju, but while you wait for any other answers on this
list... 

http://developer.ribbit.com/download

Sign up, download the SDK, view the samples, and join the forums... I
imagine it wouldn't take more than a couple of hours to find the right
people to answer in detail.

C: 

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of juju
Sent: Thursday, 27 August 2009 3:01 PM
To: Flash Coders List
Subject: Re: [Flashcoders] RE: Flash speech-to-text

Thanks Chris, not even with Ribbit? That's what I really want to know:
can Ribbit + Flash provide speech to text capability. Thanks, juju

On Thu, Aug 27, 2009 at 12:32 PM, Chris Foster 
cfos...@catalystinteractive.com.au wrote:

 Hi Juju,

 You can't currently do speech-to-text in Actionscript. It's not that 
 people are choosing not to answer you, there just aren't any useful 
 solutions to your question.

 C:

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of juju
 Sent: Thursday, 27 August 2009 2:20 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] RE: Flash speech-to-text

 I wonder, if I offered $50 for an answer, how many replies with actual

 useful information would be posted to answer this question... :) Or 
 $100?

 On Wed, Aug 26, 2009 at 12:02 PM, juju jlee...@gmail.com wrote:

  Hi Jonathan, I'm trying to do speech to text. AFAIK Flash API cannot

  record the microphone input. It can listen for the sound level of 
  the microphone input, and you could create interactivity with this 
  (like shooting a bullet by clapping your hands). But how do you 
  record a person's voice and convert this to text when you can't 
  record the microphone input with Flash? Has anyone tried Ribbit to 
  create voice interactive applications, like speech to text and
voice-recognition?
  Would like to get some guidance before going into Ribbit
development.
 
  I've tried SpeechXML but this needs SAPI 5 and TMK it only works on 
  a local machine. I'm looking for speech-to-text solution and 
  voice-recording/analysis that can be done via a Flash RIA. Am hoping

  that there's some actionscript library out there that gives this
 functionality.
  Or hopefully, the next version of Flash/Actionscript will have this 
  functionality.
 
  Thanks, juju
 
 
  On Tue, Aug 25, 2009 at 8:48 PM, jonathan howe
 jonathangh...@gmail.comwrote:
 
  Are you trying to do text-to-speech or speech-to-text? The latter 
  is better searched for under 'voice recognition'.
  Seems like there are a bunch of results for the former:
  http://www.bing.com/search?q=flash+text-to-speechform=QBLHqs=n
  -jonathanhttp://www.bing.com/search?q=flash+text-to-speechform=QB
  LH
  qs=n%0A-jonathan
 
 
  On Tue, Aug 25, 2009 at 5:30 AM, juju jlee...@gmail.com wrote:
 
   HI All, I searched Google and the forums but could not find an 
   answer,
  hope
   you actionscript sages can help. There's plenty of text to speech

   solutions, but how do you do Speech-to-text with Flash? Can you 
   do speech-to-text
  with
   ribbit http://www.ribbit.com/?
  
   Thanks, juju
   ___
   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 mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 This e-mail, including any attached files, may contain confidential 
 and privileged information for the sole use of the intended recipient.

 Any review, use, distribution, or disclosure by others is strictly
prohibited.
  If you are not the intended recipient (or authorized to receive 
 information for the intended recipient), please contact the sender by 
 reply e-mail and delete all copies of this message.

 ___
 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] FLV export - size(w, h) vs data rate

2009-08-25 Thread Chris Foster
Depending on how important your 'older machine' users are then you might
also consider not using the On2 codec. It does a great job, but is very
CPU intensive and often grinds on older/slower machines.

The trade-off is quality - Sorenson encoded video will play back much
faster on the older machines, but the visual quality is lower than On2.

C: 

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Andy
Andersson
Sent: Wednesday, 26 August 2009 7:25 AM
To: Flash Coders List
Subject: Re: [Flashcoders] FLV export - size(w, h) vs data rate

Hi,

Normally on larger commercial sites, you usually have a few different
versions of videos and the code/cookies determines what kind of speed
you have on computer/network and load the correct video to match your
ability to play the video.

As far as a single big file like you have, i would look into the Akamai
settings and see if you could increase the buffer a bit so it loads in
more of the video before it plays. And also make sure the site/video
player you have is optimized and supports streaming video, especially of
a video size like that.

Hope that helps.
On Aug 25, 2009, at 2:07 PM, jared stanley wrote:

 Hey all, wondering if anyone can give me direction on this:

 I have a large video site, the vid area is 1000x600. Videos are 
 streaming from Akamai.

 It's playing fine on large computers w/fast connections; Needless to 
 say it's getting chugging on slower/older setups.

 I would like to enable the range of computers it works on by 
 optimizing the video.

 which one of the following would work better:

 1. shrink the data rate from like 850kbps to like 550kbps

 2.export the video at like 800x400 and then stretch it up.

 Obviously I could just try this, but I'm wondering what the logic 
 behind it is and if there are any best practices.

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

--
Andy Andersson
Interactive Creative Director
 Senior Flash Developer/Designer
714-809-7095
awebme...@sbcglobal.net




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] mailto problem in flash

2009-08-24 Thread Chris Foster
Hi Anna,

Try  getURL(mailto://n...@name.com;);

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ana mock
Sent: Tuesday, 25 August 2009 11:50 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] mailto problem in flash

Hi,

I am creating a website with flash 8 , and on that is a page , that have
an send email-button (it suppose to open outlook window).
When I publish the file in swf , the email button works just fine,
but as soon as I publish the file with HTML extension, the send email
button is dead in browser.( I have tested on Fire Fox and Internet
Explorer).
Hear is my code:

on(release){
getURL(n...@name.com);
}


Is there some code I can add or something?
Thanks in advance!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] mailto problem in flash

2009-08-24 Thread Chris Foster
Hi again,

My mistake... try this:

getURL(mailto:n...@name.com;);

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ana mock
Sent: Tuesday, 25 August 2009 11:50 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] mailto problem in flash

Hi,

I am creating a website with flash 8 , and on that is a page , that have
an send email-button (it suppose to open outlook window).
When I publish the file in swf , the email button works just fine,
but as soon as I publish the file with HTML extension, the send email
button is dead in browser.( I have tested on Fire Fox and Internet
Explorer).
Hear is my code:

on(release){
getURL(n...@name.com);
}


Is there some code I can add or something?
Thanks in advance!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] Flash security issue

2009-08-23 Thread Chris Foster
You could also use a standalone webserver - I've used 'Server2Go CD-ROM
Webserver' before, it's quite customisable, and also gets me past all
those annoying security issues.

I like it as a solution because I don't need to do an extra version (as
an .exe) of my projects, and I don't need to force users to change
settings they wouldn't normally need to know about, and my
ExternalInterface interactions will still function as expected.

C:

 

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Gregory
Boland
Sent: Saturday, 22 August 2009 1:14 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Flash security issue

thats why i'm saying create a wrapper file for that swf.  take the swf
that is given to you from ad wonder and import it into a .fla file.
then make an .exe file out of that.

On Fri, Aug 21, 2009 at 10:13 AM, Bill Jones
bjo...@backemarketing.comwrote:

 Unfortunately, AdWonder controls the entire process. It builds the 
 files and I simply download a stuffit file that contains the html, swf

 and support files.


 On 8/21/09 10:08 AM, Gregory Boland breakfastcof...@gmail.com
wrote:

  create an .exe file so that when you run it from a CD you can run it

  standalone.  Not sure about what your using, if it allows you to do 
  that
 but
  maybe if you create a wrapper swf and load the other swf into your
 wrapper
  swf you can create an .exe file
 
  greg
 
 
 
  On Fri, Aug 21, 2009 at 9:52 AM, Bill Jones 
 bjo...@backemarketing.com
 wrote:
 
  I am creating a Demo file using EyeWonder's AdWonder. It generates 
  an
 html
  with accompanying swf and support files. I can copy the html and 
  file folder to a disk so the client can view the finished piece 
  locally on a stand alone laptop.
 
  Unfortunately, to view it from a CD, you have to adjust flash 
  security setting through the Flash Player Security Manager 
  (something the client
 has
  no idea how to do).
 
  Is there a way to bypass the security settings, or can I add some 
  javascript (link a js file) to the html mage that will make the 
  change transparent
 to
  the end user?
 
  _
  Bill Jones
  Interface Developer
  Backe Digital Brand Marketing
  35 Cricket Terrace Center
  Ardmore, PA 19003
  Voice: 610-896-9260 x280
  Fax: 610-896-9242
  bjo...@backemarketing.com
 
  If you want to go forward, click Backe.
 
  ___
  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


 _
 Bill Jones
 Interface Developer
 Backe Digital Brand Marketing
 35 Cricket Terrace Center
 Ardmore, PA 19003
 Voice: 610-896-9260 x280
 Fax: 610-896-9242
 bjo...@backemarketing.com

 If you want to go forward, click Backe.

 ___
 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
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] Security Sandbox Violation: Tried to accessincompatible context

2009-08-20 Thread Chris Foster
No suggestion, just some additional feedback from my debug window...

--
using receiverConnName:RN2MP
NOT ROUTE
using receiverConnName:MP2RN
Error: Request for resource at
http://www.mappingmainstreet.org/mmsquery.php?route=recent by requestor
from http://mappingmainstreet.org/development/0819/roadmap.swf is denied
due to lack of policy file permissions.
*** Security Sandbox Violation ***
SecurityError
using receiverConnName:RN2MP
NOT ROUTE
using receiverConnName:MP2RN
*** Security Sandbox Violation ***
---

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jesse
Shapins
Sent: Friday, 21 August 2009 7:38 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Security Sandbox Violation: Tried to
accessincompatible context

Hi all,

I've been banging my head against the wall for days trying to solve an
issue. You can see it at this URL using Firefox:
http://mappingmainstreet.org/development/0819/index05_jms.html

The proper user experience is to be able to do the following:

- Click on any of the Features buttons (e.g. Chattanooga, TN) and then
load the Media Player (displaying photographs from Ronceverte, WV) and
also load the Route Navigator (displaying visualization of Current
Route: Building).
In this state, the Paths tab should be highlighted (darker than the Map
and Features tab)

- From this state, the user should be able to:

1) Switch to the Map tab and view a map visualization (the Media Player
does not change with this action).
2) Search for any city name. If the city searched has photos (e.g. San
Francisco CA) then the the Media Player will display photos from that
place while a Google Map loads with that location. If the city does not
have photos, it will display a Street View or aerial photograph in the
middle player field.
3) Search for a state (e.g. Caliifornia). This will load photos from the
state in the Media Player and display the Paths navigation for that
state.

HOWEVER...Once you have loaded the Media Player and Route Navigator, it
is not possible to switch to the Map Tab or Search. I receive this error
in my Flash Tracer:

*** Security Sandbox Violation ***
SecurityDomain '
http://mappingmainstreet.org/development/0819/index05_jms.html' tried to
access incompatible context

I believe this indicates an error in the interaction between the Flash
and the JavaScript.

If anyone has any suggestions, I would greatly appreciate it.

Thank you very much,

Jesse
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] as3 -re-dimensioning spirte but not its children

2009-07-30 Thread Chris Foster
Or you could create a new 'duplicate' sprite (instead of scaling the
original) and re-parent the children to the new sprite using:

newParent.addChild(objectToReparent);

C:


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ashim
D'Silva
Sent: Thursday, 30 July 2009 3:38 PM
To: Flash Coders List
Subject: Re: [Flashcoders] as3 -re-dimensioning spirte but not its
children

I'd say extend a new class from Sprite, and override the getters and
setters for width and height, and scaleX and scaleY if you need them.

However, if you don't want to do that, make two sprites inside your
sprite. One with things you want to change and one width those you
don't. Then just resize the sprite that you want to.

Ashim

The Random Lines
My online portfolio
www.therandomlines.com



2009/7/30 Isaac Alves isaacal...@gmail.com:
 Hi list,

 Is it possible to alter the width or height of a sprite dynamically
 without altering the width and height of its children ?

 Even when I add children to a Sprite that had its dimensions altered
 dynamically, these children have their dimensions changed.

 Could I do something like sprite.resetScaleXandY ?

 What do you suggest in this kind of situation?

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


This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


RE: [Flashcoders] Multilingual video with Flash

2007-09-14 Thread Chris Foster
For a guaranteed solution I'd recommend using separate videos, each with their 
own soundtrack. It'll completely remove any sync issues that would surface with 
separated audio tracks.

Chris

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Norman Cousineau
Sent: Thursday, 13 September 2007 2:24 AM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Multilingual video with Flash

I've used separate audio / video once and had syncing problems.  To correct it, 
I set the video time to match the audio time at a fixed interval.  It was a 
talking head type video, and the results were satisfactory, although there's a 
little jump in the video sometimes.

-Original Message-
From: Volker Scarpatetti - Advertis Interactiva
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 12, 2007 4:27 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Multilingual video with Flash


Hi,

What would be the best way to a flash video project with multilingual audio?

- A copy of the video for each language (means several video files) ?
or
- One video and different audiotraks ?

As I am not streaming from a server but from a CD, I have a limited space
condition. The video is about 5 minutes long, and I remeber, in earlier
versions, separated audio didn´t syncronize to good in longer videos.

Any suggestions ? Thanks !

-- 
Volker Scarpatetti
Dirección Interactiva - Advertis Interactiva




___
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