Re: [Flashcoders] CrossDomain and Forms

2007-05-01 Thread Jason Rayles
You need a proxy script, which is a file on your server that will read in 
the data from the other server and write it out for you. As far as Flash is 
concerned, the data is from your server. There's an example on adobe.com 
somewhere.



- Original Message - 
From: Helmut Granda [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, May 01, 2007 4:49 PM
Subject: [Flashcoders] CrossDomain and Forms



Is there anyway to go around the crossdomain for testing purposes besides
testing locally (from flash IDE)?

final files will be at

Form:
subdomain.zzz.com
Processing form:
differentsubdomain.zzz.com

Testing is being done at

yyy.com

and of course me being at yyy.com dont have access tot xxx.com and I dont
want to send files and be like, test it if it fails send it back, then 5
minutes later ask for the file again and so forth.

TIA
___
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


Re: [Flashcoders] OT: Salary Questions

2007-04-18 Thread Jason Rayles
I doubt that the management structure of your global company is going to 
change any time soon. If you are frustrated, then it sounds like you should 
find another gig, especially if want a raise but are unable to communicate 
to your boss what it is that you do. I find that it's easier to bump up my 
rate with new clients than to explain to old clients why they should be 
paying me more for the same work, anyway.


I have no particular insight into the job market in your region, but I'd be 
surprised to hear of someone getting a 90K salary for flash development in 
Oklahoma.


Jason

- Original Message - 
From: Jordan Snyder [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, April 18, 2007 3:50 PM
Subject: Re: [Flashcoders] OT: Salary Questions


The main trouble I'm running into when trying to prove what I do here
is that we have almost NO organization in our company and no clear
path to any given team or individual.  A good example is that anyone
(salesperson, PR guy, creative director, client) can come to ANYONE in
my department and request work.  Then that person in my dept requests
a project code from a person in Switzerland who has no contact with us
whatsoever, and then that person is the 'owner' of the project and is
responsible for seeing it through.  If the graphic designer learns
about a highly technical project from a client, he will technically
own it, but I will of course run it.  Since my boss does little to no
due diligence into what the team is doing (he just expects everything
to be done when it's supposed to be done) then he has no idea what is
going on behind the scenes.  He just sees that a project either gets
done on time or it doesn't, and since I am the most technical, I am
blamed for failures yet not rewarded for successes (the boss actually
takes credit for successes after I sit down with him for hours and
explain the architecture and selling points of any given system.)

We have a serious management failure, lack of management all together,
and so the people making the world go around will never be recognized
for what we do.

Until we leave.

The only reason I'm here at this point is due to my significant
investment in this company.  It is dysfunctional from the top down,
but there are some amazing ideas and some amazing people in this
organization (global company).  I've decided that I am going to follow
through with the current project I'm driving, and if things do not
change a great deal afterward, I will take another job and make things
happen there.  There is so much information that I could divulge in
testament to the extreme dysfunctionality, but that would be neither
wise nor effective use of my time.

Hope this gives some insight into how much a corporate structure/lack
of structure affects my/your compensation, confidence, earning
ability, growth potential, etc.


Cheers!

___
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] NetStream.play() - Start parameter

2007-04-04 Thread Jason Rayles

Read the docs and it will all come clear.


Ah ha ha! That's hilarious.
___
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] Extending buttons interface

2007-03-12 Thread Jason Rayles

Why is using prototypes bad practice?

- Original Message - 
From: Janis Radins [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Monday, March 12, 2007 8:35 AM
Subject: Re: [Flashcoders] Extending buttons interface



also you should know that using prototypes is bad practice
better create seperate class for button that needs that extra 
functionality



___
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] Extending buttons interface

2007-03-12 Thread Jason Rayles

Prototype has been depreciated.


What are you talking about? This is straight from AS 2.0 Language Reference:
prototype (Object.prototype property)
public static prototype : Object

A reference to the superclass of a class or function object. The prototype 
property is automatically created and attached to any class or function 
object you create. This property is static in that it is specific to the 
class or function you create. For example, if you create a custom class, the 
value of the prototype property is shared by all instances of the class, and 
is accessible only as a class property. Instances of your custom class 
cannot directly access the prototype property, but can access it through the 
__proto__ property.


Availability: ActionScript 1.0; Flash Player 6


___
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] Extending buttons interface

2007-03-12 Thread Jason Rayles
Eeermmm.. the question was about flash 6, and someone said that using 
prototype is bad practice.



On 3/9/07, strk [EMAIL PROTECTED] wrote:

Is there a way to attach a method to all existing button instances ?
It seems that button instances are NOT instaceof Button ...
At least NOT for SWF6 .

--strk;



Inheritance. Well, I guess prototype may not exactly depreciated per se,
but inheritance is prefered - prototype is an alternative, supporting
previous versions of actionscript.

http://livedocs.adobe.com/labs/as3preview/langref/Object.html

