[Flashcoders] OT: Adobe Air Marketplace

2011-03-09 Thread Karim Beyrouti
Sorry for the OT post - once again, i was just wondering what your experiences 
with the Adobe Air marketplace have been like: i have had another app for 
pending approval since 23 Jan (http://swfrenderer.kurst.co.uk/) - and it's 
still not approved. 

Adobe says it takes about 1-2 weeks days to approve apps - however there are 
loads of people complaining on forums. Anyone know what's the deal with the 
approval process these days and why it's still taking so long?


Cheers



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


Re: [Flashcoders] RE: quiet in here at the moment

2011-03-09 Thread allandt bik-elliott (thefieldcomic.com)
http://www.greensock.com/flash-html5/

http://www.greensock.com/flash-html5/

On 8 March 2011 18:00, dave matthews davidmatthews_...@hotmail.com wrote:


 quiet in here at the moment...

  Flash has been losing steam for a long time.

  The base of noobies got away from Adobe.  The tools are too expensive and
 complicated.
 The players and platform too disjointed with: PC Flash, phone Flashlite,
 Linux Flash and no Apple Flash.

  Buyers want their content/app investments to work on the high end mobile
 tools and that means Apple.

  Apple's decision to ban Flash makes sense - Firefox crawls sometimes with
 multiple browser windows hogging resources for several Flash ads on most
 pages.

  Flash's ease of use went horribley wrong somewhere in the last few years.
  It requires at least twice as much code to do the same stuff compared to
 earlier iterations of the language - and twice as long to learn the nuances
 too.  Not to mention abandoning the former language knowledge base that was
 trashed along the way.

  Then there was the bone headed move of charging manufacturers for OEM
 player installs on devices  until last year.  Adobe could have owned the
 mobile interface market by continuing to give the player away for free,
 but...  they outsmarted themselves by being greedy.  Then there's the
 decision to skip working with Apple first for Photoshop releases  Apple, who
 made Adobe successful in the first place.

  Adobe didn't do the existing Flash authors any favors by leaning into
 non-time-line Flash with Flex as the preferred authoring environment either.
  They could have brought all those time-line guys into the fold by offering
 time-line to straight code conversion as a feature of the formerly main
 authoring tool and taught all those folks what a correct straight to code
 translation should look like...  they didn't, unless i missed something.

  Then there was the brilliant move of not killing off movie clips that were
 no longer in/on the time-line for several iterations of the player - how did
 that happen?!

  Fact of the matter is, there were cooler inventions/apps when the coding
 environment and player were  simpler.  The older apps ran more smoothly on
 lesser equipment and were more compact and quicker to deliver.

  Feature creep overwhelmed what used to be a stimulating and rewarding
 creative experience.

  Can Flash be fixed?  Maybe.  I tried an old app in the newest player the
 other day and it ran better than it has in years, must be the new hardware
 acceleration - that's a good sign.

 Dave






  ___
 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] newbie class question

2011-03-09 Thread Kian Chang
Hi all, thanks for taking the time to read this and help a newbie out.
I'm just getting my feet wet with AS3 as I've finally decided to
abandon the AS2 way of life.

I'm trying to use CustomOrientation.as, and I keep getting 3 errors in
my main .fla file, error 1180: Call to a possibly undefined method
addFramScript.

1067: Implicit coercion of a value of type Class to an unrelated type
flash.display.StageOrientation

5000: The class 'CustomOrientation' must subclass
'flash.display.MovieClip' since it is linked to a library symbol of
that type

In my main.fla file I call CustomOrientation and I have the line:  new
CustomOrientation(stage, true, true, false, false); in the code in the
first key frame, any help would be greatly appreciated.

/**
 * CustomOrientation.as
 *
 * Instructions:
 * In iPhone OS Settings, turn 'Auto orientation' ON and set your 'Aspect ratio'
 * to the opposite of the one you want to use. Also, use only
 * 'Default-Portrait.png'; if you want a landscape app, rotate your landscape
 * image 90 degrees clockwise and save as 'Default-Portrait.png'.
 *
 * Usage:
 * When you call the constructor, first pass in your stage, then either 'true'
 * or 'false' for each orientation in order:
 * 1 default, 2 upsideDown, 3 rotatedLeft, and 4 rotatedRight
 * You can listen for the 'CustomOrientation.INITIAL_ORIENTATION' event to
 * determine when the stage is set so that you can reveal the stage or remove
 * a black overlay.
 *
 * Example (landscape only):
 * new CustomOrientation(stage, false, false, true, true);
 *
 * Example (portrait only):
 * new CustomOrientation(stage, true, true, false, false);
 *
 * by cr0ybot
 * www.cr0ybot.com
 */

