Karl DeSaulniers wrote:
Using AS2.
When is it best to use the :Void ? and what is the difference between
that and :void ?
You use void when a function doesn't return anything. In fact, there are
some languages, like Pascal and, I believe, Fortran, that have that built
in. In Pascal, a
Hi Carl,
What i think i hear is that your client want their video only to be
shown to certain people.
If that is the case, you can check out this article by ted patrick:
http://onflash.org/ted/2006/03/licensing-drm-and-flash-player.php
Some other good info comes from here:
void is good when you compile - if your method does not return something and
you try to return something from the method, your compiler will complain
which is good:
private function foo():void {
return true;
}
// 1051:Return value must be undefined.
Also, if you define something being
If I remember correctly, in AS2, you need to write a complete function
signature including the scope.
Try including the scope on the functions that stopped working when you added
:Void
*public* function fName():Void {
gotoAndPlay(2);
}
You can choose between internal, private, protected
Just test it within a browser.
On Tue, Jul 14, 2009 at 12:25 AM, Karl DeSaulniers k...@designdrumm.comwrote:
Do you have your swf set to access local or network only in the publish
settings?
If you have your swf set to local only, it will generate this warning if
you click a web url inside
Hello list,
Lets say I have a class with a public getter to a private var which
holds an Array.
Some other class can do this then:
var tArr:Array = class.myArray;
I can then do this:
tArr.push(int) and the content of the array has changed without the
class knowing. This is in most cases I
Sounds like you want to use a kind of Observer pattern:
Can you wrap up your array class in something that implements the
methods you want, ignores / passes on the stuff you care about and then
notifiies listeners of any changes that you care about?
Flex makes this quite easy with {watching}
Thanx. Well i could extend Array and then override all the methods and
have them dispatch events, like ON_CHANGE.
Overwriting all the public mehtods is a pain, so I suspect i can use the
flash.utils.Proxy for this.
I just need to understand this utils.Proxy and flash_proxy thing.
Could
Probably something really simple but can't for the life of me recall the syntax
to change a particular character of a string.
For example if I have the word Flash and want to change the letter a to an
e, I was hoping there was a function like setCharAt(2, e);
Btw I am coding in AS3.
Thanks
I have a series of frames with navigation that covers the left 50% and
right 50% of the images.
When I click the navigation it fades 1 picture out and a new one in, but
the mouse events are not firing the mouseover animations because my mouse
is already over the button. I have to pull my mouse
trace((Flash).replace(/(.{2}).(.*)/, $1e$2));
// Flesh
Perhaps not the answer, I know ;)
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Paul Steven wrote:
Probably something really simple but can't for the life of me recall the syntax
to change a particular character of a string.
For
Thanks for that info. Actually we have a fully licensed version of the
Flash Media Server, but to tell you the truth, We didn't care for how
the video streams from the server. My client really needs to have
smooth seek functions, plus want want to capture screenshots of frames
using the bitmap
I apologize if this appears as a cross posting, I tried to post in
flexcoders but have not seen it yet. Maybe it is still getting approved.
My issue pertains to both flex and flash CS4.
I have created a course player in flex that loads flash cs4 swf files
using swfloader.
This swfloader is
Does this not work for you?
// Change the first instance only
var myPattern:RegExp = /sh/;
// Change all instances
//var myPattern:RegExp = /sh/g;
var str:String = She sells seashells by the seashore.;
trace(str.replace(myPattern, sch));
// She sells seaschells by the seashore.
Hth,
Bob
Sorry about the images not getting through. Pictures are worth a
thousand words and you can view them at these links
Combobox dropdown menu problem
illustrated(http://nim.unc.edu/comboProblem.jpg)
http://nim.unc.edu/comboProblem.jpg
and here is the way I would like it to look within the
Thanks Robert - yes I am able to replace patterns but just wondered If
simple way to change a particular character in a string based on the
character index?
Thanks
Paul
Sent from my iPhone
On 14 Jul 2009, at 18:10, Robert Leisle b...@headsprout.com wrote:
Does this not work for you?
//
Ah yes. I missed that part.
How about this moderately less simple one using Kenneth's suggestion?
function swapCharAt(s:String, index:Number, char:String ):String{
var ptrn:RegExp = new RegExp((.{+index+}).(.*));
return( (s).replace(ptrn, $1+char+$2) );
}
trace( swapCharAt(Flash,
Have any of you ever used Premiere to create cuepoints (called markers
in Premiere) and save out an flv for use in Flash? I created the
cuepoints/markers with text for the captions and titles for chapters
just fine, and thought it (Premiere Pro CS3) would export the XML along
with the flv, but I
Besides the compiler checking, specifying the return type is also good when you
write code - enforces you to return the correct type and code correctly. Also
helps apps like FlashDevelop know what the method returns, so great with
code-hinting.
Jason Merrill
Bank of America Global
I have used final cut for making my cue points, but I do not export to
a flv from final cut when I do this. I first make a mov file with the
cue points saved in it and then use the flash video encoder to import
my mov file and create my flv. The encoder reads all my cue points and
let's me
Thanks - I'm an idiot - I had pathed to the wrong .flv file. Duh. I
can read the metadata now produced in Premiere - it embeds it in the flv
- doesn't support XML export like Soundbooth does. However, I seem to
only be able to grab the following metadata from the MetadataEvent:
private
Just throwing this out there, haven't messed with cue points in
ages(thank god) ;) but have you looked at onXMPData? I believe it's
only FP10+
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WSD30FA424-950E-43ba-96C8-99B926943FE7.html#WS48F8E9DF-A81C-4838-84CF-5F04EB8541FE
hth,
B.
No, thanks - but I also have to target FP9. Thanks though.
Jason Merrill
Bank of America Global Learning
Shared Services Solutions Development
Monthly meetings on the Adobe Flash platform for rich media experiences - join
the Bank of America Flash Platform Community
-Original
Ah - after a lot more digging and testing, it seems Premiere Pro only
embeds the marker's name, time, and type into the flv. It doesn't
include comments or chapter data. Bummer! I wish they would put that
in the docs. I guess it's over to Soundbooth and XML to do this...
unless someone knows
I believe what was happening with making the mov was that all that
metadata was written to it and the flash video encoder was able to
retrieve all the data, because, I was able to edit them, rename them,
etc.
Karl
Sent from losPhone
On Jul 14, 2009, at 4:05 PM, Merrill, Jason
Ahhh, spoke too soon.
It worked on some, but not on others.
funny thing is its almost identical code.
just a difference in how long the tween goes for.
Is it possible that my tween timing could nullify my callback
Karl
On Jul 13, 2009, at 1:51 AM, Jiri wrote:
nice! Good luck.
Jiri
Karl
I'm by no means a sales man for Final Cut, but I believe it does save
that data. Not positive. Would have to test.
Karl
Sent from losPhone
On Jul 14, 2009, at 4:34 PM, Merrill, Jason jason.merr...@bankofamerica.com
wrote:
Ah - after a lot more digging and testing, it seems Premiere
Is adobe dropping the making of programs for the mac g5 ppc machines?
I'm asking this because I've just downloaded the coldfusion builder
beta and the flash builder beta(gumbo)
and those are not going to run on g5 ppc machines , only for mac
intel, is that the new direction of adobe or
Ok, am I missing something... ?
This works, but starts playing the MC at the same time as the tween
and not at the end.
function formVisible():Void {
this.quoteRequest_mc.gotoAndPlay(startQuote);
}
function showForm() {
Gustavo Duenas wrote
Is adobe dropping the making of programs for the mac g5 ppc machines?
I don't know that Adobe have a company-wide policy. It seems to be more on a
product-by-product basis, or perhaps across the CS suites.
But yes, they do seem to be heading in that direction. I don't
Hmmm... looks like this works, wich is like a combonation of all of
them.
function formVisible():Void {
this.quoteRequest_mc.gotoAndPlay(startQuote);
}
function showForm() {
this.quoteRequest_mc.ySlideTo(quoteShowY,2.8,easeincirc,0,function
() {formVisible();},20,.8);
}
Would
Since Apple is dropping support for the G5 PPC, I'm sure Adobe is following
suit.
John
on 7/14/09 5:39 PM, Gustavo Duenas at gdue...@leftandrightsolutions.com
wrote:
Is adobe dropping the making of programs for the mac g5 ppc machines?
I'm asking this because I've just downloaded the
OK thanks, I appreciate your comments, but let me be clear, I am using Adobe
Premiere Pro CS3, and I don't have a copy of Final Cut.
Jason Merrill
Bank of America Global Learning
Shared Services Solutions Development
Monthly meetings on the Adobe Flash platform for rich media
Ah.. well that would make it difficult to use Final Cut to do that
then..
I thought you might have that as an option.
Sry for any misunderstanding..
Karl
On Jul 14, 2009, at 9:19 PM, Merrill, Jason wrote:
OK thanks, I appreciate your comments, but let me be clear, I am
using Adobe Premiere
Following up, I have a good solution. I figured out I can simply just put the
captioning text in the Chapter field for the marker in Premiere instead and
that works well. I can also insert XML with metadata to include additional
information like offset positioning for the caption if I parse
35 matches
Mail list logo