Note: In ActionScript 3.0, prototype inheritance is not the primary
mechanism for inheritance. Class inheritance, which drives the
inheritance of fixed properties in class definitions, is the primary
inheritance mechanism in ActionScript 3.0.


___
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] Dynamic video buttons

2007-03-08 Thread Jason Rayles

Wendy,

I think the trick is generating the xml dynamically on the server. There's 
not a good way for flash to know whether a file exists until it tries to 
load the file. Unless you want to update and upload the xml every time you 
update a video, then you'll want a server-side script to create a list of 
the flvs in the folder. And really, the list doesn't have to be xml. If you 
know whether your server is running asp or php or cgis or whatever, then you 
should be able to search the web for a script that will list all of the 
files in a folder.


Once you have that, then you'll just show a button in flash for each entry 
in the list.


Jason



Hello list!

Does anyone know the code to make  -selectable dynamic video buttons-
appear
-only- if/when there is an .flv available to be called from in the xml
code???

I¹m dealing with 3 to 5 videos that need to be removed and then replaced
daily after rendering in final cut, exported to .flv¹s then put on web.
The prior needs to be taken down, and the new put up when ready.

I don¹t want the button for whichever video to appear unless the video is
there.

Any suggestions would be greatly appreciated!!

Thank You!

Wendy

--
Wendy Marino
Digital Media
Operations Specialist
The Journal News
1 Gannett Drive
White Plains, NY 10604
914-694-5288
E-mail:  [EMAIL PROTECTED]
www.lohud.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


Re: [Flashcoders] Skewing MovieClip??

2007-02-28 Thread Jason Rayles

http://www.senocular.com/flash/tutorials/transformmatrix/

___
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] triangle help

2007-01-26 Thread Jason Rayles
Given the interior angles and the length of one side (not the hypoteneuse) 
of a right triangle, how do I calculate (in Flash) the length of the other 2 
sides?


Thanks,
Jason 


___
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] Software Development Position

2006-09-15 Thread Jason Rayles
Hank, you don't know what you are talking about. You may be late to the 
party, but that doesn't mean that everyone was. There are a lot of 
people (not billions, but a good number) who meet/exceed YOUR 
requirements who were working in Flash before AS 2 was an option. 
Seriously, why do you think this list exists? Why do you think AS 2 
exists? Maybe the people in your flash programming study group in New 
York City are there to learn from people like you, and the dozens of 
Flash programmers with comp sci backgrounds in NYC don't attend your 
meetings because your meetings are beneath them.


I have zero interest in moving to Troy, MI, but those job requirements 
are not unreasonable.


Jason

On Sep 15, 2006, at 4:01 PM, [EMAIL PROTECTED] 
wrote:



Again it doesnt mean there arent any. It just means there arent
*many*. I am a member of a flash programming study group in New York
City. And I havent yet met in our group a single other Flash
programmer with a comp sci background. (at least I dont think so - If
I have dont and you are him, please dont be insulted :) ).


___
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] OT: Need math help

2006-07-12 Thread Jason Rayles
I wonder if someone would be willing to help me off-list with a math 
problem or can refer me to a more appropriate person/list to ask this 
question:


I have a photograph of a rectangle where the camera was slightly 
off-center and not parallel to the plane of the rectangle, so in the 
resulting photo, the rectangle is slightly distorted. I want to distort 
the image by repositioning the corner points of the photograph so that 
the interior rectangle is precisely positioned and sized.


1) I know the size of the photo,
2) I know the coordinates of the rectangle's corners in the photo
3) I know the coordinates where I want the rectangle's corners to be 
after the transformation.


I need to know the new coordinates of the photo's corners to achieve #3.

help?

___
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] can I know if I class/package has been imported in a swf?

2006-02-01 Thread Jason Rayles
No. Is there a way for my code in my class to figure out if another 
class that I am not writing but whose name I know is being used in a 
swf.




From: Steven Sacks [EMAIL PROTECTED]
Subject: RE: [Flashcoders] can I know if I class/package has been
imported in aswf?
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain;   charset=us-ascii


Is it possible to know if a class is being used in a flash movie? If
so, how?


Put a trace statement in the constructor of the class:

class foo {
function foo() {
trace(new foo);
}
}



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


[Flashcoders] v2 components - are you kidding me?

2006-01-31 Thread Jason Rayles
My main question is: why does opening a v2 combobox subsequently cause 
an onRollOut event to fire every time I click a button or movieclip, 
and is there any way to prevent that?


Some other questions I have are:
Is there anything that the combobox does right?

Why can I not use getNextHighestDepth anymore when I put a component on 
the stage?


Why does DepthManager.kCursor exist when I can still attach all kinds 
of objects above that depth?


Why can I attach movie clips at depths that are outside the valid range?

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


Re: [Flashcoders] v2 components - are you kidding me?

2006-01-31 Thread Jason Rayles

Meinte,

