Re: [Flashcoders] Fonts taking up too much space

2012-06-26 Thread Mattheis, Erik (MIN-WSW)
At least one of the fonts seems to have a huge outline - have you generated a 
size report?

You might be better off breaking apart static textfields that use a lot of the 
font bytes.


On 6/26/12 3:59 PM, Tristan sunnrun...@gmail.com wrote:

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



Erik Mattheis
Digital Account Supervisor

M 612 377 2272
E ematth...@webershandwick.com
W www.webershandwick.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Converting a flash game to facebook app

2012-05-30 Thread Mattheis, Erik (MIN-WSW)
If by dinosaur you mean you haven't done Facebook since the REST API was 
retired, transitioning to Graph isn't a big deal if you're not rolling your own 
but using one of the SDKs - https://developers.facebook.com/docs/sdks/ or the 
AS3 SDK Sydney pointed to.

If you mean you're completely new to Facebook development it can be a huge 
pain, but you'll save at least a few days if you go into it ignoring all 
documentation Facebook provides other than the reference: 
https://developers.facebook.com/docs/reference/api/

Google will find blog posts by people who give step by step instructions for 
registering your account as a developer, setting up an app, setting up a SDK 
and giving you source code of a functioning app to look at.


On 5/30/12 1:43 PM, Hans Wichman hans.wich...@gmail.com wrote:

Hi Paul,

I faced the same problem a while ago and found the whole facebook
mumbojumbo pretty hard to wrap my head around, opengraphs, graph api
etc. The project was cancelled so I was off the hook, but I spent about
a week reading facebook's docs none the wiser, so I don't exactly share
Sidney's experience. I didn't have a specific goal they wanted me to
complete so that made it harder as well, but still.
I did find some very good books specifically on flash games on facebook
at amazon.

regards
H


On 30-5-2012 18:17, Paul Steven wrote:
 I am a bit of a dinosaur when it comes to facebook and have been asked to
 turn a flash game into a facebook app.

 Before I make a decision on whether I can take on this job I wanted a quick
 heads up on how complex a process is to do this?

 Thanks in advance.

 ___
 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



_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] ServerSocket connections

2012-05-03 Thread Mattheis, Erik (MIN-WSW)
Is there a library I can use to keep track of ServerSocket connections? Is 
there something built in I don't see or do I have to keep track of the request 
headers coming in and assemble complete POST bodies on my own?

Making sure I'm not reinventing the wheel, thanks.

_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] AIR WebKit vs iTumes WebKit

2012-03-22 Thread Mattheis, Erik (MIN-WSW)
Is there a conflict between AIR and iTumes on Windows? I've been getting 
sporadic crashes on Windows 7 from WebKit.dll when using HTMLLoader. Seeing 
suggestions to uninstall iTunes I tried it and haven't experienced a crash 
since. Would like to confirm that that was the problem but can't find any 
definitive information that there can be a conflict.

_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Dispatching events from V to C

2012-03-15 Thread Mattheis, Erik (MIN-WSW)
Say I have  a save button that can exist in multiple views and can save 
multiple things. What's the best way to do this? Dispatch a different custom 
event from each type of button? Send one type of custom event  with different 
parameters? I have a controller that listens for 28 different custom events. 
I'd like to make the controller class smaller.

_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Dispatching events from V to C

2012-03-15 Thread Mattheis, Erik (MIN-WSW)
How does the controller know about each command class? Is each instantiated by 
the controller? Do the command classes talk directly to the model or view or 
back through the controller?

On 3/15/12 4:44 PM, Peter Ginneberge p.ginnebe...@telenet.be wrote:


 ==

The controller then maps the different event types to Commands:
// AppController:

  private function initCommands():void {
   addCommand(NewsEvent.GET_NEWS, GetNewsCommand);
   addCommand(NewsEvent.UPDATE_NEWS, UpdateNewsCommand);

   addCommand(NewsEvent.ADD_NEWS, AddNewsCommand);
   addCommand(NewsEvent.DELETE_NEWS, DeleteNewsCommand);
   // etc..
  }

 ==

addCommand (not included) does an addEventListener and maps it to the command 
class for later execution (when the event is
triggered).


_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] MVC style Correction

2012-02-27 Thread Mattheis, Erik (MIN-WSW)
I've been putting all my class files in one of three folders, model, view, 
controller. I'm mostly concerned with making the code as easy to understand as 
possible.

Where would you expect transfer object class - a class that just defines a set 
of values to pass as a group?

Where would you expect a custom event class?

Where would you put a class that reads from and writes to the file system? 
Air.File has methods that produce UI elements. What are benefits/drawbacks to 
writing the extra code to get File.browseForOpen() somewhere in the View?

What about a class that holds string values to display ion dialog boxes, on 
buttons, etc? Is that part of the view or should it be defined in the model?



_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] MVC style Correction

2012-02-23 Thread Mattheis, Erik (MIN-WSW)
Ross Sclafani ross.sclaf...@gmail.com wrote:
It is very easy to locate any code in one of my projects by ascertaining the 
domain of the code in question and looking in the appropriate branch.
Does it store data? It's in the model. Does it interpret and display data? Try 
your views. Does it manipulate data? Look in the controller.

This thread has been useful, thanks all. I've a ton of questions regarding 
judgment calls and below I post a class illustrating a few I've struggled with. 
The comments are intended to be my questions/admissions of bafflement. I'm 
unsure where in a MVC this class should go as its main purpose is to work with 
the File class which itself has methods which retrieve 
(File.applicationDirectory), interpret (File.exists) and display 
(File.browseForOpen) data.

The class also is a dreaded example of allowing the view to listen directly to 
the model for events, perhaps only because I've misguidedly decided to make it 
part of the model as it has to do with copying and deleting a SQLite file used 
in the app.

package mvc.model {
 /* saveFileAs() saves a copy of a SQLite DB for the purposes of
 transferring data to an instance of this app on another
 computer.

closeDBAndReplace() = replaces the db file if the user
 is importing data.
 */
 import flash.events.EventDispatcher;
 import flash.events.Event;
 import flash.filesystem.File;
 // class Data works with a SQLite DB
 import mvc.model.Data;
 // Where in a MVC should custom event classes
 // be located? I wish to pass my own objects
 // along with events, usually Transfer Objects
 // or a string to be displayed
 import mvc.controller.CustomDataEvent;

 public class ManipulateDBFile extends EventDispatcher {

  private var _data:Data;
  private var _sourceFile:File;
  private var _copyToDirectory:File;

  public function ManipulateDBFile(data:Data) {
   _data = data;
  }

  public function saveFileAs() : void {
   var docsDir:File = File.desktopDirectory;
   // This creates a UI element. I would look for this code in the view!
   docsDir.browseForDirectory('Save File in  ...');
   // This is asking a UI elemt to inform the Model directly. Big bad no?
   docsDir.addEventListener(Event.SELECT, copyFile);
  }

  private function copyFile(e:Event):void  {
   _sourceFile = File.applicationStorageDirectory.resolvePath(msgDB.db);
   _copyToDirectory = e.target.resolvePath(msgDB.db);
   if (_copyToDirectory.exists) {
// Passing this event through the Controller seems to create complexity,
// or at least unnecessary lines of code. Is there an advantage gained by
// communicating to the view through the controller here?
var evt:CustomDataEvent = new 
CustomDataEvent(CustomDataEvent.FILE_ALREADY_EXISTS);
dispatchEvent(evt);
   }
   else {
replaceFile();
   }
  }

  public function replaceFile() : void {
   var evt:CustomDataEvent = new CustomDataEvent(CustomDataEvent.COPY_COMPLETE);
   try {
_sourceFile.copyTo(_copyToDirectory, true);
dispatchEvent(evt);
   }

   catch (error:Error) {
evt.param = error.message;
dispatchEvent(evt);
   }
   _sourceFile = null;
   _copyToDirectory = null;
  }

  public function closeDBAndReplace() : void {
   // The file cannot be deleted if there is a SQLConnection to it.
   // The class that is aware of a possible connection also does the
   // deletion. But deleting the file seems to conceptually
   // fit into this class better
   _data.addEventListener(CustomDataEvent.DRILL_RESET, findFile, false, 0, 
true);
   _data.deleteDBFile();

  }

  private function findFile(e:CustomDataEvent) : void {
   _data.removeEventListener(CustomDataEvent.DRILL_RESET, findFile, false);
   var docsDir:File = File.desktopDirectory;
   docsDir.browseForOpen('Select msgDB.db file ...');
   docsDir.addEventListener(Event.SELECT, replaceDBFile);
  }

  private function replaceDBFile(e:Event):void  {
   var sourceFile:File = e.target as File;
   var destination:File = 
File.applicationStorageDirectory.resolvePath(msgDB.db);
   try {
sourceFile.copyTo(destination, true);
dispatchEvent(new CustomDataEvent(CustomDataEvent.RESTART_REQUIRED));
   }
   catch (error:Error) {
trace(Error:, error.message);
   }
  }
 }
}

On 2/17/12 6:07 PM, Ross Sclafani ross.sclaf...@gmail.com wrote:
It is very easy to locate any code in one of my projects by ascertaining the 
domain of the code in question and looking in the appropriate branch.
Does it store data? It's in the model.
Does it interpret and display data? Try your views.
Does it manipulate data? Look in the controller.



_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AIR Socket.readObject received in multiple ProgressEvents?

2012-02-16 Thread Mattheis, Erik (MIN-WSW)
I'm not understanding something here - in the following excerpted and 
simplified example, I'm trying to send a ByteArray of length 170 and there seem 
to be 173 bytes received. Where are the extra bytes coming from and and is 
that the reason readObject returns null? (tracing _socketData.toString shows 
that the object properties I want to work with are in the ByteArray):

In the server app:

flash.net.registerClassAlias('foo.bar.SiteVO', SiteVO);
var siteVO:SiteVO = new SiteVO();
siteVO.property = value
...
var bytes:ByteArray = new ByteArray();
bytes.writeObject(siteVO);
_socket.writeUnsignedInt(bytes.length);
_socket.writeObject(bytes);
_socket.flush();
trace(bytes.length) // 170

In the client apps's ProgressEvent handler:

var _socketData:ByteArray = new ByteArray;
trace(_socket.bytesAvailable); // 177
while ( _socket.bytesAvailable  0 ) {
  if (_messageLength == 0) {
_messageLength = _socket.readUnsignedInt();
trace(_messageLength); //177
trace(_socket.bytesAvailable); // 173
}
_socket.readBytes(_socketData);
if (_socketData.length  _messageLength) { // more data coming
  break;
}
flash.net.registerClassAlias('foo.bar.SiteVO', SiteVO);
var result:SiteVO = _socketData.readObject() as SiteVO;
trace(result); // null

On 2/15/12 1:39 PM, Henrik Andersson he...@henke37.cjb.net wrote:

Mattheis, Erik (MIN-WSW) skriver:
 If I have to do this without looking at functional examples, how would one 
 transmit a terminator byte or byte size while using Socket.writeObject()?

Write the object to a ByteArray, measure the size of that and send the
size of that before the contents of the ByteArray.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AIR Socket.readObject received in multiple ProgressEvents?

2012-02-16 Thread Mattheis, Erik (MIN-WSW)
On 2/16/12 4:20 PM, Henrik Andersson he...@henke37.cjb.net wrote:
It is highly possible that multiple writes was stuffed into one read,
even if you don't flush between the writes.

The three left over bytes could be the first three bytes of the length
of the next object.

I left out some of the code in which I'm trying to account for receiving the 
object during separate ProgressEvents - my my ProgressEvent handler:

_socket.readBytes(_socketData);
if (_socketData.length  _messageLength) {
  // more data coming, exit the event handler and wait for the next 
ProgressEvent
  break;
}
trace('whole message assembled');
processData(_socketData); // function that expects the ByteArray
_socketData.clear();

Nonetheless, I'm testing the client and server on the same box and can tell the 
whole message is being received from traces.


On 2/16/12 4:20 PM, Henrik Andersson he...@henke37.cjb.net wrote:

Mattheis, Erik (MIN-WSW) skriver:
 I'm not understanding something here - in the following excerpted and 
 simplified example, I'm trying to send a ByteArray of length 170 and there 
 seem to be 173 bytes received. Where are the extra bytes coming from and 
 and is that the reason readObject returns null? (tracing _socketData.toString 
 shows that the object properties I want to work with are in the ByteArray):


As I said before:

 This means that you MAY get more than one object in one go and that
you MAY get only a part of the object(s) at the ends of the buffer.

It is highly possible that multiple writes was stuffed into one read,
even if you don't flush between the writes.

The three left over bytes could be the first three bytes of the length
of the next object.

Your code must be able to deal with the crazy situation that it got a
full length int, the encoded object and only three quarters of the
length int for the next object in one go.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AIR Socket.readObject received in multiple ProgressEvents?

2012-02-16 Thread Mattheis, Erik (MIN-WSW)
In my server app I was performing ByteArray.writeObject(MyObjectToSend) to 
assemble MyByteArray and then again using Socket.writeObject(MyByteArray) when 
actually sending it. This created an AMF encoded object within an AMF encoded 
object, oops.

Once I discovered this error I was able to fix a few other errors that didn't 
elude me quite as much.

Thanks all!


On 2/16/12 5:02 PM, Henrik Andersson he...@henke37.cjb.net wrote:

Is it possible that _messageLength is not correctly initialized at this
point? I suspect that it may contain a stale value. The correct value
when waiting for the length is 4.


_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] AIR Socket.readObject received in multiple ProgressEvents?

2012-02-15 Thread Mattheis, Erik (MIN-WSW)
In a the client of a client/server AIR app I have:

function onSocketData(event:ProgressEvent) : void {
  var result = _socket.readObject();
  // do something with result
}

How can I be sure the whole object is available before I try to use it?

Things work as expected most of the time, but with large pieces of data or on 
laptops will hang when operating over a wireless connection, so I suspect the 
object is spread out over multiple ProgressEvents.

I can only find pseudo code illustrating what you should do reassemble an AMF 
object received in separate ProgressEvents.

_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AIR Socket.readObject received in multiple ProgressEvents?

2012-02-15 Thread Mattheis, Erik (MIN-WSW)
I've not considered it may be a server issue. The server is also an AIR app - 
looking at the documentation there doesn't seem to be any events related to 
sending data over sockets - is it possible to tell if data was successfully 
written to the socket?


On 2/15/12 11:29 AM, Glen Pike g...@engineeredarts.co.uk wrote:

Are you sure that this is not something server-side?

I have had similar problems which were compounded when using Wireless
connections - we traced the fault back to the server code giving up
filling the socket buffer when it got a buffer full event?

Apart from that you could use some sort of paradigm like:

http://stackoverflow.com/questions/7345214/as3-air-readobject-from-socket-how-do-you-check-all-data-has-been-received

Glen


_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AIR Socket.readObject received in multiple ProgressEvents?

2012-02-15 Thread Mattheis, Erik (MIN-WSW)
I've been unsuccessful at finding an example of a functional AS app which uses 
one of the second two approaches, I can only find broad descriptions of what 
needs to happen.

It appears that Socket.bytesAvailable functions differently depending on the 
version of AIR, either representing the number of bytes which haven't yet been 
read or the cumulative total of bytes sent over the socket.

If I have to do this without looking at functional examples, how would one 
transmit a terminator byte or byte size while using Socket.writeObject()?

Perhaps the reason I can't find examples is it's not even a good idea to try?

