___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Use the link at the bottom of each list message to remove yourself.
On Sun, Apr 1, 2012 at 05:28, Studio aan de Werf j...@studioaandewerf.nl
wrote:
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
Hi
I have problem with video sound. It is AS2.
Sound starts with this code
var so:Sound;
var vSound:MovieClip;
vSound=theVideo.createEmptyMovieClip(vSound,theVideo.getNextHighestDepth());
vSound.attachAudio(ns);
so=new Sound(vSound);
so.setVolume(100);
on close button
Stop it.
Отправлено с iPhone
11.12.2010, в 19:29, natalia Vikhtinskaya natavi.m...@gmail.com написал(а):
Hi
I have problem with video sound. It is AS2.
Sound starts with this code
var so:Sound;
var vSound:MovieClip;
Yes. You must stop the sound before unloading it.
clearVideo=function(){
so.stop();
// or so.pause() then so.stop()
theVideo.removeMovieClip();
vSound.removeMovieClip();
delete so;
}
Hth
Karl
Sent from losPhone
On Dec 11, 2010, at 4:56 PM, Ivan Dembicki ivan.dembi...@gmail.com
wrote:
Ok, I sent a note for the last post of mine to be ignored, but it's awaiting
moderation.
anyway, the following is written more clearly. The problem is I can't
remove a listener. Probably my noob status with as3.
the remove listener works within the ENTER_FRAME fuction itself, but if I
hi, i need to embed some videos from a clients youtube channel on their
site.
does anyone know if inline ads will show and if they do, can they be
removed?
wouldnt want any of the competition advertising on there ;-)
any help appreciated.
thanks,
MaTT
Does anyone know an easy way to remove a Flash object from a page? It's
embedded using SWFObject, so within a Div tag. I'm calling a JS on the page
through ExternalInterface and have not had any luck thus far... it's for an
ad's close button.
Dave -
Head Developer
if overwriting the div contents isn't working you may want to look at
SWFObject 2.0 which is I believe is more geared towards dynamic pages.
Word of warning - the syntax is quite different from 1.5 if you are using
it on other swfs
On Thu, Apr 17, 2008 at 1:18 PM, Dave Mennenoh [EMAIL
I'm green to this: what is the trick to getting a flash menu to require a
single click from IE browsers rather than two?
CBP
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
- Original Message -
From: [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, July 10, 2007 3:47 PM
Subject: [Flashcoders] Remove double-click from IE
I'm green to this: what is the trick to getting a flash menu to require a
single click from IE browsers rather
hi guys
i'm looking for a way of removing duplicate items in an array
i've done this so far
//sort array so all items of the same content are grouped together
myArray.sort();
//loop through items, removing any sitting next to a duplicate
for (var i:Number = 0; i myArray.length; i++) {
Don't you think that you should take into consideration that the
length of the array can change during the loop?
Attila
ABER //loop through items, removing any sitting next to a duplicate
ABER for (var i:Number = 0; i myArray.length; i++) {
ABER if (myArray[i] == myArray[i+1]) {
ABER
You could prevent duplicates from being placed into the array in the first
place. Or
http://proto.layer51.com/d.aspx?f=1196
You could rewrite a prototype as a regular function that takes the array as
an argument.
- eric
On 5/22/07, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED]
wrote:
hi
To: flashcoders
Subject: [Flashcoders] remove duplicate items in array
hi guys
i'm looking for a way of removing duplicate items in an array
i've done this so far
//sort array so all items of the same content are grouped together
myArray.sort();
//loop through items, removing any sitting next
From my XArray mixin class (all 3 are needed).
/**
* Returns a new array by removing duplicate values in Array.
*/
Array.prototype.uniq = function()
{
var r = [];
var l = this.length;
for (var a = 0; a l; a++) {
if (!r.has(this[a])) r.push(this[a]);
yeh - i started trying to do that but just got myself into a moody
bluddle - i'll prolly go back and try to rewrite it a bit cleaner
when i'm happy i'll hit deadline
here's what i ended up with -
var myTempArray:Array = [];
8o
thankyou
On 22 May 2007, at 18:56, Steven Sacks wrote:
From my XArray mixin class (all 3 are needed).
/**
* Returns a new array by removing duplicate values in Array.
*/
Array.prototype.uniq = function()
{
var r = [];
var l = this.length;
for (var a = 0; a l;
i could barely read that - it looks ammmaaazing :D
thanks eric - when's the next super samurai book coming out? :)
On 22 May 2007, at 18:18, eric e. dolecki wrote:
You could prevent duplicates from being placed into the array in
the first
place. Or
http://proto.layer51.com/d.aspx?f=1196
holy wow - super samurai ;)
I didn't know many even saw that one...
On 5/22/07, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED]
wrote:
i could barely read that - it looks ammmaaazing :D
thanks eric - when's the next super samurai book coming out? :)
On 22 May 2007, at 18:18, eric e.
i had to order it from the states - it was great
On 22 May 2007, at 19:58, eric e. dolecki wrote:
holy wow - super samurai ;)
I didn't know many even saw that one...
On 5/22/07, Allandt Bik-Elliott (Receptacle)
[EMAIL PROTECTED]
wrote:
i could barely read that - it looks ammmaaazing :D
hey John, send me your new code and I'll take a look today at some point
- I think we may want to take this subject off [public] list though.
with kind,
seb.
John Trentini wrote:
Sebastian,
I have tried implementing your idea but I don't seem to be able to
create my dropdown menu any
if instead of creating your items in the root, you created them in a MC,
you can then just delete/unload the MC holder and then create a new one.
That will instantly remove all the sub-movie clip/buttons.
and, yes, you should try learning how to encapsulate your code in
functions or, even
Thank you Sebastian,
This questions would probably belong to the flashNewbie list but they
have Jason there who advocates the use of 'Delegate. create' and
sincerely that confuses the hell out of me and, at this stage I do not
have the time to sit down and do any more learning than I am
hi John,
well you want to attach all the sub clips to the holder.
so:
var containerDepth:Number = 1;
this.createEmptyMovieClip(container_mc, containerDepth,thisOne._x-100,
0, 130, 25);
this.container_mc.createTextField(mySubText+i,this.getNextHighestDepth());
subBtn =
Hi Sebastian,
Thanks for your feedback and code pointer.
I will try writing the functions as you suggest. :)
cheers
JohnT
sebastian wrote:
hi John,
well you want to attach all the sub clips to the holder.
so:
var containerDepth:Number = 1;
this.createEmptyMovieClip(container_mc,
Sebastian,
I have tried implementing your idea but I don't seem to be able to
create my dropdown menu any longer. Only the last button is created and
without the appropriate label but also at 0,0.
Also, should I made the heigth of the container large enough to hold any
number of buttons? At
Hi flash coders,
I have created a menu dynamically and then when clicking on any of the
menu elements, I create a dynamic dropDown menu. All is well and working
but I am having problems deleting the dropDown menu and all it elements
when rolling over or clicking on a different menu element .
Sorry to be always sending this kind of e-mail to the list every now and again,
but I am still unable to unsubscribe, nor am I able to get in contact with the
list owner.
I can't block the list, either, as it comes in from multiple senders.
I would really appreciate it if someone can take me off
Please get me off this list.
UNSUBSCRIBE
Thanks
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arseniy
Shklyaev
Sent: Friday, February 23, 2007 2:49 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] flash games network
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven
Sent: 30 January 2007 18:28
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Remove / Hide a video component
Thanks - yeah you are right, I was mistaken that the video was still
I have a flash 8 movie that is composed of 60 sections and hence there are
60 labels.
Some of these sections include a video clip playing and I have used the
Flash 8 FLVPlybk component.
What I would like to do is have this on stage in the correct position and
then hide or remove it for sections
I just did a quick test and dragged a component on stage and set
myvid._visible = false; and it seemed to hide the component just fine
Failing that you could always change it's x or y position to somewhere off
stage like
myvid._x = -1000
On 1/30/07, Paul Steven [EMAIL PROTECTED] wrote:
I
: Re: [Flashcoders] Remove / Hide a video component
I just did a quick test and dragged a component on stage and set
myvid._visible = false; and it seemed to hide the component just fine
Failing that you could always change it's x or y position to somewhere off
stage like
myvid._x = -1000
On 1
Subject: [Flashcoders] Remove elements from Array
-
Hi everyone,
I'm having a braindead moment today, which I was hoping someone could
help me with.
I have the following array...
//Create array with 5 elements
var myArray1:Array = new Array();
myArray1.push( new Array(A:, -1) );
myArray1.push
The Array.splice method, in AS1 at least, is very slow. For that
reason, In situations like this where you would make repeated calls
to it to remove one item I prefer to:
- create a new Array
- iterate the original array with a for loop
- push the items I want to keep into the new array
-
] On Behalf
Of Arindam Dhar
Sent: Friday, December 22, 2006 12:10 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Remove elements from Array
function removeElements(arr, level) {
for (var i = 0; i {
var tempArr = arr[i];
if(Number(tempArr[1] ) Number(level))
{
arr.splice(i, 1
Try this,
var myArray1:Array = new Array();
myArray1.push( new Array(A:, -1) );
myArray1.push( new Array(B:, -1) );
myArray1.push( new Array(C:, 0) );
myArray1.push( new Array(D:, 0) );
myArray1.push( new Array(E:, -1) );
myArray1.push( new Array(F:, 1) );
myArray1.push( new Array(G:, 0)
: [Flashcoders] Remove elements from Array
function removeElements(arr, level) {
for (var i = 0; iarr.length; i++)
{
var tempArr = arr[i];
if(Number(tempArr[1] ) Number(level))
{
arr.splice(i, 1);
arguments.callee(arr, level);
}
}
}
removeElements(myArray1
11:58 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Remove elements from Array
-
Hi everyone,
I'm having a braindead moment today, which I was hoping someone could
help me with.
I have the following array...
//Create array with 5 elements
var myArray1:Array = new Array();
myArray1
-
Hi everyone,
I'm having a braindead moment today, which I was hoping someone could
help me with.
I have the following array...
//Create array with 5 elements
var myArray1:Array = new Array();
myArray1.push( new Array(A:, -1) );
myArray1.push( new Array(B:, -1) );
myArray1.push( new
What if you create a new array and push the good values ( 0 ) onto it,
then replace the old array with the new, at the end of the loop?
Simple. Efficient? Probably, unless your array gets huge.
-Scott
On 12/21/06, Mike Cobb [EMAIL PROTECTED] wrote:
-
Hi everyone,
I'm having a braindead
you could use a while loop:
var i:Number = 0
while(i myArray1.length) {
if(myArray1[i][1] == 0) {
/* I think this is right: */
myArray1.splice(i, 1);
} else {
i++;
}
}
Splicing will cause the next item to be at index i, so you want to
recheck that index the next time through the
That's probably more efficient than my method. Granted, I may be
wrong about how Flash stores arrays internally, but in general
removing a single element from an array requires everything after that
element to be shifted left. So the closer to the beginning of the
array the more expensive the
-
oh brilliant - just what I needed.
Thanks Andy!
Andy Herrman wrote:
you could use a while loop:
var i:Number = 0
while(i myArray1.length) {
if(myArray1[i][1] == 0) {
/* I think this is right: */
myArray1.splice(i, 1);
} else {
i++;
}
}
Splicing will cause the next item to be
Subject: [Flashcoders] Remove elements from Array
-
Hi everyone,
I'm having a braindead moment today, which I was hoping someone could help
me with.
I have the following array...
//Create array with 5 elements
var myArray1:Array = new Array();
myArray1.push( new Array(A:, -1) );
myArray1.push
-
Thanks Michael - that's an elegant solution.
Don't worry about the array name though - just a simplified example for
the sake of the list.
Thanks again all.
T. Michael Keesey wrote:
Quite simple:
for (var key:String in myArray1) {
if (myArray1[key][1] 0) {
Wouldn't doing the splice there change the indexes of everything else
in the array and mess up the loop?
For instance:
[1, 2, A, A, 5, A, 7]
say you're deleting the As.
The first time you do a splice you remove the first one, and get:
[1, 2, A, 5, A, 7]
The index of everything after the
No, because it's a for (x in a) loop, not a for (x; y; z) loop. In AS2
it iterates backwards over the elements. Not sure about AS3, but it
should work there, too. Try it and see!
On 12/21/06, Andy Herrman [EMAIL PROTECTED] wrote:
Wouldn't doing the splice there change the indexes of everything
Even if it iterates backwards, I don't think I'd trust it. I don't
like the idea of relying on an implementation detail of the for-in
loop in order to make my stuff work. In general I see for-in loops
(any language) as loops that use an arbitrary ordering, and as such
you shouldn't rely on any
Well, easy enough, then:
for (var i:Number = array.length - 1; i = 0; --i) {
if (!test(array[i])) {
array.splice(i, 1);
}
}
On 12/21/06, Andy Herrman [EMAIL PROTECTED] wrote:
Even if it iterates backwards, I don't think I'd trust it. I don't
like the idea of relying on an
for (var i:Number = array.length - 1; i = 0; --i) {
if (!test(array[i])) {
array.splice(i, 1);
}
}
This is correct and well tested... Look in any of the AS code
libraries and you'll find many variations on this theme.
Jim Kremens
On 12/21/06, T. Michael Keesey [EMAIL PROTECTED]
Well now I just feel dumb. That's much better than my while loop, and
simple enough I should have thought of it (I've even done something
like that before). Doh!
-Andy
On 12/21/06, Jim Kremens [EMAIL PROTECTED] wrote:
for (var i:Number = array.length - 1; i = 0; --i) {
if
Anyone know how to remove the sort icon from the header in a DataGrid?
I am basically assigning a new dataprovider for the grid, but if it was
sorted the up or down sorting icon remains. I've tried
removingAllColumns(), etc, but have had no luck. Haven't tried
reassigning the skin, but I was
completely remove the themeColor so it is transparent?
Anyone know something about how to do this? Much appreciated, if so.
-Original Message-
From: Gresh, Lois [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006 11:40 AM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] remove
Does anyone know of a quick way to disable (completely remove) the
themeColor of a radio button component? The selected radio button deposits
a green circle (I believe due to themeColor, such as haloGreen/etc) in
subsequent frames. I need to get rid of the green circle residues. Help
appreciated
]
Sent: Wednesday, June 07, 2006 11:40 AM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] remove haloGreen - haloBlue- haloOrange
Does anyone know of a quick way to disable (completely remove) the
themeColor of a radio button component? The selected radio button deposits
a green circle (I
'
Subject: RE: [Flashcoders] remove haloGreen - haloBlue- haloOrange
Well, I can make the themeColor for the radios white or black or whatever,
but still, how do I completely remove the themeColor so it is transparent?
Anyone know something about how to do this? Much appreciated, if so
myRadioButton.drawFocus = undefined;
Derek Vadneau
- Original Message -
From: Gresh, Lois [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Wednesday, June 07, 2006 2:24 PM
Subject: RE: [Flashcoders] remove haloGreen - haloBlue- haloOrange
Thanks a million - works perfectly!
-Original Message-
From: Derek Vadneau [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006 3:05 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] remove haloGreen - haloBlue- haloOrange
myRadioButton.drawFocus = undefined
Hi
I need to display following html in my flash textfield. This include table tags
and html entities(#39;). How to remove this? Any ideas
descriptionbrtable border=0 width= valign=top cellpadding=2
cellspacing=7trtd width=80 align=center valign=topa
Hi, is that possible? How could I do that?
Thanks and regards.
___
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
@chattyfig.figleaf.com
Sent: Wednesday, March 15, 2006 11:16 PM
Subject: Re: [FlashCoders] remove BitmapData
There is no getDepth() method for bitmapData Objects.
What's the problem with keeping a refrence to your bitmapData Objects? I
would argue that it's better practice to refrence them anyways
Hi Phillipe,
Try:
datagrid.removeEventListener(cellPress, ListenerObj);
Judah
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Felipe
Fernandez
Sent: Friday, March 17, 2006 2:53 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Remove cellPress
:53 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Remove cellPress Listener on DataGrid
Hi, is that possible? How could I do that?
Thanks and regards.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search
Hello everyone,
How can I remove a bitmap that I have attached on a movieclip at a certain
depth?
The only approach I was able to find was to attach another bitmap 1x1
transparent
at the same depth, but I think this is a pretty stupid approach...
Am I missing something?
Thanks,
Dimitrios
bmpdata.dispose()
On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote:
Hello everyone,
How can I remove a bitmap that I have attached on a movieclip at a certain
depth?
The only approach I was able to find was to attach another bitmap 1x1
transparent
at the same depth, but I think this
-
From: Ryan Matsikas [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 15, 2006 7:20 PM
Subject: Re: [FlashCoders] remove BitmapData
bmpdata.dispose()
On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote:
Hello everyone,
How can I
: Ryan Matsikas [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 15, 2006 7:20 PM
Subject: Re: [FlashCoders] remove BitmapData
bmpdata.dispose()
On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote:
Hello everyone,
How can I
list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 15, 2006 9:19 PM
Subject: Re: [FlashCoders] remove BitmapData
you could loop through the movieclip, check if the object you are
encountering is an instance of bitmapdata and remove them. this could be
done in reomvemoveiclip so you
from a movieclip?
That's what I haven't figured out yet.
Thanks,
Dimitrios
- Original Message -
From: Johannes Nel [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 15, 2006 9:19 PM
Subject: Re: [FlashCoders] remove BitmapData
@chattyfig.figleaf.com
Sent: Wednesday, March 15, 2006 9:46 PM
Subject: Re: [FlashCoders] remove BitmapData
for (var e in clip)
{
if(clip[e] instanceof BitmapDAta)
{
clip[e].dispose();
}
}
i think that could work.
On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote:
check if the object you are
encountering
, 2006 9:46 PM
Subject: Re: [FlashCoders] remove BitmapData
for (var e in clip)
{
if(clip[e] instanceof BitmapDAta)
{
clip[e].dispose();
}
}
i think that could work.
On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote:
check if the object you are
encountering is an instance
Message -
From: Johannes Nel [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 15, 2006 9:46 PM
Subject: Re: [FlashCoders] remove BitmapData
for (var e in clip)
{
if(clip[e] instanceof BitmapDAta)
{
clip[e].dispose();
}
}
i think
I can't use director because of the following reason:
1. The client worry that Director will be gone in the next 4, 5 years, and
the application have to last longer than that :(
2. We are using Flash Remoting, loadVariables via ASP.NET page, load XML
and I am not so sure we can do that with Flash
Yes, with 3rd party apps like Zinc or SWFStudio.
On 3/7/06, Dominico Savio [EMAIL PROTECTED] wrote:
Is there anyway we can remove the Setting and About Macromedia ... when
users do the right click? My client need to use right click in this project
Dominic
Here's what I've been able to find out:
Disable Flash movie right-click menu
disabling right-clicking on a Flash movie (in IE [on a PC])
so, i've complained for some time on various forums about the inherent
security flaw of having the About Macromedia Flash Player X open a new
browser
I want to use this online, so can Zinc and SWFStudio do that? or I have to
export swf out as EXE?
On 3/6/06, Ramon Miguel M. Tayag [EMAIL PROTECTED] wrote:
Yes, with 3rd party apps like Zinc or SWFStudio.
On 3/7/06, Dominico Savio [EMAIL PROTECTED] wrote:
Is there anyway we can remove the
Ah, Zinc and SWFStudio are only for standalone apps. You'll be better
of w/ Gaia's advice.
On 3/7/06, Dominico Savio [EMAIL PROTECTED] wrote:
I want to use this online, so can Zinc and SWFStudio do that? or I have to
export swf out as EXE?
On 3/6/06, Ramon Miguel M. Tayag [EMAIL PROTECTED]
:( can't use the solution from Gaia-Tek :( because we not allowed to have
any message window popping up at all. I am trying to make an application
which stimulates MS offices using Flash, and as you know MS Office uses a
lot right click to do a lot of things, that's why having alert windows like
Doesn't office show a contextual menu on r-click? If so you can
customize the contextual menu instead of hiding it...
var newMenu:ContextMenu = new ContextMenu();
newMenu.hideBuiltInItems();
On Mar 7, 2006, at 12:18 AM, Dominico Savio wrote:
:( can't use the solution from Gaia-Tek :(
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.
True, it would work a lot like www.goowy.com does (without FireFox,
because for some reason [probably the superimposed HTML], right
clicking the Flash window doesn't work in FireFox).
You'll still see the Settings and About or something like that...
On 3/7/06, Michael Bedar [EMAIL PROTECTED]
No. And you didn't even use the magic word.
take me off the mailing list
NOTICE:
This message is for the designated recipient only and may contain privileged or
confidential information. If you have received it in error, please notify the
sender immediately and delete the original. Any
Hi there - I have some code in which I attach a movie from my library.
this.attachMovie(level1Mc, l1_mc, 10);
Now depending on button presses, there are other movies attached and replacing
previous
ones... so what I am wondering, is there a way to clear a level? So for example
when i
click a
Arrgh remove me from the mailing list
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
86 matches
Mail list logo