Re: [Flashcoders] Flash and video optimisation ....

2007-04-04 Thread Dennis Roche

Yes. There is a way to On2 VP6 with FFmpeg.

I found this article when I needed to do automatic video encoding from a
drop folder.
http://sh0dan.blogspot.com/2006/09/command-line-flash-8-flv-encoding.html

Otherwise I use Sorenson Squeeze 4. It has the Sorenson Pro Codec which is
really nice if you need to publish to Flash 7+. It can only do On2 VP6
nicely too.


On 04/04/07, Muzak [EMAIL PROTECTED]  wrote:


Does ffmpeg support VP6 flv encoding yet?
Last time I tried it (quite some time ago though) it only supported
Sorenson Spark H.263 flv encoding.

ON2 VP6 quality is superior to Sorenson Spark.

regards,
Muzak

- Original Message -
From: Jon Bradley [EMAIL PROTECTED] 
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, April 04, 2007 1:57 PM
Subject: Re: [Flashcoders] Flash and video optimisation 



On Apr 3, 2007, at 8:12 PM, Kerem Iseri wrote:

 I couldnt find any software directly converts avi to flv better  then
flash.
 I am open for other ideas : )

FFmpeg is free and it also will do it just as well as Flash. It's
just tricky to use and get running, more so if you're on a windows
platform. OSX setup is a breeze I found.

cheers,

jon


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
Go Dennis!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] webcam

2007-02-28 Thread Dennis Roche

is it possible to use to the web cam locally to capture a still??

On 26/02/07, Amir T Rocker [EMAIL PROTECTED] wrote:


Sure, but only local - means no one else can see you.

// get the camera
var cam = Camera.get( [opt. camName ] ) ;
// attach the camera on the vid display
videoPanel.attachCamera(cam) ;

thats it - nowe you have a working camera - but no way to show it to
others or record anything.
For that you would need FCS / FMS.

hope i could help.
best regards

Amir Rocker

Am 09:45 AM 2/26/2007 schrieben Sie:
Is there a way to have a webcam in a web site without flashcomm ?

Thank you
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
Go Dennis!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] finding out which fonts are embedded in a swfatruntime?

2007-02-07 Thread Dennis Roche

why can't you use the size report that you can generate on publish??? it
shows all the fonts in-use in your movie.

On 07/02/07, Danny Kodicek [EMAIL PROTECTED] wrote:


  No takers? I guess it just isn't doable then.

For finding the fonts, I don't know; for finding the characters available
in
a font, here's one hack as an example:

function findAvailableCharacters(tFont:String):String {
var tField:TextField = _root.createTextField(tmpField,
_root.getNextHighestDepth(), -1, -1000, 1000, 1000)
var tFormat:TextFormat = new TextFormat()
tFormat.font = tFont
tField.setTextFormat(tFormat)
var tRange:Array = [25,500] // or whatever range you want to use
var tWidth:Number = 0
var tChars:String = 
for (var i = tRange[0]; itRange[1]; i++) {
var tChar:String = String.fromCharCode(i)
tField.text += tChar
if (tField.textWidthtWidth) {
tChars += tChar
tWidth = tField.textWidth
}
}
tField.removeTextField()
return tChars
}



  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On
 Behalf Of Mike
  Mountain
  Sent: 06 February 2007 12:30
  To: Flashcoders mailing list
  Subject: [Flashcoders] finding out which fonts are embedded
 in a swf
  atruntime?
 
 
  Say I wanted to list out all the fonts that have been
 embedded in my
  swf, and which chars are embedded and other associated
 attributes in
  the swf itself - is there anyway dynamically to do this? (Obviously
  without keeping a manual track of them all)
 
  Cheers
 
  M


 ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ
 Tel: 01964 672000
 Fax: 01964 671102
 Registered in England no. 01646471
 The information contained within this email expresses the
 views of the sender and not necessarily those of the company.
 It is private and confidential and may be legally privileged.
 It is intended solely for those authorised to receive it. If
 you are not the intended recipient you are hereby notified
 that any disclosure, copying, distribution or action taken in
 reliance on its contents is strictly prohibited and may be
 unlawful. If you have received this email in error, please
 telephone us immediately on 01964 672000 or email a reply to
 highlight the error and then delete it from your system. This
 email may contain links to web-sites, the contents of which
 ECM Systems Ltd have no control over and can accept no
 responsibility for. Any attachments have been virus-checked
 before transmission; however, recipients are strongly advised
 to carry out their own virus checking as ECM Systems Ltd do
 not warrant that such attachments are virus-free. Please note
 that this email has been created in the knowledge that
 Internet email is not a secure communications medium. We
 advise that you understand and observe this lack of security
 when emailing us.

 ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ

 Tel: 01964 672000
 Fax: 01964 671102

 Registered in England no. 01646471

 The information contained within this email expresses the
 views of the sender and not necessarily those of the company.
 It is private and confidential and may be legally privileged.
 It is intended solely for those authorised to receive it. If
 you are not the intended recipient you are hereby notified
 that any disclosure, copying, distribution or action taken in
 reliance on its contents is strictly prohibited and may be
 unlawful. If you have received this email in error, please
 telephone us immediately on 01964 672000 or email a reply to
 highlight the error and then delete it from your system. This
 email may contain links to web-sites, the contents of which
 ECM Systems Ltd have no control over and can accept no
 responsibility for. Any attachments have been virus-checked
 before transmission; however, recipients are strongly advised
 to carry out their own virus checking as ECM Systems Ltd do
 not warrant that such attachments are virus-free.
 Please note that this email has been created in the knowledge
 that Internet email is not a secure communications medium.
 We advise that you understand and observe this lack of
 security when emailing us.



 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