The problem I'm trying to solve is to transmit an instance of a class like this 
from the server app and reassemble it on the client:

package mn.webershandwick.firebell.data {

import fl.data.DataProvider;
public class SiteVO extends Object {

public var siteId:String;
public var posts:Array;
public var profilesDataProvider:DataProvider;

public function SiteVO() {}
  }

}

Socket.writeObject and Socket.readObject does everything for me but fails 
consistently when the amount of data held in the variables is large and 
intermittently at any size over a wireless connection.


On 2/15/12 11:41 AM, Henrik Andersson he...@henke37.cjb.net wrote:

You need to separate data manually. You have three strategies:
* Fixed size (easy, not flexible)
* Terminator (slightly tricky with buffers, flexible, possible escaping
issues, slight overhead)
* Transmitted size (easy with buffers, flexible, slight overhead)


_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] cloning custon events

2011-05-06 Thread Mattheis, Erik (MIN-WSW)
I've an app that passes events outside of the DisplayList from one class to 
another. 

In my extended CustDataEvent class:

public var param:*;

public function CiustDataEventç(type:String, bubbles:Boolean = true, 
cancelable:Boolean=false, param:* = null) {
  super(type, bubbles, cancelable);
}

public override function clone() :  Event {
  return new FirebellDataEvent(type, bubbles, cancelable, param);
}

I would like to just say:

private function sitePropertyUpdatedHandler(e:CustDataEvent) : void {
  dispatchEvent(e);
}

but to have the event param passed on I have to say:

private function sitePropertyUpdatedHandler(e:CustDataEvent) : void {
  var evt = new FirebellDataEvent(CustDataEvent.SITE_PROPERTY_UPDATED);
  evt.param = e.param;
  dispatchEvent(evt);
}

What am I not understanding? I suspect I may have to pass the param as an 
argument to CustDataEvent

Can I super the param to Event somehow? ZForgive me if I introduced errors 
while simplifying the code.


- Erik Mattheis
612 377 2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Variable scope with asynchronous SQL connection

2011-04-20 Thread Mattheis, Erik (MIN-WSW)
Two questions about the following snip.


 1.  The SQLConnection is asynchronous. Is there a possibility the function 
variable sql would get garbage collected before the event handler fires?
 2.  Will the same variable ever get marked for garbage collection?
 3.  Three questions - is there a better way of doing this? (the function could 
get called multiple times in a for loop - could/should I use a class variable?)


public function getDayOfDrill() : void {
 var sql:SQLStatement = new SQLStatement();
 sql.sqlConnection = _sqlConnection;
 sql.text =  SELECT dayOfDrill FROM time;
 sql.addEventListener(SQLEvent.RESULT, getDayOfDrillResultHandler, false, 0, 
true);
 sql.execute();
}

private function getDayOfDrillResultHandler(e:SQLEvent) : void {

 var evt:FDataEvent = new FDataEvent(FDataEvent.GET_DAY_OF_DRILL);
 evt.param = e.target.data[0];
 dispatchEvent(evt);

 }

_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash writing/reading database on MS SQL server

2011-04-20 Thread Mattheis, Erik (MIN-WSW)
I use Flash remoting with ColdFusion. There's examples for many server side 
scripting languages that come up when searching for flash femoting as3 [your 
preferred server thing].


On 4/20/11 2:31 PM, Cor c...@chello.nl wrote:

Hi List,

I am looking for a way to read/write to a database in a MS SQL server.
What do I need to do?
What is the best approach?
Do I need server side scripting, PHP or ASP?
Is there anyone who can help me with a little example?

TIA!
Regards
Cor

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



_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Variable scope with asynchronous SQL connection

2011-04-20 Thread Mattheis, Erik (MIN-WSW)
Thanks Ross, I was rewriting things along the lines of your example after 
reading Henrik's reply.


On 4/20/11 2:53 PM, Ross Sclafani ross.sclaf...@gmail.com wrote:

the problem you may run into if you call in a loop is overwriting the object 
property.

i would implement a queue:

///

private var statementQueue:Vector.SQLStatement  = new Vector.SQLStatement();

public function getDayOfDrill() : void {
var sql:SQLStatement = new SQLStatement();
sql.sqlConnection = _sqlConnection;
sql.text =  SELECT dayOfDrill FROM time;
sql.addEventListener(SQLEvent.RESULT, getDayOfDrillResultHandler, false, 0, 
true);
statementQueue.push(sql);
sql.execute();
}

private function getDayOfDrillResultHandler(e:SQLEvent) : void {

var evt:FDataEvent = new FDataEvent(FDataEvent.GET_DAY_OF_DRILL);
evt.param = e.target.data[0];
dispatchEvent(evt);
statementQueue.splice(statementQueue.indexOf(e.target,1);

}


//


On Apr 20, 2011, at 3:43 PM, Henrik Andersson wrote:

 Mattheis, Erik (MIN-WSW) skriver:
  1.  The SQLConnection is asynchronous. Is there a possibility the function 
 variable sql would get garbage collected before the event handler fires?

 It is a local variable. Yes, it is up for garbage collection the instant the 
 function returns. So if the event happens after that (as you said it will) 
 then the garbage collection may happen before that.
 ___
 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



_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Test if class is attached to document or symbol?

2011-04-20 Thread Mattheis, Erik (MIN-WSW)
Put a function in your document class and check if the function is defined?

try {
myDocumentClassFunction();
// must be your document class
catch {
// must not be your document class
}


On 4/20/11 7:31 PM, Micky Hulse mickyhulse.li...@gmail.com wrote:

Hi,

I was just curious if there is a neat way to test if a class has been
attached as a document class or if it has been attached to an object
(i.e. library symbol).

I am trying to kick the dust my AS3 braincells here... For some reason
I can't think of a good way to do this.

My goal:

1. Dynamically create new movieclip and add to stage if script is the
document class, and then apply click behaviors.
2. If attached to library symbol (movieclip), skip new movieclip
creation and just apply click behaviors to itself.

I was thinking about using typeof this.parent, but it looks like
object is all that I can get in return.

Sorry if simple one... I am sure I am overlooking a good/easy solution here. :)

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



_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Getting ID in asynchronous SQLLite connection

2011-04-19 Thread Mattheis, Erik (MIN-WSW)
I'm looping trough XML defining message board posts and inserting them into a 
SQLLite database. My problem is I need to insert replies to posts and don't 
know an ID to create the parent-child relationship. Code example:

post
contentGood morning!/contentreplysreply 
contentEr, good afternoon I mean./content/reply /replys 
/post

for each (var post:XML in _xml.day.(@day == _day).post) {
var postVO:PostVO = new PostVO();
postVO.content = post.content.text();
var postEvent:FDataEvent = new FDataEvent(FDataEvent.NEW_POST);
postEvent.param = postVO;
dispatchEvent(postEvent);

for each (var reply:XML in post.replys.*) {
trace('who is my parent?', reply.content.text());
}
}

The class this happens in is unaware of the class listening for the FDataEvent. 
Would it be  a hassle to maintain and understand if I made the class aware and 
inserted the child replies with a listener for a custom event which would 
return the ID? The way I'm inclined to do it now if to create a UUID for each 
post which I'd know when looping through the replies.

Thoughts?

_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Getting ID in asynchronous SQLLite connection

2011-04-19 Thread Mattheis, Erik (MIN-WSW)
The XML is for now going to be edited by account staff by hand, so the simpler 
the better. For now I'm creating a (fake) UUID using this class 
http://snipplr.com/view/45247/as3-globally-unique-identifier-guid/ - took just 
a few minutes to implement.


On 4/19/11 3:22 PM, Karl DeSaulniers k...@designdrumm.com wrote:

Can you set an id attr in the post tag like..

post id=message_123456789

Best,
Karl


On Apr 19, 2011, at 2:39 PM, Mattheis, Erik (MIN-WSW) wrote:

 I'm looping trough XML defining message board posts and inserting
 them into a SQLLite database. My problem is I need to insert
 replies to posts and don't know an ID to create the parent-child
 relationship.
_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Simulating image in textfield in AIR

2011-04-06 Thread Mattheis, Erik (MIN-WSW)
I'm trying to include an image tag linking to a library item in the htmlText
of a TextField in an AIR app. Not possible apparently,

 For AIR content in the application security sandbox, AIR ignores img tags
in HTML content in ActionScript TextField objects. This is to prevent
possible phishing attacks,
http://livedocs.adobe.com/flex/3/html/security_3.html

How can I get the same effect?

_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272


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


Re: [Flashcoders] Simulating image in textfield in AIR

2011-04-06 Thread Mattheis, Erik (MIN-WSW)
Meaning I can load the asset from a location other than the library? Testing, 
it strips out img tags whether the content is from the library, file system or 
network.

I'm interpreting For AIR content in the application security sandbox to mean 
content displayed within a textfield in the AIR app.

On 4/6/11 11:42 AM, Henrik Andersson he...@henke37.cjb.net wrote:

Mattheis, Erik (MIN-WSW) skriver:
  For AIR content in the application security sandbox,

You don't have to run in the application security sandbox.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Wait for several things to be loaded

2011-03-17 Thread Mattheis, Erik (MIN-WSW)
I'm building an AIR app following the MVC pattern. Several parts of the model 
have to be loaded or created before the view can be initialized. I'm doing it 
like this - which works, but seems clunky. Is there a better way? From the main 
class of the model:

public function Model() {

  _database = new Database();
  _database.addEventListener(Event.COMPLETE, handleComplete);
  _database.init();

  _siteData = new SiteData();
  _siteData.addEventListener(Event.COMPLETE, handleComplete);
  _siteData.init();

 }

private function handleComplete(e:Event) {

  if (e.target is SiteData) {
 _siteDataLoaded = true;
  }
  else if (e.target is Database) {
_databaseLoaded = true;
  }

   if (_siteDataLoaded  _databaseLoaded) {
 dispatchEvent(new Event(Event.COMPLETE));
  }

}

_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Simple encapsulation question

2011-03-16 Thread Mattheis, Erik (MIN-WSW)
I have a typical tabbed layout and am trying to figure out the simplest/best 
way to reset the focused state on the focused tab when another is clicked.

Classes:

Tab - contains graphics and a public variable referencing the MovieClip of the 
over state.

Header - creates tabs, adds event listeners, contains array of references to 
tabs and a function to loop through them and remove the over state child.

Is there a better way - to somehow add an event listener to each tab listening 
for a click on each other tab? Even if I don't know how many tabs there will be?

_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Simple encapsulation question

2011-03-16 Thread Mattheis, Erik (MIN-WSW)
Yes, I was hoping I could avoid the class of the tabs parent having to know 
anything about the Tab class.

I think I'll go with Henrik and Glen's suggestion to keep track of the tab that 
has focus.


On 3/16/11 12:20 PM, Geografiek geograf...@geografiek.nl wrote:

Hi Erik,
Can't you use the array of references to tabs to reset the focused state of all 
tabs but the one just clicked?
HTH
Willem van den Goorbergh

On 16 mrt 2011, at 18:00, Mattheis, Erik (MIN-WSW) wrote:

 I have a typical tabbed layout and am trying to figure out the simplest/best 
 way to reset the focused state on the focused tab when another is clicked.

 Classes:

 Tab - contains graphics and a public variable referencing the MovieClip of 
 the over state.

 Header - creates tabs, adds event listeners, contains array of references to 
 tabs and a function to loop through them and remove the over state child.

 Is there a better way - to somehow add an event listener to each tab 
 listening for a click on each other tab? Even if I don't know how many tabs 
 there will be?

 _ _ _
 Erik Mattheis | Weber Shandwick
 P: (952) 346.6610
 M: (612) 377.2272
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Geografiek is een in Utrecht gevestigd kartografisch bureau
Willem van den Goorbergh is telefonisch bereikbaar onder nummer 030-2719512
of mobiel: 06-26372378
Per fax is Geografiek bereikbaar onder nummer: 030-2719687
postadres: Hooghiemstraplein 89 3514 AX UTRECHT
Bezoek onze website op: www.geografiek.nl
twitter: @wvdgoorbergh
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=





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



_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] RE: map componment

2010-09-09 Thread Mattheis, Erik (MIN-WSW)
Yahoo! Maps AS3 Component: http://developer.yahoo.com/flash/maps/

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore
Sent: Thursday, September 09, 2010 2:23 PM
To: Flash Coders List
Subject: [Flashcoders] map componment

anyone know of a FREE map component?
___
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] apps that use SWFs as custom skins

2010-08-31 Thread Mattheis, Erik (MIN-WSW)
Yahoo! Messenger IMVs are made with SWFs. Are there any other chat clients or 
consumer apps that use SWFs to create custom skins?

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

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


RE: [Flashcoders] Link text indexes in a TextField

2010-08-30 Thread Mattheis, Erik (MIN-WSW)
This might give you some ideas on accomplishing what you needs to do -use 
split().join():

http://troyworks.com/blog/2008/03/14/flash-textfield-actionscript-hyperlink-in-as30/



_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Andrew Murphy
Sent: Monday, August 30, 2010 12:47 PM
To: 'Flash Coders List'
Subject: [Flashcoders] Link text indexes in a TextField

Hi. :)

Does anyone know of a way to get the beginning and ending index of a link
within a TextField?

I want the indexes of the beginning and ending of the text that makes up the
link.  For example if I pass the following HTML text into the TextField:


[p]Lorem ipsum [a href=event:block1]dolor sit[/a] amet.[/p]


What I want is the beginning and ending indexes of the dolor sit text when
the user clicks on it.  The TextEvent.LINK event passes out the value of the
href within the link text (ie: block1), which isn't terribly useful in
this case.



( ps:  I used square brackets in the example HTML text rather than angle
brackets to try avoiding issues with the list's mailer, which doesn't like
HTML code in emails. )


 --
Andrew Murphy
Interactive Media Developer
amur...@delvinia.com

Delvinia
370 King Street West, 5th Floor, Box 4 
Toronto Canada M5V 1J9
P (416) 364-1455 ext. 232
F (416) 364-9830  
W www.delvinia.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] crossdomain.xml and loadPolicyFile

2010-08-26 Thread Mattheis, Erik (MIN-WSW)
Yup, works now!

http://weber10.ws-wr.com/EM/armyIMV2010/swf/main.swf

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

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


RE: [Flashcoders] Flash detect and redirect code

2010-07-23 Thread Mattheis, Erik (MIN-WSW)
http://code.google.com/p/swfobject/ won't redirect but provide alternate 
content, generally considered superior to redirection.

From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven 
[paul_ste...@btinternet.com]
Sent: Friday, July 23, 2010 10:22 AM
To: 'Flash Coders List'
Subject: [Flashcoders] Flash detect and redirect code

Strangely I have never been asked to implement any flash detection before
and therefore have always just used the default code that Flash IDE spits
out.

Anyway a client has asked to detect if user has Flash version 8 or higher
and if not then redirect to html page.

Anyone have some code to do this? I have googled this and can't seem to find
any definitive soltution. Ideally the script would also detect if no flash
is installed for the case of iPads and the like.

Thanks

Paul

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

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


RE: [Flashcoders] Help with addChild

2010-07-16 Thread Mattheis, Erik (MIN-WSW)
Yes, more code please.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry
Sent: Friday, July 16, 2010 2:08 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Help with addChild

You are right. But do you know what it could be, Henrik? Do you need to see
some more code?