package  {

 import flash.events.Event;
 import flash.events.EventDispatcher;
 import flash.events.StageOrientationEvent;
 import flash.display.Stage;
 import flash.display.StageOrientation;
 import flash.display.StageAlign;
 import flash.display.StageScaleMode;
 import flash.utils.Dictionary;

 public class CustomOrientation extends EventDispatcher {

  public static const INITIAL_ORIENTATION:String = initialOrientation;

  private var theStage:Stage;
  private var allowedOrients:Dictionary = new Dictionary();

  public function CustomOrientation(theStage:Stage,
defaultPortrait:Boolean = true, upsideDown:Boolean = true,
rotatedLeft:Boolean = true, rotatedRight:Boolean = true) {
   trace(AutoOrient class initialized; starting
orientation:, theStage.orientation);

   // store reference for the stage
   this.theStage = theStage;

   // dictionary object holds boolean for each orientation
   allowedOrients[StageOrientation.DEFAULT] = defaultPortrait;
   allowedOrients[StageOrientation.UPSIDE_DOWN] = upsideDown;
   allowedOrients[StageOrientation.ROTATED_LEFT] = rotatedLeft;
   allowedOrients[StageOrientation.ROTATED_RIGHT] = rotatedRight;

   theStage.scaleMode = StageScaleMode.NO_SCALE;
   theStage.align = StageAlign.TOP_LEFT;

   // listen for orientation changes and prevent unwanted ones
   
theStage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGING,
stageOrientationHandler, false, 0, true);

   // listen for the end of the first rotation, if there is one
   
theStage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGE,
initialOrient, false, 0, true);

   // check the orientation at startup and respond if necessary
   checkCurrentOrientation();
  }

  private function checkCurrentOrientation():void {
   trace(checking initial orientation...);
   // if current orientation is not allowed, force rotate
   if (!allowedOrients[theStage.orientation]) {
trace(theStage.orientation, not allowed.);
switch(theStage.orientation) {
 case StageOrientation.DEFAULT :
 case StageOrientation.UPSIDE_DOWN :

theStage.setOrientation(StageOrientation.ROTATED_RIGHT); // flash
default landscape orientation
  trace(stage rotating to:,
StageOrientation.ROTATED_RIGHT);
  break;
 case StageOrientation.ROTATED_LEFT :
 case StageOrientation.ROTATED_RIGHT :
  theStage.setOrientation(StageOrientation.DEFAULT);
  trace(stage rotating to:,
StageOrientation.DEFAULT);
  break;
}
   } else { // if the orientation IS allowed, dispatch the event
trace(theStage.orientation, allowed.);
dispatchOrientation();
   }
  }

  private function initialOrient(event:StageOrientationEvent):void {
   

Re: [Flashcoders] newbie class question

2011-03-09 Thread Henrik Andersson

Kian Chang skriver:

Hi all, thanks for taking the time to read this and help a newbie out.
I'm just getting my feet wet with AS3 as I've finally decided to
abandon the AS2 way of life.

I'm trying to use CustomOrientation.as, and I keep getting 3 errors in
my main .fla file, error 1180: Call to a possibly undefined method
addFramScript.

1067: Implicit coercion of a value of type Class to an unrelated type
flash.display.StageOrientation

5000: The class 'CustomOrientation' must subclass
'flash.display.MovieClip' since it is linked to a library symbol of
that type

In my main.fla file I call CustomOrientation and I have the line:  new
CustomOrientation(stage, true, true, false, false); in the code in the
first key frame, any help would be greatly appreciated.



The first one means that you need to subclass MovieClip if you use any 
framescripts. Either move the framescripts to the class or extend MovieClip.


The second one means that you somewhere are trying to use the 
StageOrientation class as an instance of it. I am not sure where that 
error is, but you should be getting a good linenumber in the compiler 
error list.


The last one is just garbage caused by the other errors. Ignore it, it 
will disappear when the rest of the errors goes away.

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


Re: [Flashcoders] tascam us-144 is detected, but no sound

2011-03-09 Thread Anthony Pace

Sorry, for not getting back to you sooner

Thank you Gerry, what you said made perfect sense, and you were 100% 
right; for, the xlr input was in fact on the right channel.  However, 
although you were right, to me this was strange since, because at the 
flick of a switch, the Tascam US-144 is supposed to, and with every 
other audio app does, take the stereo input and convert it to mono 
channel audio without restricting which inputs must be used.


To dig a little deaper, I found that it is because the way flash samples 
audio does not take proper advantage wdm or asio standards; thus, I am 
left with only two capable inputs, and wondering why Adobe hasn't worked 
in the support for devices like these yet?


Thanks again,
Anthony

On 3/7/2011 8:20 PM, Gerry Beauregard wrote:

Is it possible that the signal is on the right channel of your Tascam audio 
box?  If you're using the FP 10.1 Microphone class SampleDataEvent feature, 
it's only able to capture mono audio, as far as I can tell.

If you've got a stereo audio interface, that mono channel is actually the left 
channel.  At least that's the case with my Presonus Audiobox USB; I suspect 
it's the same for other USB audio interface boxes.


On 2011-03-08  , at 09:01 , Anthony Pace wrote:


I was working with sound sampling in flash, when suddenly, although flash would 
detect my tascam us-144 line in as a recording device, it wouldn't capture any 
sound.

I have done all kinds of testing; yet, for some reason it flash just can't hear 
anything.

Right now the only solution I have come up with is to use another mic.
___
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