Go Dennis!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:

Re: [Flashcoders] Freelancer Class

2006-11-07 Thread Dennis Roche

On 08/11/06, Mike Keesey [EMAIL PROTECTED] wrote:


 That's just bad coding.  Don't use class variable names as argument
 names.  It's not like you don't have a choice about it.  ;)

I don't think it's bad coding. Documentation generated from this
signature might be a bit clearer than documentation generated from a
signature where the argument was, e.g., nameValue, since it would be
more immediately obvious that the argument name corresponds to the
property name. That said, the code itself is clearer the other way.
Six of one and half a dozen of the other. (Programming is so often like
that.)

--
Mike Keesey



I prefer the the double underscore naming scheme to differentiate a
local/arugment variable from a class variable. It helps when you want to
create get/set functions and reminds you that it is a private variable and
should not accessed directly.

class Student
{
  private var __name:String;
  public function Student(name:String)
  {
 __name = name;
  }
}


--
Go Dennis!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Mail + php huey

2006-03-22 Thread Dennis Roche
ok. have you tested the php without flash - in a browser with a form or
hardcoded values? writing a file... does the directory have write access?
is the variable defined? test if... wait i see a possible problem. scope
issue.

myVars.onLoad = function() {
   if (this.verify == success) {
   email_txt.text = Data Saved;
   } else {
   email_txt.text = Failed Save;
   }
};

inside the onLoad function you can use this instead of myVars... not sure
its thats you problem could be just good pratice.
another thing you can do is check the if the variable verify is defined (
this.verify == undefined) . i think that could be the main issue. check you
php! remove the  as verify is your first variable and probably remove the
last as you don't need it unless you are declaring another variable.

?php
$userEmail = $_POST['userEmail'];
$add = $userEmail;
$open = fopen('emails.txt', 'a');
$write = fwrite($open, $add);

if($write) {
   echo verify=success;
} else {
   echo verify=fail;
}
?

give it a go. sometimes it takes another person
to look at your code. peer review is great.



On 21/03/06, stone larsen [EMAIL PROTECTED] wrote:

 Can someone please lend a hand, might be staring to
 long at the screen. This is suppose to write to a .txt
 file, all I get is failed.

 ok, this is the AS.

 var serverLang:String = php;
 var myVars:LoadVars = new LoadVars();
 myVars.onLoad = function() {
 if (myVars.verify == success) {
 email_txt.text = Data Saved;
 } else {
 email_txt.text = Failed Save;
 }
 };
 submit_btn.onRelease = function() {
 if (!email_txt.length || email_txt.indexOf(@) == -1
 || email_txt.indexOf(.) == -1) {
 email_txt.text = Invalid Email.;
 } else {
 myVars.userEmail = email_txt.text;
 myVars.sendAndLoad(writeToFile.+serverLang,
 myVars, POST);
 }
 };

 php for the app:

 ?php
 $userEmail = $_POST['userEmail'];
 $add = $userEmail;
 $open = fopen('emails.txt', 'a');
 $write = fwrite($open, $add);

 if($write) {
 echo verify=success;
 } else {
 echo verify=fail;
 }
 ?

 PLEASE, some assistance.

 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




--
Go Dennis!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] writing a xml file directly from flash 8

2006-03-22 Thread Dennis Roche
no. sorry.

you need to use a server using loadVars
otherwise check out xml.send or xmlsocket

On 22/03/06, Matt Muller [EMAIL PROTECTED] wrote:

 Is this possible, or can someone suggest a solution here?

 Thanks

 MaTT
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




--
Go Dennis!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Remove right click menu

2006-03-06 Thread Dennis Roche
why not try director? drop the flash movie inside director and then on
export disable the context menu option. there shouldn't be a huge
performance hit. you could also dynamically load the swf file into director
and simply use the dcr as a stub movie.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] referencing movieclips in an array ..

2006-03-06 Thread Dennis Roche
try this.

var _menuArray:Array = new Array();
var _baseName:String = mc_menu;

for (var i:Number = 0; i  20; i++) {
   _menuArray.push( this.createEmptyMovieClip( _baseName+i,
this.getNextHighestDepth()) );
}

that will do it... but you may want to create an instance of a mc and not an
empty one. look up attachMovie()

also your code wouldn't work... why you ask?
- you have a function that creates your mc's that is not even called!
- if you actually did call you would only get mc as you are constantly
setting the new mc at the same depth






On 07/03/06, murder design [EMAIL PROTECTED] wrote:

 i am trying to dynamically create 20 movieclips. i want to name them
 dynamically, and reference the clip within an array. is this the best way
 to
 go about it? will this even work?...

 // array to hold dynamically created movieclips within
 myItems = new Array();

 // add a movie clip
 function addMenuElement(myName:String) {
 var myName:MovieClip = _root.createEmptyMovieClip(myName, 0);
 myItems.push(myName);
 };

 // all movieclips are named according myMC and a number
 myName = myMC;

 // create 20 movieclips
 for(var x:Number = 0; x  20; x++) {
 y = menu + x.toString() + _mc;
 myName = y;
 trace(myName);
 }
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




--
Go Dennis!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com