On Fri, Jul 16, 2010 at 1:34 AM, Henrik Andersson he...@henke37.cjb.netwrote:

 Deepanjan Das wrote:

 Hi,
 I think the stage has not yet been initiated, hence the addChild is not
 working.
 Try to get hold of the stage first and then so an addChild.


 While that is indeed a common problem, it is not the current problem. He is
 adding to the main timeline, not the stage.

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




-- 
J.C. Berry, M.A.
UI Developer
619.306.1712(m)
jcharlesbe...@gmail.com
portfolio: http://Client:maz...@www.mindarc.com


This E-mail is covered by the Electronic Communications Privacy Act, 18
U.S.C. ?? 2510-2521 and is legally privileged. This information is
confidential information and is intended only for the use of the individual
or entity named above. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.

___
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] Help with addChild

2010-07-16 Thread Mattheis, Erik (MIN-WSW)
I'd guess your other class is not in the display list. Do you say 
addChild(OtherClass) anywhere?

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry
Sent: Friday, July 16, 2010 2:40 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Help with addChild

From separate class:
var myPopout:myPopout = new myPopout(e.target,this.btnNum,this.cityList);
//Calls below

From other class:

public function myPopout(stageBtn,btnNum,cityList){//constructor
this.btnNum = btnNum;
this.cityList = cityList;
this.stageBtn = stageBtn;
initPopout(stageBtn,btnNum,cityList);
}

public function initPopout(stageBtn,btnNum,cityList){
if(btnNum  25){
trace(this);
var popInstance:Tba = new Tba();
popInstance.x = 10;
popInstance.y = 10;
popInstance.name = 'cityPopout'+btnNum+'_mc';
popInstance.alpha = 1;
addChild(popInstance);//no error or result

So here it only works if I use stageBtn.addChild(popInstance)





On Fri, Jul 16, 2010 at 12:33 PM, Mattheis, Erik (MIN-WSW) 
ematth...@webershandwick.com wrote:

 Yes, more code please.

 _ _ _
 Erik Mattheis
 Senior Web Developer
 Minneapolis
 T  952 346 6610
 C 612 377 2272

 Weber Shandwick
 Advocacy starts here.

 PRWeek Global Agency Report Card 2009 - Gold Medal Winner
 The Holmes Report Global Agency of the Year
 PR News Agency of the Year


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
 flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry
 Sent: Friday, July 16, 2010 2:08 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] Help with addChild

 You are right. But do you know what it could be, Henrik? Do you need to see
 some more code?

 On Fri, Jul 16, 2010 at 1:34 AM, Henrik Andersson he...@henke37.cjb.net
 wrote:

  Deepanjan Das wrote:
 
  Hi,
  I think the stage has not yet been initiated, hence the addChild is not
  working.
  Try to get hold of the stage first and then so an addChild.
 
 
  While that is indeed a common problem, it is not the current problem. He
 is
  adding to the main timeline, not the stage.
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 



 --
 J.C. Berry, M.A.
 UI Developer
 619.306.1712(m)
 jcharlesbe...@gmail.com
 portfolio: http://Client:maz...@www.mindarc.com

 

 This E-mail is covered by the Electronic Communications Privacy Act, 18
 U.S.C. ?? 2510-2521 and is legally privileged. This information is
 confidential information and is intended only for the use of the individual
 or entity named above. If the reader of this message is not the intended
 recipient, you are hereby notified that any dissemination, distribution or
 copying of this communication is strictly prohibited.

 
 ___
 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




-- 
J.C. Berry, M.A.
UI Developer
619.306.1712(m)
jcharlesbe...@gmail.com
portfolio: http://Client:maz...@www.mindarc.com


This E-mail is covered by the Electronic Communications Privacy Act, 18
U.S.C. ?? 2510-2521 and is legally privileged. This information is
confidential information and is intended only for the use of the individual
or entity named above. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.

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

___
Flashcoders

[Flashcoders] RE: Flex

2010-07-16 Thread Mattheis, Erik (MIN-WSW)
I was able to find my way around after watching the days 1 and 2 videos: 
http://www.adobe.com/devnet/flex/videotraining/

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore
Sent: Friday, July 16, 2010 3:20 PM
To: Flash Coders List
Subject: [Flashcoders] Flex

Any good flex tutorials online for beginners?

___
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] Help with addChild

2010-07-16 Thread Mattheis, Erik (MIN-WSW)
If you're creating myPopout from within the document class or any other class 
that has been added to the stage, you would say

_myPopout = new myPopout();
addChild(_myPopout);

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry
Sent: Friday, July 16, 2010 3:14 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Help with addChild

public function initPopout(stageBtn,btnNum,
cityList){
if(btnNum  25){
trace(this);
var popInstance:Tba = new Tba();
popInstance.x = 10;
popInstance.y = 10;
popInstance.name = 'cityPopout'+btnNum+'_mc';
popInstance.alpha = 1;
addChild(popInstance);//no error or result

Yes, the last line in my other class (addChild(popInstance);)  adds the
Tba instance, but it only works if I use one of the buttons on stage. How do
I add a class (myPopout) to the stage?


On Fri, Jul 16, 2010 at 1:03 PM, Mattheis, Erik (MIN-WSW) 
ematth...@webershandwick.com wrote:

 I'd guess your other class is not in the display list. Do you say
 addChild(OtherClass) anywhere?

 _ _ _
 Erik Mattheis
 Senior Web Developer
 Minneapolis
 T  952 346 6610
 C 612 377 2272

 Weber Shandwick
 Advocacy starts here.

 PRWeek Global Agency Report Card 2009 - Gold Medal Winner
 The Holmes Report Global Agency of the Year
 PR News Agency of the Year


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
 flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry
 Sent: Friday, July 16, 2010 2:40 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] Help with addChild

 From separate class:
 var myPopout:myPopout = new myPopout(e.target,this.btnNum,this.cityList);
 //Calls below

 From other class:

 public function myPopout(stageBtn,btnNum,cityList){//constructor
this.btnNum = btnNum;
this.cityList = cityList;
this.stageBtn = stageBtn;
initPopout(stageBtn,btnNum,cityList);
}

 public function initPopout(stageBtn,btnNum,cityList){
if(btnNum  25){
trace(this);
var popInstance:Tba = new Tba();
popInstance.x = 10;
popInstance.y = 10;
popInstance.name = 'cityPopout'+btnNum+'_mc';
popInstance.alpha = 1;
addChild(popInstance);//no error or result

 So here it only works if I use stageBtn.addChild(popInstance)





 On Fri, Jul 16, 2010 at 12:33 PM, Mattheis, Erik (MIN-WSW) 
 ematth...@webershandwick.com wrote:

  Yes, more code please.
 
  _ _ _
  Erik Mattheis
  Senior Web Developer
  Minneapolis
  T  952 346 6610
  C 612 377 2272
 
  Weber Shandwick
  Advocacy starts here.
 
  PRWeek Global Agency Report Card 2009 - Gold Medal Winner
  The Holmes Report Global Agency of the Year
  PR News Agency of the Year
 
 
  -Original Message-
  From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
  flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry
  Sent: Friday, July 16, 2010 2:08 PM
  To: Flash Coders List
  Subject: Re: [Flashcoders] Help with addChild
 
  You are right. But do you know what it could be, Henrik? Do you need to
 see
  some more code?
 
  On Fri, Jul 16, 2010 at 1:34 AM, Henrik Andersson he...@henke37.cjb.net
  wrote:
 
   Deepanjan Das wrote:
  
   Hi,
   I think the stage has not yet been initiated, hence the addChild is
 not
   working.
   Try to get hold of the stage first and then so an addChild.
  
  
   While that is indeed a common problem, it is not the current problem.
 He
  is
   adding to the main timeline, not the stage.
  
   ___
   Flashcoders mailing list
   Flashcoders@chattyfig.figleaf.com
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
 
 
 
  --
  J.C. Berry, M.A.
  UI Developer
  619.306.1712(m)
  jcharlesbe...@gmail.com
  portfolio: http://Client:maz...@www.mindarc.com
 
 
 
 
  This E-mail is covered by the Electronic Communications Privacy Act, 18
  U.S.C. ?? 2510-2521 and is legally privileged. This information is
  confidential information and is intended only for the use of the
 individual
  or entity named above. If the reader of this message is not the intended
  recipient, you are hereby notified that any dissemination, distribution
 or
  copying of this communication is strictly prohibited

[Flashcoders] Video encoding service

2010-07-15 Thread Mattheis, Erik (MIN-WSW)
We have a client need to allow users to record their own podcast with their 
webcam but don't want to shell out for Flash Media Interactive Server. 
Thoughts, recommendations? Link to thread in archive? Options we're exploring -

Red5 - con: no longer supported
Wowza server - con: server apps must be written in Java

Researching encoding services

nimbb.com
userplane.com
ankoder.com

Any others?



_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

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


RE: [Flashcoders] Video encoding service

2010-07-15 Thread Mattheis, Erik (MIN-WSW)
We use encoding.com for other things, but I don't believe it can do what we 
wish here: We need to grab the video from a website visitor's webcam, send the 
video to a server - preferably ours - to be served on demand later. Make sense? 
(thought ankoder.com does this, it doesn't.)

Am I missing something? I know how to capture a bitmap from a webcam and send 
it to the server with no special server software. Can one do something similar 
for a video without FMS, Red5, Wowza or a subscription service that uses one of 
these?

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mike Duguid
Sent: Thursday, July 15, 2010 3:36 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Video encoding service




 Researching encoding services

 nimbb.com
 userplane.com
 ankoder.com

 Any others?




heywatch.com
encoding.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] anone else @flashbelt10?

2010-06-15 Thread Mattheis, Erik (MIN-WSW)
Predicted winners: CS5, cornstarch AIR 2.0 4or mobile, cornstarch;. Losers: 
Apple, Apple.

Flash 10.1 on Android 2.2 is unbelievably fast. Saw a a 2000 triangle 3-d 
flight simulator on a NexusOne - flawless. Lots of wink-wink stuff about 10.1 
for RIM too.

The big letdown (and quick presentation  repurposing) about no Flash generated 
apps on the iThingies has not been all bad - at least two presenters have 
instead chosen to demonstrate cornstarch and water on audio speakers instead: 
http://www.youtube.com/watch?v=kevqQHZSeao ... and FWIW, I saw a Flash app 
exported to an iPhone - yup, in native code, although 5MB for a hello world 
app.

It was funny noticing many of the attendees sporting iPads Monday - hardly any 
today. Apparently, the word the bruhaha had not gotten out to all attendees, 
but it's impossible to miss the Apple animosity at the conference - there's 
been only a single presenter that did not at least take a couple humorous jabs 
at Apple, most speak directly about the dust-up.

Look me up at tomorrow if you're here.

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


[Flashcoders] preventing control characters from being typed

2010-05-26 Thread Mattheis, Erik (MIN-WSW)
I need to make a form that can be used without a mouse. I have

private function keyHandler(e:KeyboardEvent):void {
   if (e.controlKey) {
switch (e.keyCode) {
  case SAVE :
  saveCurrentContent();
  break;

etc, which captures a control-s just fine, but it types a box character into 
the textfield. How do I go about preventing this?
_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

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


RE: [Flashcoders] preventing control characters from being typed

2010-05-26 Thread Mattheis, Erik (MIN-WSW)
Thanks - event.preventDefault() works if I'm listening for KEY_DOWN - had tried 
it before but was listening for KEY_UP.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson
Sent: Wednesday, May 26, 2010 11:02 AM
To: Flash Coders List
Subject: Re: [Flashcoders] preventing control characters from being typed

Mattheis, Erik (MIN-WSW) wrote:
 I need to make a form that can be used without a mouse. I have

 etc, which captures a control-s just fine, but it types a box character 
 into the textfield. How do I go about preventing this?

There is a preventDefault method in the Event class. But I am not sure 
that it is used for this particular event. If it is not, just prevent 
the event from being dispatched to the final object by calling 
stopPropagation before that happens. You may need to use a capturing 
listener for that.
___
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] RE: NativeWindow options

2010-05-24 Thread Mattheis, Erik (MIN-WSW)
Solution was to listen for the NativeWindow's ACTIVATE event then set the 
HTMLLoader's width and height to that on the NaviveWindow. Same thing on RESIZE.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mattheis, Erik 
(MIN - WSW)
Sent: Thursday, May 20, 2010 10:13 AM
To: Flash Coders List
Subject: [Flashcoders] NativeWindow options

I'm having trouble finding examples of how to get html in NativeWindows to 
scale as I want. The following makes a portion of the HTML the size of the 
window that spawned it visible. I need to launch a resizable window and have 
HTML completely fill it at an arbitrary size. Help? Thanks!

var options:NativeWindowInitOptions = new NativeWindowInitOptions();
options.maximizable = true;
options.resizable = true;

var twitter:NativeWindow = new NativeWindow(options);
twitter.stage.scaleMode = StageScaleMode.NO_SCALE;
twitter.stage.align = StageAlign.TOP_LEFT;
twitter.activate();

var html:HTMLLoader = new HTMLLoader();
var urlReq:URLRequest = new URLRequest(twitter.html);
html.load(urlReq);

twitter.stage.addChild(html);
_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

___
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] Upgrade from MX2004 to CS4 - issues?

2010-05-20 Thread Mattheis, Erik (MIN - WSW)
You won't be able to save as a MX2004 file from CS4.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Jinks
Sent: Thursday, May 20, 2010 9:27 AM
To: Flash Coders List
Subject: [Flashcoders] Upgrade from MX2004 to CS4 - issues?

I'm covering for a colleague and am working on their Flash projects
using MX2004, which . However, I just discovered that we have a
license for CS4 but that she's stuck with the older version because of
'compatibility' problems.

Any idea what these are? She isn't around to ask.

Part of the picture is that we have a couple of templates in AS1 -
will CS4 meddle with these in anyway?

TIA

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

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


[Flashcoders] NativeWindow options

2010-05-20 Thread Mattheis, Erik (MIN - WSW)
I'm having trouble finding examples of how to get html in NativeWindows to 
scale as I want. The following makes a portion of the HTML the size of the 
window that spawned it visible. I need to launch a resizable window and have 
HTML completely fill it at an arbitrary size. Help? Thanks!

var options:NativeWindowInitOptions = new NativeWindowInitOptions();
options.maximizable = true;
options.resizable = true;

var twitter:NativeWindow = new NativeWindow(options);
twitter.stage.scaleMode = StageScaleMode.NO_SCALE;
twitter.stage.align = StageAlign.TOP_LEFT;
twitter.activate();

var html:HTMLLoader = new HTMLLoader();
var urlReq:URLRequest = new URLRequest(twitter.html);
html.load(urlReq);

twitter.stage.addChild(html);
_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

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


RE: [Flashcoders] Upgrade from MX2004 to CS4 - issues?

2010-05-20 Thread Mattheis, Erik (MIN - WSW)
Yes, AS1 is supported in both CS4 and CS5.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Jinks
Sent: Thursday, May 20, 2010 10:41 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Upgrade from MX2004 to CS4 - issues?

Thanks Eric

I'm guessing that this won't be a problem, since once we've made the
move we won't need to save files for MX2004.

Will transitioning to CS4 disrupt the files in anyway e.g. render the
code differently - the adobe documentation suggests that AS1 is
supported in CS4 - can anyone confirm this?

Sorry for being so vague.  I'm trying to guess what the problems
anticipated might have been.

Cheers

Paul

On 20 May 2010 16:01, Mattheis, Erik (MIN - WSW)
ematth...@webershandwick.com wrote:
 You won't be able to save as a MX2004 file from CS4.

 _ _ _
 Erik Mattheis
 Senior Web Developer
 Minneapolis
 T  952 346 6610
 C 612 377 2272

 Weber Shandwick
 Advocacy starts here.

 PRWeek Global Agency Report Card 2009 - Gold Medal Winner
 The Holmes Report Global Agency of the Year
 PR News Agency of the Year

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com 
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Jinks
 Sent: Thursday, May 20, 2010 9:27 AM
 To: Flash Coders List
 Subject: [Flashcoders] Upgrade from MX2004 to CS4 - issues?

 I'm covering for a colleague and am working on their Flash projects
 using MX2004, which . However, I just discovered that we have a
 license for CS4 but that she's stuck with the older version because of
 'compatibility' problems.

 Any idea what these are? She isn't around to ask.

 Part of the picture is that we have a couple of templates in AS1 -
 will CS4 meddle with these in anyway?

 TIA

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

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




-- 
Paul Jinks
Assistant Development Librarian
University of Sheffield Library
Tel: [0114 22] 27235

___
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] RE: Astra Components

2010-05-19 Thread Mattheis, Erik (MIN - WSW)
I found this quite thorough: 
http://developer.yahoo.com/flash/astra-flash/classreference/ - 

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore
Sent: Tuesday, May 18, 2010 8:00 AM
To: Flash Coders List
Subject: [Flashcoders] Astra Components

Does anyone know of any good documentation for the Astra components? The stuff 
that comes with it is not very thorough... I am trying to figure out how to 
customize the charts
___
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] Oh the irony

2010-05-16 Thread Mattheis, Erik (MIN - WSW)
I'll say this again: I see no financial benefit to Adobe for keeping the Flash 
Player the standard for a rich Internet. If HTL5 + JS can do everything - or 
part of everything - the Flash Player can do. There's no harm done to Adobe by 
adding a Export as HTML5 option. We've even seen it demonstrated with the 
Smart Paste videos. 

Illustrator chart connected to live data: 
http://www.youtube.com/watch?v=JhjLlPegA8I
The above + Flash created animation: http://www.youtube.com/watch?v=v69S22ZBBqA

Adobe makes money by selling the authoring tools, not the Player.

From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ktu 
[ktu_fl...@cataclysmicrewind.com]
Sent: Saturday, May 15, 2010 2:02 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Oh the irony

From all of this crazy stuff going on the last couple of months, I can't
wait to see what happens.

apple blatantly bashed Flash.
They still offer Flash in their own store (because Adobe products have
helped keep apple alive).
Their policy changes.
the new iad network.
the iBad

TLF
Flash on Android and other smartphones
Google's support
CS5

Shit is changing, and all I can say is; lets do our part to make it change
the way we want it to change.

I've never been a huge fan of apple (and their keyboard shortcuts just don't
make sense). The more of this type of information to fuel the conflict will
only cause more change. Keep finding the good stuff.

Ktu
(sorry for my troll comment earlier)



On Sat, May 15, 2010 at 11:20 AM, Matt S. mattsp...@gmail.com wrote:

 that being said, I just looked at it from a different computer and it
 was using video so I'll just go ahead and put the mud on my own face
 ;) . Apparently on the previous computer it rolled back to Quicktime
 for some reason.

 .m

 On Sat, May 15, 2010 at 11:16 AM, Matt S. mattsp...@gmail.com wrote:
  On Sat, May 15, 2010 at 9:58 AM, Kerry Thompson al...@cyberiantiger.biz
 wrote:
  I don't see anything ironic about using QuickTime. It's one of Apple's
  big success stories.
 
  I can kind of see them pushing HTML5 over Flash, for business reasons.
  But why would they want to use HTML5 over their own product?
 
  Of course you're right, *IF* you acknowledge that Steve Jobs' recent
  decisions have primarily been based on cold hard business
  calculations, which most of us do. But that's not the argument *he*,
  or other anti-Flashers are making. You hear all the time that the
  problem with Flash is that, as a plug-in, it exists outside the stack,
  in its own isolated box, whereas HTML5 is standards compliant and
  completely open and exists as part of the natural code flow. That is
  certainly true to a large extent, but the exact same thing can be said
  of Quicktime.
 
  Secondly, Jobs has made a very specific distinction between the iPhone
  vs the browser. While acknowledging that the iPhone is obviously a
  closed garden, he has said that when it comes to the *browser*, Apple
  is all about open, non-proprietary, standards compliant, HTML5, etc
  etc. And clearly, Quicktime is just as closed and proprietary as
  Flash, if not more so.
 
  Thirdly, I dont need to tell anyone here just how central the video
  tag has been in the whole debate. How often do you hear people saying
  that with the video tag, Flash is dead, completely ignoring
  everything else Flash does? If ever there was a proof of concept where
  Jobs  Co. should be putting their money where their mouth is, video
  is it. Especially since this video isnt DRM or in need of any other of
  the more advanced features that HTML5 can't handle yet.
 
  .m
 
 ___
 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] Oh the irony