Thanks for the tip. I don't intend to use v2 components myself. I am 
trying to make a component for distribution, and I would like to make 
something that can play nicely with stuff that other people are 
likely to use.


Jason

On Jan 31, 2006, at 5:11 PM, [EMAIL PROTECTED] 
wrote:



From: Meinte van't Kruis [EMAIL PROTECTED]
Subject: Re: [Flashcoders] v2 components - are you kidding me?
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1

then maybe your question should be:

Why do I use V2 components?

-Meinte

(the first time I even tried using components was when I discovered the
things it put on the highest level(of _root in that case), plus i saw 
my

flash movie go from 5 to 60kb, I never looked at components again after
that.)

On 1/31/06, Jason Rayles [EMAIL PROTECTED] wrote:


My main question is: why does opening a v2 combobox subsequently cause
an onRollOut event to fire every time I click a button or movieclip,
and is there any way to prevent that?

Some other questions I have are:
Is there anything that the combobox does right?

Why can I not use getNextHighestDepth anymore when I put a component 
on

the stage?

Why does DepthManager.kCursor exist when I can still attach all kinds
of objects above that depth?

Why can I attach movie clips at depths that are outside the valid 
range?




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


[Flashcoders] can I know if I class/package has been imported in a swf?

2006-01-31 Thread Jason Rayles
Is it possible to know if a class is being used in a flash movie? If 
so, how?


I was thinking about doing something like
if(DepthManager != undefined) trace(this class is nowhere to be 
found);


The thing is, I don't want to use DepthManager, but I am pretty sure 
that I need to do one thing if DepthManager is being used anywhere 
else, and I need to do something else if it is not.


Thanks,
Jason

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


[Flashcoders] can't remove a clip attached to root???

2005-12-14 Thread Jason Rayles
Is there a reason that a movie clip attached to _root cannot be removed 
using removeMovieClip?


if I do
_root.attachMovie(square, s, _root.getNextHighestDepth());
then _root.s.removeMovieClip(); does not remove the clip.

However

if I do
mc.attachMovie(square, s, mc.getNextHighestDepth());
and mc.s.removeMovieClip(); works like a champ.

Flash 8, as 2.0. I am thoroughly stumped.

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


Re: [Flashcoders] can't remove a clip attached to root???

2005-12-14 Thread Jason Rayles
Magic, that's it. I am not using any prebuilt components, but I have 
made some components that extend UIObject, so I suspect that is why 
getNextHighestDepth returns 1048576, which I guess is outside the valid 
range. The documentation tells me to use the version 2 DepthManager 
class, but I am not sure how I would use that in place of attachMovie 
and getNextHighestDepth. Any suggestions?


If I can't do it simply with the DepthManager classs, then I guess I 
could pick a number and check against getInstanceAtDepth until I find 
an available depth. Seems dumb.


Eff. Better yet, I think I'll just put an empty movie clip on the stage 
and attach something to that.



On Dec 14, 2005, at 4:29 PM, [EMAIL PROTECTED] 
wrote:



Message: 16
Date: Wed, 14 Dec 2005 22:32:23 +0100
From: Hans Wichman [EMAIL PROTECTED]
Subject: Re: [Flashcoders] can't remove a clip attached to root???
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com,
flashcoders@chattyfig.figleaf.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii; format=flowed

Hi,
is this in an empty movie, or a movie with components in it?
Try and trace the depth, if its higher than a certain number (which 
may be
caused by components on your stage) you have to swap it to a lower 
depth first.

greetz
Hans

At 10:27 PM 12/14/2005, Jason Rayles wrote:
Is there a reason that a movie clip attached to _root cannot be 
removed

using removeMovieClip?

if I do
_root.attachMovie(square, s, _root.getNextHighestDepth());
then _root.s.removeMovieClip(); does not remove the clip.

However

if I do
mc.attachMovie(square, s, mc.getNextHighestDepth());
and mc.s.removeMovieClip(); works like a champ.

Flash 8, as 2.0. I am thoroughly stumped.


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


[Flashcoders] alpha -= 10 = wtf

2005-12-14 Thread Jason Rayles

Has this been discussed?
Flash player 8

trace(this._alpha);
this._alpha -= 10;
trace(this._alpha);

Output:
100
89.84375

Thanks, Macromedia!

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


Re: [Flashcoders] Dynamic Loading Images

2005-11-07 Thread Jason Rayles

How do you read the files in a directory w/ flash 8?


On Nov 7, 2005, at 3:12 PM, [EMAIL PROTECTED] 
wrote:



Message: 11
Date: Mon, 7 Nov 2005 20:18:36 +0100
From: Tom Rhodes [EMAIL PROTECTED]
Subject: Re: [Flashcoders] Dynamic Loading Images
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; format=flowed; charset=iso-8859-1;
reply-type=original

use flash 8 to read the files in a directory or php can pass you all 
the

filenames from a directory too, then just load them in



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