2010-05-16 Thread Mattheis, Erik (MIN - WSW)
Sort of makes one wonder if Apple knows Adobe isn't tied to a specific platform 
whereas Apple by definition is.

Very insightful - a specific technology makes that technology dwindle, it's an 
unstoppable force. Adobe is more loose footed  than Apple in the current 
bruhaha - creating the 10.1 player to work well across a variety of devices vs 
a locked down business model. Consumers and Adube won't give a f**k  whether 
the creative output from their products is through HTML5, the Flash Player or 
some other technology.

That said, if WebKit works identically across platforms, Adobe has nothing to 
lose by adapting the products to target it. The only way I can see this making 
sense for Apple is if they're aiming to eclipse Adobe with an authoring tool. 
And if it exports to Android, RIM, etc, well I'll adopt to it. But it seems to 
me Adobe is ahead in that game.

(Sent from my Mac Mini, haha)

From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt S. 
[mattsp...@gmail.com]
Sent: Sunday, May 16, 2010 6:29 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Oh the irony

Absolutely. Where HTML5 can replace Flash, it should. I have no
problem with that. I actually think HTML5 is pretty cool. I just dont
think it needs to be an either/or question, and find the
struggle-to-the-death approach that Jobs is championing ludicrous, and
find alot of the Flash is dead because... statements to be based on
false assumptions. Yeah, of course, if you ban it from devices, it
will die, but that isnt exactly allowing the technology to evolve
organically. Bad technology dies under its own weight. No one needed
to drown Netscape or Director or Cobol in the bathtub in order to get
rid of them. If Flash's day is done, it will die soon enough on its
own. All Jobs has done is convince a whole swath of decision-makers
that Flash is toxic and shouldnt be touched, even in cases where Flash
is actually the superior option, and thats just a shame. How many game
developers are now being asked We want to do something like
http://www.gettheglass.com/but NOT in Flash, because Flash is
dead. You can do that in HTML5 right? And it needs to run perfectly on
the iPad.

.m

On Sun, May 16, 2010 at 7:15 PM, Mattheis, Erik (MIN - WSW)
ematth...@webershandwick.com wrote:
 I'll say this again: I see no financial benefit to Adobe for keeping the 
 Flash Player the standard for a rich Internet. If HTL5 + JS can do everything 
 - or part of everything - the Flash Player can do. There's no harm done to 
 Adobe by adding a Export as HTML5 option. We've even seen it demonstrated 
 with the Smart Paste videos.


___
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] Buggy Tween

2010-05-13 Thread Mattheis, Erik (MIN - WSW)
Could it be you have var tween_handler:Tween inside of a function? If it's a 
class variable it won't get garbage collected, if it within a function it's 
eligible for garbage collection when the function is complete.

YES:
class myClass {

var tween_handler:Tween;

function myFunction() {
 tween_handler = new Tween(mc,alpha,Strong.easeInOut,1,0,.5,true);
}
}

NO:
class myClass {

function myFunction() {
 var tween_handler:Tween;
 tween_handler = new Tween(mc,alpha,Strong.easeInOut,1,0,.5,true);
}
}

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore
Sent: Thursday, May 13, 2010 6:11 AM
To: Flash Coders List
Subject: RE: [Flashcoders] Buggy Tween

Thanks - for to need such hand holding I tried what you said but get the 
same results... What should be in the //do your stuff here?

as far as I have it now - the tween is still handled in the original tween 
(tween_handler in your example)


From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of John R. Sweeney Jr 
[jr.swee...@comcast.net]
Sent: Wednesday, May 12, 2010 6:38 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Buggy Tween

Howdy,

 You tween objects got garbage collected.

I was bit very hard by that one in a kiosk touch screen that needed to have
certain things happen after the tween was finished. So when garbage
collection stopped the tween, things went very messed up and/or locked up.
:)

Here is how I fixed that:

var tween_handler:Tween;

tween_handler = new Tween(mc,alpha,Strong.easeInOut,1,0,.5,true);
tween_handler .addEventListener (TweenEvent.MOTION_FINISH, doYourFunction;

function doYourFunction (evt:TweenEvent):void
{
tween_handler .removeEventListener (TweenEvent.MOTION_FINISH,
doYourFunction);

// do your stuff here
}



Then you should be fine,
John



on 5/12/10 2:44 PM, Lehr, Theodore at ted_l...@federal.dell.com wrote:

 thanks - I'll look into how to do that


John R. Sweeney Jr.
Interactive Multimedia Developer

OnDemand Interactive Inc
945 Washington Blvd.
Hoffman Estates, IL 60169
Office/Fax: 847.310.5959
Cellular: 847.651.4469
www.ondemandinteractive.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


[Flashcoders] RE: PDFs, HTML5 and iPads

2010-05-11 Thread Mattheis, Erik (MIN - WSW)
I hear this new technology, CSS-P is going to make using tables for layout 
obsolete. Ha ha.

And Mac's Preview app is the default PDF reader.



_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mendelsohn, 
Michael
Sent: Tuesday, May 11, 2010 7:49 AM
To: Flash Coders List
Subject: [Flashcoders] OT: PDFs, HTML5 and iPads

Hi list...

It seems to me that Flash might not be the tool most threatened by HTML5, but 
rather the PDF format.  HTML5 obviously can't replace all of Flash's 
capabilities.  But, it has all of these new tags that enhance the accuracy of 
describing documents.  So, should the Adobe Reader plugin feel more afraid?  

On a side note, is the iPad supporting the Reader plugin?

Just wondering,
- Michael M.

___
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] RE: changing parent from child

2010-05-11 Thread Mattheis, Erik (MIN - WSW)
Did you mean to say removeChildAt(0)?

Have you tried Loader.unload()?

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore
Sent: Tuesday, May 11, 2010 10:15 AM
To: Flash Coders List
Subject: [Flashcoders] changing parent from child

I have a container swf - with a child... I want to have a button in the child 
that will change the child in the parent... so if I have:

Parent.swfChild 1.swf

Once I click on a button in child 1, I will have

Parent.swfChild 2.swf

I have tried removeChild(0) to take out the original swf, but that only seems 
to work once
___
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] ExternalInterface broken? chrome and safari on linux...

2010-05-05 Thread Mattheis, Erik (MIN - WSW)
http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInterface.html
 

Flash Player for Linux version 9.0.31.0 and later supports the 
ExternalInterface class in the following browsers:

Browser
Mozilla 1.7.x and later
Firefox 1.5.0.7 and later
SeaMonkey 1.0.5 and later

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of tom rhodes
Sent: Wednesday, May 05, 2010 10:26 AM
To: flashcoders
Subject: [Flashcoders] ExternalInterface broken? chrome and safari on linux...

anyone got ExternalInterface calls working in chrome/safari on linux?

or know why mine might be failing? they work on everything else seemingly...

tia,

tom.
___
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] XML Question

2010-05-05 Thread Mattheis, Erik (MIN - WSW)
I think you just need a root node.

var xmlData:XML = new XML (rootPAGE pg_name='index'DETAILSpage/DETAILS 
/PAGE/root);
trace(xmldata.pa...@pg_name.tostring() == index); // true

var xmlData:XML = new XML (PAGE pg_name='index'DETAILSpageDETAILS 
/PAGE);
trace(xmldata.pa...@pg_name.tostring() == index); // false

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of John Singleton
Sent: Wednesday, May 05, 2010 11:03 AM
To: Flash Coders List
Subject: Re: [Flashcoders] XML Question

- Original Message 

 From: jonathan howe jonathangh...@gmail.com
 To: Flash Coders List flashcoders@chattyfig.figleaf.com
 Sent: Wed, May 5, 2010 11:23:25 AM
 Subject: Re: [Flashcoders] XML Question
 
 You forgot your break; statements, sir.

You're right, however it makes no difference in the outcome. It still defaults 
to the default:

function completeXMLListener(e:Event):void
{
var xmlData:XML = XML (e.target.data);
trace(xmldata.pa...@pg_name.tostring())
switch (xmldata.pa...@pg_name.tostring())
{
case index:
pageDetails = xmlData.PAGE.DETAILS.toString();
break;
case contact:
pageDetails = xmlData.PAGE.DETAILS.toString();
break;
default:
pageDetails = xmlData.PAGE.DETAILS.toString();
trace(pageDetails);
break;
}
MyTextBlock();
}

and that is not what I want. I just put a couple of traces in the other cases 
and they didn't fire. Please explain.
TIA.
John

On Wed, May 5, 2010 at 11:12 AM, 
 John Singleton

 href=mailto:johnsingleton...@yahoo.com;johnsingleton...@yahoo.comwrote:

 
 - Original Message 

  From: allandt bik-elliott (
 target=_blank href=http://thefieldcomic.com;thefieldcomic.com) 
 ymailto=mailto:alla...@gmail.com; 
 href=mailto:alla...@gmail.com;alla...@gmail.com
 
 
  i'd also recommend having a root node and an xml type declaration 
 at
  the start

 Right. Ok, here's my revised 
 code:

 ?xml version=1.0?
 
 SITE
  PAGE pg_name='index'

 DETAILSThis is some more of the home page./DETAILS
  
 /PAGE
  PAGE pg_name='contact'

 DETAILSThis is some more of the contact 
 page./DETAILS
  /PAGE
 
 /SITE

function 
 completeXMLListener(e:Event):void

 {
var xmlData:XML = XML 
 (e.target.data);
trace(
 ymailto=mailto:xmldata.pa...@pg_name.tostring; 
 href=mailto:xmldata.pa...@pg_name.tostring;xmldata.pa...@pg_name.tostring())
  
   switch (
 ymailto=mailto:xmldata.pa...@pg_name.tostring; 
 href=mailto:xmldata.pa...@pg_name.tostring;xmldata.pa...@pg_name.tostring())
  
   {
  
   case index:
  
   pageDetails = 
 xmlData.PAGE.DETAILS.toString();
  
   case contact:
  
   pageDetails = 
 xmlData.PAGE.DETAILS.toString();
  
   default:

 pageDetails = 
 xmlData.PAGE.DETAILS.toString();
  
   trace(pageDetails);

 }

 MyTextBlock();
}

 The first 
 trace nicely prints out what I would expect (I think, should have
 been 
 on two lines):

 indexcontact

 The second trace 
 also prints:

 DETAILSThis is some more of the home 
 page./DETAILS
 DETAILSThis is some more of the contact 
 page./DETAILS

 indicating, of course, that the default is 
 firing. Why?
 TIA,
 John




 
 ___
 Flashcoders mailing 
 list
 
 href=mailto:Flashcoders@chattyfig.figleaf.com;Flashcoders@chattyfig.figleaf.com
 
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
 
-jonathan 
 howe
___
Flashcoders mailing 
 list

 href=mailto:Flashcoders@chattyfig.figleaf.com;Flashcoders@chattyfig.figleaf.com

 href=http://chattyfig.figleaf.com/mailman/listinfo/flashcoders; 
 target=_blank 
 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] Changing display index on the stage

2010-05-05 Thread Mattheis, Erik (MIN - WSW)
Look into getChildByName to get a reference to the MC on the stage, ie 
getChildByName('instanceName').x.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of natalia 
Vikhtinskaya
Sent: Wednesday, May 05, 2010 12:17 PM
To: Flash Coders List
Subject: [Flashcoders] Changing display index on the stage

Hi
Is it possible to have mc1 manually placed on stage be over mc2
created dynamically
mc2=new MovieClip();
addChild(mc2)
___
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] Question about Flash Builder 4

2010-05-05 Thread Mattheis, Erik (MIN - WSW)
Go me! What about just saying

nav.btnBack.gotoAndStop(1);
nav.btnNext.gotoAndStop(1);

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 – Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki
Sent: Wednesday, May 05, 2010 2:40 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Question about Flash Builder 4

Found it Under Build - sorry for the noise :)

On Wed, May 5, 2010 at 3:35 PM, Eric E. Dolecki edole...@gmail.com wrote:

 Ok, I'll bite - where is that setting? Poking around in prefs right now.


 On Wed, May 5, 2010 at 3:16 PM, Henrik Andersson he...@henke37.cjb.netwrote:

 Eric E. Dolecki wrote:

 Quick question... my document class is in FB4 and it's linked with my FLA
 in
 Flash CS5. Every time I save the document class, it publishes the FLA in
 the
 IDE. Is there a way to turn that off (even temporarily)?

 Eric


 Turn off automatic building.

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




 --
 http://ericd.net
 Interactive design and development




-- 
http://ericd.net
Interactive design and development
___
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] Question about MouseEvent.ROLL_OVER and ROLL_OUT

2010-05-05 Thread Mattheis, Erik (MIN - WSW)
Instead of using a MC the size of the stage, you may want to try listening like 
-

this.root.addEventListener(MouseEvent.ROLL_OVER, overHandler) and

this.stage.addEventListener(Event.MOUSE_LEAVE, offHandler);
_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Donald Talcott
Sent: Wednesday, May 05, 2010 4:36 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Question about MouseEvent.ROLL_OVER and ROLL_OUT

I have an AS3 fla file with a mc and stop() on frame 1 and different content on 
additional frames.
When the swf is launched, I would like to have a MouseEvent.ROLL_OVER with a 
function to gotoAnd Play frame 2. Also I would like to have a 
MouseEvent.ROLL_OUT with a function to gotoAndSop on frame 1. I have added a mc 
the size of my file and used it as a button. I can get the ROLL_OVER to work, 
but not the ROLL_OUT. I hope this is not to vague. Can anyone help.


Don Talcott
316 Greenwood Ave
Decatur, GA 30030
404 538-1642
dtalc...@mindspring.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] Timer object created twice in class

2010-05-04 Thread Mattheis, Erik (MIN - WSW)
Here's a snippit and a timeline version of it - when I run it on the timeline, 
it works as expected, but when I run it within my class it acts as though there 
are two instances of the _timer object.

On the timeline, it works as expected, tracing,

1 1
True

But when I have it inside my class, it traces,

1 0
false
1 1
True

What am I not seeing or understanding here? Thanks..

//  Version on timeline:

var _timer:Timer;

function init() {
 _timer = new Timer(250, 0);
 _timer.addEventListener(TimerEvent.TIMER, checkPlaying);
 _timer.start();
}

function checkPlaying(e:TimerEvent) : void {
 if (1 == 1) {
  e.target.stop();
  trace(e.target.currentCount, _timer.currentCount);
  trace(e.target == _timer);
 }
}

init();

// Version in class:

public function Tracker(video) {
 _video = video;
}

public function init() {
 _timer = new Timer(250, 0);
 _timer.addEventListener(TimerEvent.TIMER, checkPlaying);
 _timer.start();
}

function checkPlaying(e:TimerEvent) : void
 if (1 == 1) {
  e.target.stop();
  trace(e.target.currentCount, _timer.currentCount);
  trace(e.target == _timer);
 }
}

I'm instantiating it from another class like this:

if (_tracker == null) {
 _tracker = new Tracker(_videoScreen);
}
_tracker.init();
_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

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


[Flashcoders] RE: Timer object created twice in class

2010-05-04 Thread Mattheis, Erik (MIN - WSW)
Figured out part of it, but don't understand what I figured out - fixed with -


if (_tracker == null) {
 _tracker = new Tracker(_videoScreen);
}
else {
_tracker.init();
}

There's no call to init() in my constructor, yet it's being called. How is this 
happening?

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mattheis, Erik 
(MIN - WSW)
Sent: Tuesday, May 04, 2010 1:59 PM
To: Flash Coders List
Subject: [Flashcoders] Timer object created twice in class

Here's a snippit and a timeline version of it - when I run it on the timeline, 
it works as expected, but when I run it within my class it acts as though there 
are two instances of the _timer object.

On the timeline, it works as expected, tracing,

1 1
True

But when I have it inside my class, it traces,

1 0
false
1 1
True

What am I not seeing or understanding here? Thanks..

//  Version on timeline:

var _timer:Timer;

function init() {
 _timer = new Timer(250, 0);
 _timer.addEventListener(TimerEvent.TIMER, checkPlaying);
 _timer.start();
}

function checkPlaying(e:TimerEvent) : void {
 if (1 == 1) {
  e.target.stop();
  trace(e.target.currentCount, _timer.currentCount);
  trace(e.target == _timer);
 }
}

init();

// Version in class:

public function Tracker(video) {
 _video = video;
}

public function init() {
 _timer = new Timer(250, 0);
 _timer.addEventListener(TimerEvent.TIMER, checkPlaying);
 _timer.start();
}

function checkPlaying(e:TimerEvent) : void
 if (1 == 1) {
  e.target.stop();
  trace(e.target.currentCount, _timer.currentCount);
  trace(e.target == _timer);
 }
}

I'm instantiating it from another class like this:

if (_tracker == null) {
 _tracker = new Tracker(_videoScreen);
}
_tracker.init();
_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

___
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] RE: Timer object created twice in class

2010-05-04 Thread Mattheis, Erik (MIN - WSW)
Ah, thanks. The event handler containing the conditional was being called 
twice, I had an unnecessary dispatchEvent(e) in another class.

PS: I replaced the actual conditional with (1 == 1) when simplifying the code 
to see where what was going wrong, ha. It actually checks to see if at least 
five seconds of a video have played.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason
Sent: Tuesday, May 04, 2010 2:39 PM
To: Flash Coders List
Subject: RE: [Flashcoders] RE: Timer object created twice in class

_tracker is not null - so you must be creating it somewhere else, or the below 
code has already run.


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 Mattheis, Erik 
(MIN - WSW)
Sent: Tuesday, May 04, 2010 3:33 PM
To: Flash Coders List
Subject: [Flashcoders] RE: Timer object created twice in class

Figured out part of it, but don't understand what I figured out - fixed with -


if (_tracker == null) {
 _tracker = new Tracker(_videoScreen);
}
else {
_tracker.init();
}

There's no call to init() in my constructor, yet it's being called. How is this 
happening?

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner The Holmes Report 
Global Agency of the Year PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mattheis, Erik 
(MIN - WSW)
Sent: Tuesday, May 04, 2010 1:59 PM
To: Flash Coders List
Subject: [Flashcoders] Timer object created twice in class

Here's a snippit and a timeline version of it - when I run it on the timeline, 
it works as expected, but when I run it within my class it acts as though there 
are two instances of the _timer object.

On the timeline, it works as expected, tracing,

1 1
True

But when I have it inside my class, it traces,

1 0
false
1 1
True

What am I not seeing or understanding here? Thanks..

//  Version on timeline:

var _timer:Timer;

function init() {
 _timer = new Timer(250, 0);
 _timer.addEventListener(TimerEvent.TIMER, checkPlaying);  _timer.start(); }

function checkPlaying(e:TimerEvent) : void {  if (1 == 1) {
  e.target.stop();
  trace(e.target.currentCount, _timer.currentCount);
  trace(e.target == _timer);
 }
}

init();

// Version in class:

public function Tracker(video) {
 _video = video;
}

public function init() {
 _timer = new Timer(250, 0);
 _timer.addEventListener(TimerEvent.TIMER, checkPlaying);  _timer.start(); }

function checkPlaying(e:TimerEvent) : void  if (1 == 1) {
  e.target.stop();
  trace(e.target.currentCount, _timer.currentCount);
  trace(e.target == _timer);
 }
}

I'm instantiating it from another class like this:

if (_tracker == null) {
 _tracker = new Tracker(_videoScreen);
}
_tracker.init();
_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner The Holmes Report 
Global Agency of the Year PR News Agency of the Year

___
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] iPhone viable solutions???

2010-05-04 Thread Mattheis, Erik (MIN - WSW)
I believe Adobe's already demonstrated this, as well as bringing in 
illustrations from Illustrator and PS - google for adobe smart paste to get a 
video demo.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-

On May 4, 2010, at 6:20 AM, allandt bik-elliott (thefieldcomic.com)  
wrote:

 gordon was done as a proof of concept javascript substitute for the  
 plugin
 - http://paulirish.com/work/gordon/demos/ - it's rudimentary at the  
 moment
 but if combined with html5, it shows that it's possible for adobe  
 to start
 taking different routes around the plugin problem

 a

 On 30 April 2010 21:36, Karl DeSaulniers k...@designdrumm.com wrote:

 Yes, for the quake game, because it is a multiplayer game that  
 takes a
 dedicated server,
 there will always be some setup, but I think that is if you want to
 display/host the game.
 Not for actually playing it. But I had not investigated that far.

 I don't think that their will be that much set-up to display  
 flash. Or
 there shouldn't be.


 Karl


 On Apr 30, 2010, at 3:14 PM, Jer Brand wrote:

  http://code.google.com/p/quake2-gwt-port/wiki/BuildingAndRunning



 On Fri, Apr 30, 2010 at 1:53 PM, Karl DeSaulniers  
 k...@designdrumm.com
 wrote:

  Well if they can do this..

 http://code.google.com/p/quake2-gwt-port/

 I am thinking that HTML 5 could run flash without a plugin possibly


 On Apr 30, 2010, at 7:01 AM, allandt bik-elliott  
 (thefieldcomic.com)
 wrote:

  maybe someone will come up with a way of displaying .swf files  
 within

 html5


 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

 ___
 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] letter from Steve Jobs on Flash

2010-04-30 Thread Mattheis, Erik (MIN - WSW)
I see you're trying to be objective, but the crux of Job's bogus argument is 
it's impossible to make good apps for the iPhone in the Flash development 
environment, and they're protecting their consumers.

Others have pointed out that even if this is true, which it's not, part of the 
problem would be that Apple hasn't worked with Adobe on making the Player 
perform optimally on Macs. Plus, the app store has a lot of crappy apps among 
the 200,000 that weren't developed with Flash; if Apple's concern was user 
experience, they'd be more selective in apps made available, regardless of how 
they were developed. And why the selective enforcement of the no cross 
compilers unless they're originally coded in one of three flavors of C?

I'm a decades long Apple fanatic and own stock, but their recent behavior has 
been spiteful and benefits neither developers or consumers. Jon Stewart's 
commentary says it all. And today, we find Apple is shutting down LaLa.com, 
which it recently acquired. http://mashable.com/2010/04/30/lala-shutdown/ This 
move is the equivalent of Capitol buying Virgin Records and sending someone out 
to your house to take back all your old David Bowie,  XTC, Peter Tosh records 
and telling it’s OK, you can look through our catalog, I’m sure you’ll find 
something you’ll like just as much!
 
Apple, meet shark. Jump!

Also as others have insinuated, Adobe isn't vested in people having the Flash 
Player. If exporting as HTML5+JS will perform everything without the Flash 
Player, Adobe will have nothing to loose and everything to gain: they won't 
have to promote the plug-in nor provide and maintain downloads for the Player. 
Adobe moving on is their way of saying OK, hotshot, bring it on.

From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Anthony Pace 
[anthony.p...@utoronto.ca]
Sent: Friday, April 30, 2010 8:16 PM
To: Flash Coders List
Subject: Re: [Flashcoders] letter from Steve Jobs on Flash

After complaining for years that developers needed access to the raw
audio data from the mic, that we are just finally seeing progress in
10.1.  The lack of feature support in their tools, the bugs they have
had for years with unloading objects, and the performance issues the
player has, all make it so Adobe has almost no legs to stand on; for, as
Steve Jobs' said:

We cannot be at the mercy of a third party deciding if and when they
will make our enhancements available to our developers.

However, although the above is most definitely true, Apple is forcing
users and developers into a world with one standard and one figure head
to dictate all measures.  Plainly put, apple is being too big brother
about this.
___
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] letter from Steve Jobs on Flash

2010-04-30 Thread Mattheis, Erik (MIN - WSW)
Well I hope you're not saying you're taking the ball and going home! Ha ha. 
Admittedly, I suffer from preconception complex in this matter as I've tended 
to seek out and agree with information that upholds my desire to see Apple as 
the bad guy here. I've read all the posts here on this topic carefully, and 
tried to do so objectively. I'm interested in hearing what facts I've put forth 
which I've been led to believe are true, but aren't.

The Buisnessweek article about how Adobe shifted resources away from mobile is 
pretty damning, but still that doesn't impact the fact that 10.1 is aimed as 
best as it can at mobile. What I see now is Adobe actively trying to cooperate 
with other companies to improve the experience of Flash developers and 
consumers, and Apple actively trying to sabotage any potential for Flash to 
compete with the app store.

But again, I want to be certain of what I'm relating about this to my 
coworkers, so I hope I get some factual corrections. I'd rather be accurate 
than righteous! Thx.

From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of eric dolecki GMail 
[edole...@gmail.com]
Sent: Friday, April 30, 2010 9:14 PM
To: Flash Coders List
Subject: Re: [Flashcoders] letter from Steve Jobs on Flash

I think its time to read what you wrote yourself as you've authored some 
inaccuracies yourself in regards to Apple working with Adobe, the whole flavors 
of C thing, etc. It's very interesting reading for the first twenty posts or 
so, but i think its time for me to filter this thread.

E.

Sent from my iPad

On Apr 30, 2010, at 9:59 PM, Mattheis, Erik (MIN - WSW) 
ematth...@webershandwick.com wrote:

 I see you're trying to be objective, but the crux of Job's bogus argument is 
 it's impossible to make good apps for the iPhone in the Flash development 
 environment, and they're protecting their consumers.

 Others have pointed out that even if this is true, which it's not, part of 
 the problem would be that Apple hasn't worked with Adobe on making the Player 
 perform optimally on Macs. Plus, the app store has a lot of crappy apps among 
 the 200,000 that weren't developed with Flash; if Apple's concern was user 
 experience, they'd be more selective in apps made available, regardless of 
 how they were developed. And why the selective enforcement of the no cross 
 compilers unless they're originally coded in one of three flavors of C?

 I'm a decades long Apple fanatic and own stock, but their recent behavior has 
 been spiteful and benefits neither developers or consumers. Jon Stewart's 
 commentary says it all. And today, we find Apple is shutting down LaLa.com, 
 which it recently acquired. http://mashable.com/2010/04/30/lala-shutdown/ 
 This move is the equivalent of Capitol buying Virgin Records and sending 
 someone out to your house to take back all your old David Bowie,  XTC, Peter 
 Tosh records and telling it’s OK, you can look through our catalog, I’m sure 
 you’ll find something you’ll like just as much!

 Apple, meet shark. Jump!

 Also as others have insinuated, Adobe isn't vested in people having the Flash 
 Player. If exporting as HTML5+JS will perform everything without the Flash 
 Player, Adobe will have nothing to loose and everything to gain: they won't 
 have to promote the plug-in nor provide and maintain downloads for the 
 Player. Adobe moving on is their way of saying OK, hotshot, bring it on.
 
 From: flashcoders-boun...@chattyfig.figleaf.com 
 [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Anthony Pace 
 [anthony.p...@utoronto.ca]
 Sent: Friday, April 30, 2010 8:16 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] letter from Steve Jobs on Flash

 After complaining for years that developers needed access to the raw
 audio data from the mic, that we are just finally seeing progress in
 10.1.  The lack of feature support in their tools, the bugs they have
 had for years with unloading objects, and the performance issues the
 player has, all make it so Adobe has almost no legs to stand on; for, as
 Steve Jobs' said:

 We cannot be at the mercy of a third party deciding if and when they
 will make our enhancements available to our developers.

 However, although the above is most definitely true, Apple is forcing
 users and developers into a world with one standard and one figure head
 to dictate all measures.  Plainly put, apple is being too big brother
 about this.
 ___
 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] letter from Steve Jobs on Flash

2010-04-29 Thread Mattheis, Erik (MIN - WSW)
Ha ha http://topherchris.com/post/558594718

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


[Flashcoders] JW Player API documentation

2010-04-22 Thread Mattheis, Erik (MIN - WSW)
Has anyone made a plugin for the JW Player? I'm tasked with doing so, and can't 
find documentation of the API. Is there any? Do they just expect you to dig 
through the classes and figure out what you can do?

Thanks.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

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


RE: [Flashcoders] JW Player API documentation

2010-04-22 Thread Mattheis, Erik (MIN - WSW)
Thanks, have seen that page - I'm looking for documentation in the sense of 
definitions of the properties, methods and events available to the plug-in.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt Gitchell
Sent: Thursday, April 22, 2010 11:21 AM
To: Flash Coders List
Subject: Re: [Flashcoders] JW Player API documentation

We've done several.
*http://developer.longtailvideo.com/trac/wiki/Player5PluginsBuilding

--Matt
*
On Thu, Apr 22, 2010 at 8:42 AM, Mattheis, Erik (MIN - WSW) 
ematth...@webershandwick.com wrote:

 Has anyone made a plugin for the JW Player? I'm tasked with doing so, and
 can't find documentation of the API. Is there any? Do they just expect you
 to dig through the classes and figure out what you can do?

 Thanks.

 _ _ _
 Erik Mattheis
 Senior Web Developer
 Minneapolis
 T  952 346 6610
 C 612 377 2272

 Weber Shandwick
 Advocacy starts here.

 PRWeek Global Agency Report Card 2009 - Gold Medal Winner
 The Holmes Report Global Agency of the Year
 PR News Agency of the Year

 ___
 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] JW Player API documentation

2010-04-22 Thread Mattheis, Erik (MIN - WSW)
Seen that, thanks. Maybe asking in another way: I need to find out how to 
reference the player controls and find out their height property so I can 
position a pop-up window flush with them. Where is a document that would say 
something like

Class com.blah.jwplayer.Controls extends MovieClip

The controls class creates the UI for interacting with the video or sound file.

Properties:

.

Methods:



Events:



_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Zeh Fernando
Sent: Thursday, April 22, 2010 12:22 PM
To: Flash Coders List
Subject: Re: [Flashcoders] JW Player API documentation

This?
http://developer.longtailvideo.com/trac/wiki/Player5Api

On Thu, Apr 22, 2010 at 1:10 PM, Mattheis, Erik (MIN - WSW) 
ematth...@webershandwick.com wrote:

 Thanks, have seen that page - I'm looking for documentation in the sense of
 definitions of the properties, methods and events available to the plug-in.

 _ _ _
 Erik Mattheis
 Senior Web Developer
 Minneapolis
 T  952 346 6610
 C 612 377 2272

 Weber Shandwick
 Advocacy starts here.

 PRWeek Global Agency Report Card 2009 - Gold Medal Winner
 The Holmes Report Global Agency of the Year
 PR News Agency of the Year

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
 flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt Gitchell
 Sent: Thursday, April 22, 2010 11:21 AM
 To: Flash Coders List
 Subject: Re: [Flashcoders] JW Player API documentation

 We've done several.
 *http://developer.longtailvideo.com/trac/wiki/Player5PluginsBuilding

 --Matt
 *
 On Thu, Apr 22, 2010 at 8:42 AM, Mattheis, Erik (MIN - WSW) 
 ematth...@webershandwick.com wrote:

  Has anyone made a plugin for the JW Player? I'm tasked with doing so, and
  can't find documentation of the API. Is there any? Do they just expect
 you
  to dig through the classes and figure out what you can do?
 
  Thanks.
 
  _ _ _
  Erik Mattheis
  Senior Web Developer
  Minneapolis
  T  952 346 6610
  C 612 377 2272
 
  Weber Shandwick
  Advocacy starts here.
 
  PRWeek Global Agency Report Card 2009 - Gold Medal Winner
  The Holmes Report Global Agency of the Year
  PR News Agency of the Year
 
  ___
  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

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


RE: [Flashcoders] Flash and iThingammybob

2010-04-21 Thread Mattheis, Erik (MIN - WSW)
The word from other cross-compilers is Apple says they are in compliance with 
the new terms, or the new terms won't be enforced, or something. Example: 
http://blog.anscamobile.com/2010/04/corona-and-iphone-os-4-0/

I believe that Corona will be fine, and we are committed to delivering the 
best tool for multi-platform game and app creation for Apple and Android 
devices, and we will continue to add new features to Corona and to make it 
better every time we put a new release out.

I, along with my co-founder Walter Luh, have reached out to Apple both 
officially and unofficially, and we continue to do our diligence in regards to 
the new TOS. We have also been in touch with other companies that are in the 
same situation we are.

To this day, Apple has never officially or unofficially mentioned anything to 
us regarding non-compliance. The fact that Apple approved several Corona 
powered apps for the grand opening of the iPad store on April 3rd reaffirms our 
belief that we continue to be compliant and offer tremendous value to the 
iPhone/iPad ecosystem 

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Andrews
Sent: Wednesday, April 21, 2010 4:27 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Flash and iThingammybob

If I develop for windows or linux I have a choice of comilers and IDEs 
and I can get by without using Microsoft tooling. The main reason for my 
question was  to investigate if an alternative development route 
avoiding the Apple tools had emerged.

It looks like Apple have it completely locked down.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] AS3 FLVPlayback buffering state never ends bug

2010-04-21 Thread Mattheis, Erik (MIN - WSW)
In the interest of just getting another pair of eyeballs on the problem, some 
obvious things I'd check for:

- Are you testing with different videos, maybe it's a problem with the video?
- Have you reproduced the problem with a video served from another FMS? Maybe 
it's a problem on the server?
- Sometimes just quitting the IDE and restarting makes bizarre problems go away 
for me.

Similar to your idea about polling the video.state, could you poll playheadTime 
and assume it's not buffering depending on what it returns?

From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kenneth Kawamoto 
[kennethkawam...@gmail.com]
Sent: Wednesday, April 21, 2010 5:11 PM
To: Flash Coders List
Subject: Re: [Flashcoders] AS3 FLVPlayback buffering state never ends bug

If you set up a listener for playheadUpdate when bufferingStateEntered
occurs, do you receive playheadUpdate event when the video starts
playing again?

Kenneth Kawamoto
http://www.materiaprima.co.uk/

patrick [insert last name here] wrote:
 Ok, so I've spent a lot of time trying to figure this one out but so far 
 nothing. It seems like it should be a known issue but I can't find any 
 documentation on it. Any insight you might be able to give me would be 
 greatly appreciated. Here's the problem:

 I'm using the FLVPlayback to load a streaming video from a FMS. The bug that 
 I'm running into is with the buffering state. Most of the time it works fine, 
 but certain times the video will enter a buffering state that never ends. The 
 last video event that's fired in this scenario is the BUFFERING_STATE_ENTERED 
 and then the video will start playing again but it won't fire the 
 PLAYING_STATE_ENTERED event, and to go even further the video.state won't 
 even change at all. My back up was to check on an interval if the video.state 
 is buffering or not but even the video.state says buffering constantly at 
 this point. The video is clearly playing but since the state is buffering 
 it's causing me huge problems in my application. Is this something you have 
 ever heard of? Like I said, I can't seem to find any information on this and 
 it's becoming a huge problem for me. Any info you can give me would be 
 greatly appreciated.

 Thanks,
 Patrick
___
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] custom seekBar

2010-04-20 Thread Mattheis, Erik (MIN - WSW)
Has anybody made the seekBar UI component work when a FLVPlayback goes to full 
screen mode? Google comes up with a lot of people having the problems, but have 
not found a solution that works for me.

This is the precise problem I'm having: 
http://www.actionscript.org/forums/showthread.php3?p=706172

I have created a video player that uses the FLVPlayback and video UI 
components. When I enter fullscreen mode the SeekBar scales up. But the 
distance covered by the handle does not.

Thanks.
_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

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


RE: [Flashcoders] PDF and flash

2010-04-14 Thread Mattheis, Erik (MIN - WSW)
Using Acrobat or Illustrator as an intermediary would be the most straight 
forward way.

From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers 
[k...@designdrumm.com]
Sent: Wednesday, April 14, 2010 6:22 PM
To: Flash List
Subject: [Flashcoders] PDF and flash

Is there any way to import a PDF to flash and have the pages of the
pdf be read as whole images?


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] @#$% New iPhone Developer Agreement Ba ns the Use of Adobe’s Flash-to-iPhone Compiler

2010-04-11 Thread Mattheis, Erik (MIN - WSW)
OK, that sort of makes sense - the sort of because cross-platform compiled 
apps can already be accepted or rejected at the app store level. If money from 
developers was a major cash flow avenue, this would make total sense but 
compared to the app store, it's not,  AFAIK. It seems it would be a financial 
benefit for Apple to have a larger pool of apps to choose to sell or not, 
regardless of how they were developed.

Here's another settling old scores theory, but between Apple and Adobe 
themselves as opposed to the Apple vs MS theory I recently suggested,

In 1996 when Apple was seemingly on the ropes, Adobe made a crucial business 
decision and one that is coming back to bite them in the ass. They declared 
that their primary development platform would be Windows; subsequently, every 
new application or major revision of a product was introduced for Windows first 
and followed months later, sometimes never at all, by a Mac version.

http://innerdaemon.wordpress.com/2010/04/10/sorry-adobe-you-screwed-yourself/

From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Dave Watts 
[dwa...@figleaf.com]
Sent: Sunday, April 11, 2010 11:13 AM
To: Flash Coders List
Subject: Re: [Flashcoders] @#$% New iPhone Developer Agreement Bans the Use of 
Adobe’s Flash-to-iPhone Compiler

 A lot of outrage hass been expressed, but there has to be a why. Why?

Because it makes economic sense for Apple, and it hurts a company that
Steve Jobs doesn't care for right now.

If you don't allow cross-platform tools to work, developers have to
explicitly choose your platform. Right now, Apple has the market
advantage - lots of people have and want iPhones, iPads, etc. So
developers will choose to build for the Apple platform rather than
building for multiple platforms, giving the App Store a continuing
competitive advantage.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
___
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] @#$% New iPhone Developer Agreement Ba ns the Use of Adobe’s Flash-to-iPhone Compiler

2010-04-10 Thread Mattheis, Erik (MIN - WSW)
Dave Watts: I don't really think that's the right comparison, though. AS3 is a 
lot
more like Java and C# than C++ is, actually. The core syntax is very
similar across all four of those languages, of course, but the way you
approach problems in AS3, Java and C# is different from how you
approach them in C++ in many ways - primarily because you don't manage
memory directly in the first three, I think.

I'm mainly thinking of my coworker with a .NET background., and I'm assuming 
Objective C is closer to C# than ActiionScript. When you're up against 
deadlines  and the decision to outsource or not, taking the Flash development 
platform off the table is huge. I'm just searching for the rationality behind  
the change in the developer agreement. Why should Apple care how an app was 
developed when they can already accept or reject everything already through the 
app store? Again as a Mac devotee, the first thing that pops into my mind is 
settling old scores. There has to be a reason behind the decision, and I'm 
struggling to comprehend it.

Dave Watts: I I don't even think it's really that. Apple doesn't need to be 
the
king, they just want to have complete control of their niche. If
their niche grows a bit in the consumer market, so much the better,
but Apple has always been about control over openness.

Agreed, and a large part of the Apple appeal is consistency in the UI and 
they've always enforced consistency. How that consistency is achieved, as 
described in the change in the developer agreement  is a whole new ball game. 
It doesn't make sense to me as an Apple shareholder or developer. It's just 
weird!

A lot of outrage hass been expressed, but there has to be a why. Why?

PS. Sorry about the reply formatting.

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


RE: [Flashcoders] @#$% New iPhone Developer Agreement Ba ns the Use of Adobe’s Flash-to-iPhone Compiler

2010-04-09 Thread Mattheis, Erik (MIN - WSW)
Thanks for the Theory, Carl - I'd elevate it to a Law: It's about harnessing 
the iPhone/iPad momentum at any cost - forwarded your insight to my coworkers. 
But I wonder how much of this is based on the old MS vs Apple war - calculated 
on the fact there's probably more C++ than ActionScript developers out there.

I've been an Apple devotee since the IIc and will probably continue to buy Macs 
for my home computer. Own stock too ... I've a dumb Sanyo phone I'm upgrading 
one of these months, and even before this news, it was obvious I should get an 
Android device.

Apple has always been both a hardware *and* software giant despite its small 
market share, unique. But they seem to be gambling that on a gambit that they 
can leverage their present advantage in mobile market to finally be the king. 
I'm thinking and hoping this hubris will bite them back, or at least not 
succeed.

As a developer, I've tried to wrap my mind around Objective C, and that effort 
made my brain hurt. AS2 to AS3 pleasantly stretched it. Dunno, I've a .NET 
colleague and if you asked him, he'd say he'd rather approach developing an 
iPhone app in C than ActionScript. Thus, repeating, maybe Apple is trying to 
burn Microsoft by harnessing the power of the developers they've cultivated 
through .NET.

From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mark Winterhalder 
[mar...@gmail.com]
Sent: Thursday, April 08, 2010 8:45 PM
To: Flash Coders List
Subject: Re: [Flashcoders] @#$% New iPhone Developer Agreement Bans the Use of 
Adobe’s Flash-to-iPhone Compiler

On Fri, Apr 9, 2010 at 3:00 AM, Carl Welch carlwelchdes...@gmail.com wrote:
 http://daringfireball.net/2010/04/iphone_agreement_bans_flash_compiler

 I can't even explain how frustrated I am about apple. I just feel that Mr
 Job's is just giving the finger to so many people that have supported and
 promoted his company since day one. ugh.

Frustrated doesn't even begin to describe it.

My theory is that it's about vendor lock-in. Cross platform
development offers a way around it -- if the exact same apps you payed
for and, maybe more importantly, got used to, are available for
Android, then you can switch away from iPhone OS.

Mobile devices always are a compromise. You weight CPU performance
against battery life, make a decision about screen size, and so on.
Apple has a two-sizes-fit-all product line, while a number of
manufacturers produce a growing variety of Android devices.
___
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] IE7 reload stageWidth bug

2010-04-08 Thread Mattheis, Erik (MIN - WSW)
I'm up against the bug discussed here: 
http://code.google.com/p/swfobject/issues/detail?id=3 - on page reload, IE7 
returns 0 for stage.stageWidth and stage.stageHeight.

As a quick fix, I hardcoded stageWidth and stageHeight, but I need a solution 
that will allow the movie to figure things out on its own as it's meant to be 
embedded by others at any size they want.

How have others dealt with this?

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

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


[Flashcoders] RE: IE7 reload stageWidth bug

2010-04-08 Thread Mattheis, Erik (MIN - WSW)
Seem to have found a fix -

I placed all my code that relies on stage.stageWidth and stageHeight in a 
function positionElements and delayed the invocation of it:

setTimeout(positionElements,1);

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mattheis, Erik 
(MIN - WSW)
Sent: Thursday, April 08, 2010 10:03 AM
To: Flash Coders List
Subject: [Flashcoders] IE7 reload stageWidth bug

I'm up against the bug discussed here: 
http://code.google.com/p/swfobject/issues/detail?id=3 - on page reload, IE7 
returns 0 for stage.stageWidth and stage.stageHeight.

As a quick fix, I hardcoded stageWidth and stageHeight, but I need a solution 
that will allow the movie to figure things out on its own as it's meant to be 
embedded by others at any size they want.

How have others dealt with this?

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

___
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] changing url without reloading page/swf in as2.0

2010-04-07 Thread Mattheis, Erik (MIN - WSW)
http://www.asual.com/swfaddress/


From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Amol 
[a...@yonearth.com]
Sent: Thursday, April 08, 2010 12:33 AM
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

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


RE: [Flashcoders] AS2 what am I missing?

2010-04-06 Thread Mattheis, Erik (MIN - WSW)
I've done things along the lines of making MovieClip A a button with 
showHandCursor set to false.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 – Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of 
p...@ipauland.com
Sent: Tuesday, April 06, 2010 8:15 AM
To: Flash Coders List
Subject: [Flashcoders] AS2 what am I missing?

I am working back down memory lane in AS2.
 
I have a layer with a MovieClip A and some others below (actually it's
pixelwits flipping book).
 
I make A visible and it obscures everything below. Perfect..  except that some
movieclips with release handlers on the layers below are operating and I can
click on my visible MC and have the event handler from a lower layer fire.
 
I would think that my depths were mixed up, but visually MovieClip A obscures
everything else and there's nothing on a layer above it. The Movieclips whose
handlers are invoked, aren't created dynamically either.
 
Weird. Thinking cap on..
 
Paul
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] What good is a Controller?

2010-03-31 Thread Mattheis, Erik (MIN - WSW)
I didn't use AS3 until I had to a year and a half ago, Yahoo! IMVs started 
requiring AS3. The Facebook ActionScript API is AS3 as well and I'm sure 
there's many, many other similar examples. I predict you'll eventually have an 
opportunity that requires knowing AS 3!

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


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

Thanks for that Kerry.
I want to learn AS3, I really do, but it takes too much time away  
from making money for me that I find myself missing out. :(
I wish it was easier to make the transition, but then everyone would  
be a AS3 developer, right.

*Sigh*

Best,
Karl


On Mar 30, 2010, at 4:50 PM, Kerry Thompson wrote:

Karl DeSaulniers wrote:

 Or am I the last AS2 developer on the planet and just need to get  
 in line to
 the AS3 3rd period class?

I do recommend AS3, but you're far from the last doing AS2. I just
finished up a 4-month AS2 contract, and last I heard, they were still
looking for contractors who know AS2.

When you have an extensive app or Web site built in AS2, switching to
AS3 is really tough, especially when it's a popular site and expanding
rapidly. There are lots of legacy AS2 gigs out there.

I would still become an AS3 expert. That's where the real action is.
Plus, you can use cool tools like Flex/FlexBuilder/Flashbuilder, and
AS3 is just plain better than AS2.

Cordially,

Kerry Thompson
___
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] Transition from AS2 to AS3... with minimum pain

2010-03-31 Thread Mattheis, Erik (MIN - WSW)
You don't *have* to use design patterns, you can learn the syntax by just doing 
everything in your document class as you would make an AS2 project with all the 
script in the first frame. I found and still find 
http://www.kirupa.com/forum/showthread.php?t=223798 useful and it used to show 
up a lot when googling how to do stuff in AS3.

From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers 
[k...@designdrumm.com]
Sent: Wednesday, March 31, 2010 9:57 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Transition from AS2 to AS3... with minimum pain

Thanks for that Chris.
I am interested in seeing what GAIA is. I have heard of the DVD and I
have an AS3 book I was going to send beno.
I never even touched AS1. I just dove right into AS2 projects. That
is how I got into AS2.
I figure I can do the same with AS3. I guess what frightens me if
you will about AS3
is the way it is structured and classes. I don't get them. But I
haven't wrote any so
guess its time to get my hands dirty.

Best,

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


RE: [Flashcoders] Distribute evenly over half a circle

2010-03-23 Thread Mattheis, Erik (MIN - WSW)
Half a circle is PI radians, so you'd increment by Math.PI / (totalNumbers - 1)

Try -

function plot():void {

var totalNumbers:int = 5;
var radius:Number = 30;
var startAt:Number = Math.PI/2;
var arc:Number = Math.PI / (totalNumbers - 1);

for (var angle:Number = startAt; angle  startAt + (arc * 
totalNumbers); angle += arc) {

var c:clip = new clip()
addChild( c )
c.x = Math.sin( angle ) * radius;
c.y = Math.cos( angle ) * radius;

}
}
_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 – Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jiri
Sent: Tuesday, March 23, 2010 9:30 AM
To: Flash Coders List
Subject: [Flashcoders] Distribute evenly over half a circle

Does someone know how to distribute a n number of sprite of a top half 
circumference of a cicrle. I have this, but cant figure out the offset.

function plot():void {
var totalNumbers:int = 5;
var slice:Number =   ( 180 / totalNumbers );

var p:Point;

for (var n:Number=0; n  totalNumbers; n++) {
var angle:Number =  slice* n
var rad:Number =  (Math.PI / 180 * angle);
var vx:Number = Math.sin( rad );
var vy:Number = Math.cos( rad );
var c:clip = new clip()
c.x = 300 + vx * 100
c.y = 300 + vy * 100
addChild( c )
}
}

Thnx,

Jri

___
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] RE: right-click triggers MOUSE_LEAVE?

2010-03-23 Thread Mattheis, Erik (MIN - WSW)
Elsewhere in the code I'd set the textfield's selectable property to false.

When I set the selectable to true in the textfield.click handler, 
Event.MOUSE_LEAVE no longer fires on right-click. Problem solved!

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mattheis, Erik 
(MIN - WSW)
Sent: Monday, March 22, 2010 2:13 PM
To: Flash Coders List
Subject: [Flashcoders] RE: right-click triggers MOUSE_LEAVE?

Code that illustrates the behavior I'm trying to avoid:

stage.addEventListener(Event.MOUSE_LEAVE, stageOffHandler);

// embed code is a dynamic textfield
embedCode.text = 'Here is somer text';

embedCode.addEventListener(MouseEvent.CLICK, selectAllEmbedCode);

function selectAllEmbedCode(e:MouseEvent) {
e.target.setSelection(0, e.target.text.length);
}

function stageOffHandler(e:Event) {
// I don't want this to fire on RIGHT_CLICK
trace('mouse is off stage or right mouse button clicked');
embedCode.visible = false;

}

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mattheis, Erik 
(MIN - WSW)
Sent: Monday, March 22, 2010 1:08 PM
To: Flash Coders List
Subject: [Flashcoders] right-click triggers MOUSE_LEAVE?

I want to allow users to copy text from a dynamic text field. When I 
right-click on the textfield the MOUSE_LEAVE event fires (which hides the 
textfield  - I intend for MOUSE_LEAVE to hide the textfield).

Googling, I find no results of someone else experiencing the problem I'm 
assuming this isn't the expected behavior but am at a loss for looking what is 
causing this in my code, there's no RIGHT_CLICK listener and from within a 
class, I have

_stage.stage.addEventListener(Event.MOUSE_LEAVE, videoOffHandler);

where _stage is a reference to the Document class.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

___
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] right-click triggers MOUSE_LEAVE?

2010-03-22 Thread Mattheis, Erik (MIN - WSW)
I want to allow users to copy text from a dynamic text field. When I 
right-click on the textfield the MOUSE_LEAVE event fires (which hides the 
textfield  - I intend for MOUSE_LEAVE to hide the textfield).

Googling, I find no results of someone else experiencing the problem I'm 
assuming this isn't the expected behavior but am at a loss for looking what is 
causing this in my code, there's no RIGHT_CLICK listener and from within a 
class, I have

_stage.stage.addEventListener(Event.MOUSE_LEAVE, videoOffHandler);

where _stage is a reference to the Document class.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

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


[Flashcoders] RE: right-click triggers MOUSE_LEAVE?

2010-03-22 Thread Mattheis, Erik (MIN - WSW)
Code that illustrates the behavior I'm trying to avoid:

stage.addEventListener(Event.MOUSE_LEAVE, stageOffHandler);

// embed code is a dynamic textfield
embedCode.text = 'Here is somer text';

embedCode.addEventListener(MouseEvent.CLICK, selectAllEmbedCode);

function selectAllEmbedCode(e:MouseEvent) {
e.target.setSelection(0, e.target.text.length);
}

function stageOffHandler(e:Event) {
// I don't want this to fire on RIGHT_CLICK
trace('mouse is off stage or right mouse button clicked');
embedCode.visible = false;

}

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mattheis, Erik 
(MIN - WSW)
Sent: Monday, March 22, 2010 1:08 PM
To: Flash Coders List
Subject: [Flashcoders] right-click triggers MOUSE_LEAVE?

I want to allow users to copy text from a dynamic text field. When I 
right-click on the textfield the MOUSE_LEAVE event fires (which hides the 
textfield  - I intend for MOUSE_LEAVE to hide the textfield).

Googling, I find no results of someone else experiencing the problem I'm 
assuming this isn't the expected behavior but am at a loss for looking what is 
causing this in my code, there's no RIGHT_CLICK listener and from within a 
class, I have

_stage.stage.addEventListener(Event.MOUSE_LEAVE, videoOffHandler);

where _stage is a reference to the Document class.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

___
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 stop loading / close netconnection

2010-03-22 Thread Mattheis, Erik (MIN - WSW)
I need to use myFLV.getVideoPlayer(0).close() to stop the download 

Try myFLV.closeVideoPlayer()

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of David Hunter
Sent: Monday, March 22, 2010 12:34 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] flv stop loading / close netconnection


Hi list, . Reallly hoping for some help on this.. Making a portfolio site 
that handles both images and video. I have an flv instance and a sprite that 
contains loaded images. Images and videos work fine. The problem is if I try to 
go to an image half way through a video downloading. in that situation i jump 
to the image and once the video has finished downloading it suddenly appears. 
Going from video to video (halfway through a download) is fine as the source is 
being overwritten each time but when it comes to an image I need to use 
myFLV.getVideoPlayer(0).close() to stop the download. That works ok except if I 
try to go back to the same video which download I terminated then it says  
Error: Cannot call reconnect on an http connection . I cannot set the source 
to be  or null either or it pulls an error. . Can anyone give me any help on 
stopping an FLV from loading once you have set the source and then being able 
to restart that download? . Thanks in advance, 
David 
_
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
http://clk.atdmt.com/UKM/go/195013117/direct/01/___
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] bubbling listening

2010-03-18 Thread Mattheis, Erik (MIN - WSW)
I've been thinking about the below message from Jason and tried rearranging a 
simple project into a MVC for a while this afternoon, but couldn't figure out 
how to do it without breaking encapsulation.

I think I'm not getting the MVC advantage because I don't understand one of two 
things - or maybe something else:

The controller listens to an event from the model, how does the controller 
inform the view to react without a) breaking encapsulation or b)dispatching 
another event the view is listening for.

In b it would seem better to me to have the view listen to the model directly. 
I tried it both with the controller being the document class and not. Help? Is 
there a simple example someone can point me to?


_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason
Sent: Thursday, March 18, 2010 9:51 AM
To: Flash Coders List
Subject: RE: [Flashcoders] bubbling listening

Well, that's OK and you don't even have to get fancy yet - just write a
class that has references to all the display objects, and listens to
your custom events.  It also has the handlers in it to respond to the
events.  This in effect, is a controller class.


Jason Merrill


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


RE: [Flashcoders] bubbling listening

2010-03-18 Thread Mattheis, Erik (MIN - WSW)
Ah, I was trying to do it without public methods or variables, just passing 
things around through custom events.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason
Sent: Thursday, March 18, 2010 4:49 PM
To: Flash Coders List
Subject: RE: [Flashcoders] bubbling listening

The view would have public methods the controller calls.  The views retain 
their encapsulation/loose coupling as does the model.  The controller however, 
is tied into calling specific methods on views - so it's tightly coupled.  
There are patterns to break this down further (i.e. Cairngorm uses Commands) 
- but I usually don't care if the controller has to call specific public 
methods on views.  That's my take anyway, there are others that are far better 
at abstracting this than I am and certainly there are a million ways to skin a 
cat.  


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 Mattheis, Erik 
(MIN - WSW)
Sent: Thursday, March 18, 2010 5:43 PM
To: Flash Coders List
Subject: RE: [Flashcoders] bubbling listening

I've been thinking about the below message from Jason and tried rearranging a 
simple project into a MVC for a while this afternoon, but couldn't figure out 
how to do it without breaking encapsulation.

I think I'm not getting the MVC advantage because I don't understand one of two 
things - or maybe something else:

The controller listens to an event from the model, how does the controller 
inform the view to react without a) breaking encapsulation or b)dispatching 
another event the view is listening for.

In b it would seem better to me to have the view listen to the model directly. 
I tried it both with the controller being the document class and not. Help? Is 
there a simple example someone can point me to?


_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason
Sent: Thursday, March 18, 2010 9:51 AM
To: Flash Coders List
Subject: RE: [Flashcoders] bubbling listening

Well, that's OK and you don't even have to get fancy yet - just write a
class that has references to all the display objects, and listens to
your custom events.  It also has the handlers in it to respond to the
events.  This in effect, is a controller class.


Jason Merrill


___
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] Calculator

2010-03-17 Thread Mattheis, Erik (MIN - WSW)
What's the difference between a sum and a total?

Knock knock.
Who's there?
Nose!
Nose who?
Who knows?

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson
Sent: Wednesday, March 17, 2010 4:11 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Calculator

Karl DeSaulniers wrote:
 Hey Jonathan,
 Isn't it sum*total / 100 = percentage?

 Karl


No, it is not and has never been. *mumbeling about kids these days*

___
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] Facebok Flash API

2010-03-15 Thread Mattheis, Erik (MIN - WSW)
I much prefer the FBJS bridge over the AS 3 Client Library. Much simplter. This 
is based on a day and a half working with the client library to wrap my head 
around it and come up with a single working example - I was up and running with 
the whole FB API through the FBJS bridge in an hour tops.

What do you mean the FBJS bridge breaks down at times? I've had no trouble 
outside the endless FB bugs that there's no getting around no matter how you 
access the API.

_ _ _
Erik Mattheis
Senior Web Developer

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Fahim Akhter
Sent: Sunday, March 14, 2010 3:55 AM
To: Flash Coders List
Subject: [Flashcoders] Facebook Flash API

Hi,

I have been using FBJS bridge to communicate with facebook in one of our
applications. But sadly it breaks down at times causing a lot of mess. I was
thinking to start working with the facebook API provided by adobe. Does
anyone have any experience with that? Because I have heard it causes a lot
of mess sometimes.

Fahim Akhter
Game Developer | White Rabbit Studios |
http://apps.facebook.com/feline-frenzy/
___
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] Passing Call To Child

2010-03-15 Thread Mattheis, Erik (MIN - WSW)
   Navigation(' Home ', 'index', 235, 0x97f9ec); // What does this do? Please 
post function.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Susan Day
Sent: Saturday, March 13, 2010 9:03 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Passing Call To Child

On Sat, Mar 13, 2010 at 10:36 AM, David Hunter davehunte...@hotmail.comwrote:


 hi susan. you can paste this directly into a new FLA and it should work. it
 works for me: http://pastebin.org/111702
 i've passed it two parameters one for the actual url to navigate to and one
 without the http://...; junk for display in the textfield. but you could
 add or remove the http... stuff at different parts of the process if you
 only wanted to pass it one parameter but you might into problems later down
 the line with urls that use www and urls that don't let alone what is
 appended to the back .com,.co.uk,.biz,.info etc. i don't know
 where you are getting the urls from but if you are storing them in an array
 then you could just pass a number and grab the value from the array. you can
 always add extra parameters for x and y or any other attributes. there are
 many ways to skin a cat.
 hope i've helped,
 david


Thank you, however, I don't think this addresses my problem. My problem is
that I have an onMouseOver eventHandler that's running interference with the
onClick eventHandler. For some reason I can't figure out, that mouse-over
one mangles the on-click one. Here's the code for the mouse-over, and it's
pretty benign:

function onMouseOverHandler(e:MouseEvent)
{
if (e.currentTarget.name == ' Home ')
{
e.currentTarget.removeEventListener(MouseEvent.MOUSE_DOWN,
onMouseOverHandler);
e.currentTarget.removeEventListener(MouseEvent.CLICK,
onPressHandler);
Navigation(' Home ', 'index', 235, 0x97f9ec);
...

I added the removeEventListeners to try and resolve the problem, but that
didn't help. Here's the code for the other one:

function onPressHandler(e:MouseEvent)
{
if (e.currentTarget.name == ' Home ')
{
Navigation(' Home ', 'index', 235, 0xff);
e.currentTarget.removeEventListener(MouseEvent.MOUSE_OVER,
onMouseOverHandler);
Navigate.to(e.currentTarget.getChildAt(1).text + '.html');
...

I shouldn't have to add that .html...that's what gets mangled. The rest of
the url is fine, underscores and all (where applicable), so it's not just a
duplication of the name property. I can't figure the silly thing out. Are
there other examples of where one event handler can mangle another?
TIA,
Susan
___
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] Anyone else having issues with the latest version of the flash plug in?

2010-03-15 Thread Mattheis, Erik (MIN - WSW)
About the time of that update a project stopped working when exported from 
CS3 unless flash.text.TextField was explicitly imported - worked fine without 
it when exported from CS4. I chalked it up to a difference between CS3 and CS4, 
but the problem did occur around the time of the last Player update.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lord, Susan, 
CIV, DSS
Sent: Monday, March 15, 2010 9:48 AM
To: Flash Coders List
Subject: [Flashcoders] Anyone else having issues with the latest version of the 
flash plug in?

We are having issues with some of our Flash courses, where certain pages
won't play using the latest plug in.  The majority of the pages are
fine, but, one or two pages within various courses begin to load, start
playing then stop after a few seconds. When we click next and back, the
page is blank from that point forward.

The coding on all of our pages is exactly the same, so I am baffled.
Does anyone know what in particular the latest flash security update
affected.  We are currently at 10.0.45.2. We tested the course on prior
versions and they work fine.

Any input is greatly appreciated!
Susan

___
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] OT: was swf doesn't work the same online

2010-03-11 Thread Mattheis, Erik (MIN - WSW)
I switched my default browser to Chrome a week or so ago, both on my Windows 
box at work and Mac at home. It's noticeably faster than FF, especially on the 
Mac and it has a built-in developer tool which shows all requests. There's a 
FireBug Lite extension for it 
https://chrome.google.com/extensions/detail/bnbbfjbeaefgipfjpdabmpadaacmafkj


_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Valentin Schmidt
Sent: Thursday, March 11, 2010 10:14 AM
To: Flash Coders List
Subject: Re: [Flashcoders] OT: was swf doesn't work the same online

Glen Pike wrote:
 I'm quite sure that in deactivated state it doesn't consume any xtra memory.
   
 Not sure - I think there used to be a nasty memory leak, even when it 
 was disabled - I had it upto 1.5 GB, a bit like FF 3 years ago.  PITA 
 when you have tons of pages open and your browser dies!

don't know about this specific leak, but firebug is under active
development, and in the last few years firebug definetly doesn't have
such a leak anymore (at least not in deactivated state) - millions of
users use it every day, many (like me) with less than 1,5 GB RAM available.

cheers,
valentin
___
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] Passing Call To Child

2010-03-11 Thread Mattheis, Erik (MIN - WSW)
The missing .html thing has to be a simple mistake you're not seeing. Have 
you tried tracing the value at every point where it gets passed around?

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

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


RE: [Flashcoders] OOP Books (OT)

2010-03-10 Thread Mattheis, Erik (MIN - WSW)
I got AS 3 w/Design Patterns right when I delved into AS3 and I found the 
examples too long and complicated to follow. I would not recommend it as an 
introduction to OOP.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Susan Day
Sent: Wednesday, March 10, 2010 6:14 AM
To: Flash Coders List
Subject: Re: [Flashcoders] OOP Books (OT)

On Mon, Mar 8, 2010 at 6:18 AM, Geografiek geograf...@geografiek.nl wrote:

 Hi Susan,
 I liked 'The Object-Oriented Thought Process' by Matt Weisfeld (not
 Actionscript)
 and of course Colin Moock's 'Essential Actionscript 3.0'


I don't find Moock's book helps much on this subject. Thanks for your
recommendation, and also Mark Burvill's recommendation of Advanced
Actionscript 3 with Design Patterns.
Susan
___
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] Convert Flex to FLA

2010-03-10 Thread Mattheis, Erik (MIN - WSW)
Is there a way to convert a Flex 3 project to Flash? Tried decompiling the SWF 
with FlashDecompiler, but it decompiles it back into a Flex project.

I inherited a complex Flex project and have to deliver major edits to it in 2 
weeks ... things is, I've not worked in Flex before!

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

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


RE: [Flashcoders] OOP Books (OT)

2010-03-10 Thread Mattheis, Erik (MIN - WSW)
I'm just getting the hang of AS 3 - I learn more from looking at examples than 
reading books front to back, but it was using Foundation Actionscript 3.0 
Animation: Making Things Move! when I felt like things started clicking.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Susan Day
Sent: Wednesday, March 10, 2010 12:29 PM
To: Flash Coders List
Subject: Re: [Flashcoders] OOP Books (OT)

On Wed, Mar 10, 2010 at 12:23 PM, Mattheis, Erik (MIN - WSW) 
ematth...@webershandwick.com wrote:

 I got AS 3 w/Design Patterns right when I delved into AS3 and I found the
 examples too long and complicated to follow. I would not recommend it as an
 introduction to OOP.


Noted. And your thoughts, if any, on The Object-Oriented Thought Process?
Susan
___
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] RE: Manipulating and Removing loaded swf

2010-03-09 Thread Mattheis, Erik (MIN - WSW)
You need to declare a variable in your class and assign the movieclip to it - 
outside a function, ie

var myMC:MovieClip;


then you could change

addChild(loadEvent.currentTarget.content);

to 

myMC = loadEvent.currentTarget.content;
addChild(myMC);

and manipulate it

myMC.x += 10;

remove it

removeChild(myMC);

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore
Sent: Tuesday, March 09, 2010 8:19 AM
To: Flash Coders List
Subject: [Flashcoders] Manipulating and Removing loaded swf

Given the code below that I found on the web - I have 2 questions:

1) How would I manipulate the swf (i.e. change it's placement on the stage)

2) How would I remove it?


TIA

Ted

import flash.net.URLRequest;
import flash.display.Loader;
import flash.events.Event;
import flash.events.ProgressEvent;

function startLoad()
{
var mLoader:Loader = new Loader();
var mRequest:URLRequest = new URLRequest(MouseActions.swf);
mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);
mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, 
onProgressHandler);
mLoader.load(mRequest);
}

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

___
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] swf doesn't work the same online

2010-03-08 Thread Mattheis, Erik (MIN - WSW)
What's broken about it? I recently had an issue with filters working 
differently in the browser than the authoring environment ...

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of John Singleton
Sent: Monday, March 08, 2010 11:31 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] swf doesn't work the same online

Hi;
I built a swf that works the way I want it in Flash, but when I upload it, it 
acts differently! I built buttons in as3 like this:

function nav(nname:String, nurl:String, myX:int, bgcolor:uint):void
{
myfont2 = 'Arial';
mydize = 15;
mytxtcolor = 0x00;
myborder = true;
mybordercolor = 0xFF;
myY = 170;
myfill = 0x97f9ec;
mynav = new TextField();
var format:TextFormat = new TextFormat();
format.font = myfont2;
format.size = mysize;
mynav.htmlText = 'a href=' + nurl + '.html' + nname + '/a';
mynav.textColor = myTextColor;
mynav.border = myborder;
mynav.borderColor = mybordercolor;
mynav.background=true;
mynav.backgroundColor = bgcolor;
mynav.autoSize = TextFieldAutoSize.LEFT;
mynav.x = myX;
mynav.y = myY;
mynav.setTextFormat(format);
var navdrop:DropShadowFilter = new DropShadowFilter();
navdrop.color = 0x00;
navdrop.blurX = 3;
navdrop.blurY = 3;
navdrop.angle = 0;
navdrop.alpha = 0.5;
navdrop.distance = 3;
var navfilters:Array = new Array(navdrop);
mynav.filters = navFiltersArray;
var nsprite:Sprite = new Sprite();
addChild(nsprite);
nsprite.name = nname;
nsprite.addChild(mynav);
var len:int = mynav.numLines;
for (var i:int = 0; i  len; i++) 
{
var metrics:TextLineMetrics = mynav.getLineMetrics(i);
with(nsprite.graphics)
{
beginFill(myfill, 1);
drawRect(mynav.x, mynav.y, metrics.width + 4, 
metrics.height + metrics.descent + 1);
endFill();
}
}
addChild(nsprite);
nsprite.addEventListener(MouseEvent.ROLL_OVER, onRollOverHandler);
nsprite.addEventListener(MouseEvent.ROLL_OUT, onRollOutHandler);
nsprite.addEventListener(MouseEvent.CLICK, onClickHandler);
nsprite.addEventListener(MouseEvent.MOUSE_DOWN, onPressHandler);
nsprite.addEventListener(MouseEvent.MOUSE_UP, onReleaseHandler);
nsprite.mouseChildren = false;
nsprite.buttonMode = true;
}

function onRollOverHandler(e:MouseEvent) 
{
if (e.currentTarget.name == ' Home ') 
{
Navigation(' Home ', 'index', 235, 0x97f9ec);
}
}

function onRollOutHandler(e:MouseEvent)
{
if (e.currentTarget.name == ' Home ') 
{
Navigation(' Home ', 'index', 235, 0x0e778a);
}

function onClickHandler(e:MouseEvent)
{
mynav.textColor = 0x00;
mynav.borderColor = 0xFF;
}

function onPressHandler(e:MouseEvent)
{
if (e.currentTarget.name == ' Home ') 
{
Navigation(' Home ', 'index', 235, 0xff);
}
}

function onReleaseHandler(e:MouseEvent)
{
if (e.currentTarget.name == ' Home ') 
{
Navigation(' Home ', 'index', 235, 0x0e778a);
}
}

I can't figure out why it doesn't work online like it does in Flash. Online, 
it's all broken. Is this common? What should I do?
Thanks,
John


  
___
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] Custom FLVPlayback skin volume control

2010-03-04 Thread Mattheis, Erik (MIN - WSW)
I need to have a volume control in a FLVPlayback custom skin that scrubs 
vertically instead of horizontally. I'm looking for the class file I'd have to 
modify but can't find one that references the standard skin scrubbder, 
volumeBarHandle_mc.

My thought is that I can have my vertical scrubber set the volume directly or 
set x position of an invisible volumeBarHandle_mc but am wondering if anybody 
can help me find the class that reads the position of the volume control in the 
standard skins. Thanks!

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

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


RE: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Mattheis, Erik (MIN - WSW)
Afterwards, Macromedia bribed - er, hired Nielsen as a usability consultant. I 
wonder if Adobe will offer Jobs $1 a year for some important sounding title.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Brian Mays
Sent: Wednesday, February 03, 2010 5:39 PM
To: Flash Coders List
Subject: Re: [Flashcoders] and now..CLIENT now hates Flash

I'm going to chime in to say this current tide reminds me of the hubbub that
rose up when this article was written:

http://www.useit.com/alertbox/20001029.html

The article's title: Flash is 99% bad.
It was published 10 years ago.

We've survived and evolved.

Brian Mays

___
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] and now..CLIENT now hates Flash

2010-02-03 Thread Mattheis, Erik (MIN - WSW)
Echoing Chris from earlier, I hope nobody here feels compelled to argue for 
Flash when it's not the best fit for a project.

As far as a stock response to an objection to Flash, perhaps a question What 
features do you want the product to have and where and for who do you need it 
to run? Based on the answer you can confidently say Flash is the only 
reasonable technology or not.

For the foreseeable future, HTML5 is NOT going to be the best technology for 
the most web apps --- most will need to run in a variety of web browsers, so 
Flash or HTML/CSS/JavaScript - iPhones and iPads notwithstanding.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Boerner, Brian J
Sent: Wednesday, February 03, 2010 1:49 PM
To: Flash Coders List
Subject: RE: [Flashcoders] and now..CLIENT now hates Flash

Everyone move to Hollywood! ;^)

Does anyone on this list have a decent stock response we could all use? I don't.

Let's be realistic. Coming up with rationale for using Flash as development 
platform is tougher than it used to be by far... 


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


RE: [Flashcoders] and now..CLIENT now hates Flash

2010-02-03 Thread Mattheis, Erik (MIN - WSW)
In my experience, it's been several years since I've had to think about 
providing alternate content to anything but search engines, the player 
penetration has been so high for target audiences it hasn't made sense to worry 
about. The two exceptions being when something has to be 508 compliant or when 
the target audience is people who work in the medical field - and my perception 
is that most web browsers that don't have Flash are in hospitals.

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Andrew Murphy
Sent: Wednesday, February 03, 2010 3:33 PM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] and now..CLIENT now hates Flash

It may be helpful to discuss with clients something that we should always be
doing when developing Flash web apps anyway; alternative content.  And I
mean giving the non-Flash user something more than just a link to download
the Flash plugin.


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


  1   2   >