How can I do to replace accent with 2 array?
///
this.createTextField(my_txt, this.getNextHighestDepth(), 10, 10, 320,
240);
my_txt.type = input;
my_txt.text = é ère ç;
var myArray:Array = new Array(é, è, à, ç);
var newArray:Array = new Array(e, e, a, c);
function replace_accents(myArray)
How can I do to replace accent with 2 array?
///
this.createTextField(my_txt, this.getNextHighestDepth(),
10, 10, 320, 240); my_txt.type = input; my_txt.text = é
ère ç; var myArray:Array = new Array(é, è, à, ç);
var newArray:Array = new Array(e, e, a, c); function
Is there a way to know the original fps of a loaded swf? I mean, the
fps to which it was compiled to, not the actual framerate?
Cheers,
Juan
On 1/23/07, Eskil Janson [EMAIL PROTECTED] wrote:
Hi Daniel!
If you want something more graphical, you can download my framechecker at:
yes, i did reinstall numerous times, not helping :-(
Geoff Stearns [EMAIL PROTECTED] wrote: have you tried uninstalling the
plugin (using the adobe uninstaller)
and then reinstalling it?
On Jan 22, 2007, at 3:36 AM, Arindam Dhar wrote:
hi,
I have encountered flash ocx error many times
Thanks for your observation about the small capital letters :) ...
my mistake :)
but are you programmers? ... I don't think so. Sorry, couldn't resist :P
On 1/23/07, Mick G [EMAIL PROTECTED] wrote:
My swf filename only contains small capital letters.
Yes but how do you get small caps into
Google:
Flash desaturate movieclip
- ericd.
On 1/24/07, Andrew Kirkham [EMAIL PROTECTED] wrote:
Is there a way of transforming a coloured MovieClip instance to monochrome
(specifically grey scale) at run time? I want it to indicate that a control
is disabled.
It seems a fairly elementary
ColorMatrixFilter is your friend :)
Attila
AK Is there a way of transforming a coloured MovieClip instance to
AK monochrome (specifically grey scale) at run time? I want it to
AK indicate that a control is disabled.
AK It seems a fairly elementary thing to do, so possibly I'm
AK
Slightly confused
I have a super class:
package com.ktec.timeline
{
protected var labelClass:String = default;
public class AbstractMarker {
public function AbstractMarker ()
{
labelClass = default;
}
public function showTitle (title:String):void
{
trace(span
Keith Salisbury
Slightly confused
I have a super class:
package com.ktec.timeline
{
protected var labelClass:String = default;
public class AbstractMarker {
public function AbstractMarker ()
{
labelClass = default;
}
public function showTitle
Not an AS3 expert by any means, but my first thought is that the error is
here:
public class DateMarker extends AbstractMarker
{
public function DateMarker ()
{
super();
labelClass = date
}
}
I'm not sure, but the super() function looks out of place here.
Also not an AS3 expert, but I think Danny is wrong. The super function
is necessary to call the parent constructor. I believe that the problem
is related to what Petro said about labelClass being outside of the
AbstractMarker class. I would also consider subclassing showTitle and
adding a
It might not be MTASC itself, but something that FlashDevelop is doing
with MTASC that caused it (an option I couldn't find or something).
Either way, setting it at the beginning of my script fixes it, so it
doesn't really matter anymore. :)
-Andy
On 1/24/07, Rákos Attila [EMAIL PROTECTED]
I get the same thing from time to time, but it is very random and I have
not been able to narrow it down. It is a rather rare occurrence for me,
so I have just been living with it.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arindam
Dhar
Sent:
I haven't tried it at all, so I may be way off here, but:
If you're having performance problems, try playing around with the VM
settings in Parallels. Specifically, take a look at how much RAM
parallels is giving to the VM. If that value is too low then the
virtual machine won't have enough
Brandon Barkley
Also not an AS3 expert, but I think Danny is wrong. The super function
is necessary to call the parent constructor.
Hi Brandon,
I'm afraid u r wrong. Just try it out, the constructor IS being called
once u extend the class.
Cheers,
Petro
Thanks guys, its was actually my fault,
the example i gave was a little simpler than my real code, and i discovered
i was calling setTitle from inside the super construtor, so obviously if i
dont set my subclass variable before calling super() it wont use that
variable.
by changing the subclass
It happens because the compiler realizes you haven't called super() in
your constructor and does it for you.
Derek Vadneau
- Original Message -
From: Petro Bochan [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, January 24, 2007 9:20 AM
Still no go. But thanks. Just going to build our own combo box now.
Delfi Ramirez wrote:
Try ordinary marks. I mean not () but (')
Delfí Ramírez i Ruiz
http://segonquart.blogspot.com
___
Copy addresses and emails
If that's the case, that's a really stupid bit of functionality because
you can't completely override a constructor. I was not aware that AS did
it that way.
Derek Vadneau wrote:
It happens because the compiler realizes you haven't called super() in
your constructor and does it for you.
hi,
I have observed a slight delay in data transfer in LocalConnection.I have
several flash applications in IE browser, fed with data by a master swf through
broadcasting. A data change in one window is broadcasted to other windows
through the master swf using LocalConnection().Sometimes
Programming ActionScript 3.0 Overview of ActionScript Programming
Object-Oriented Programming in ActionScript Classes
http://livedocs.macromedia.com/flex/2/docs/1842.html
If the superclass constructor is not explicitly called, the compiler
automatically inserts a call before the first
hi guys does anyone of you knows how can I oder a swf ffile to read
a video in a loader using the link in a text file , being read this
as html?
using something like that , myfile.swf?video= . or
myMovie.html?video =..
I don't know guys this is way beyond my
should be fine, do you have any other elements with the same id as
your movie (mymovie) or is your swf inside a form?
On Jan 24, 2007, at 6:57 AM, Andreas R wrote:
I'm having some trouble catching EI calls when using swfObject,
anyone else got this working?
div id=flashcontent
This
I've noticed delays in my application, but I'm not sure if they're the
same as yours.
The delays I've seen seem to stem from Flash's threading model
(specifically, being single-threaded). Depending on the timing of the
messages you're sending/receiving, especially if you have a lot of
movies,
Hey, I am new here. So bare with me. I am working on a globe portion of my
file I want the globe to look like it is turning. so I randomly generated green
islands on a blue background.
Just looks like a short segment of a circle blue with green islands on it.
Since I wanted to continuously
hi, I've been trying to do this, tell me if I'm wrong, I just trying
to read a video file, in a component , whose order comes from a text
file, redered as html.
the code for the video is:
var video1 = nbc6;
if (video1 == URL.video){
tellTarget(this.videoLoader){
Andy Herrman [EMAIL PROTECTED] wrote: I've noticed delays in my application,
but I'm not sure if they're the
same as yours.
The delays I've seen seem to stem from Flash's threading model
(specifically, being single-threaded). Depending on the timing of the
messages you're sending/receiving,
Andy,
U guessed it right, simaltaneous code processing do occur in this case.
app1 --sends to - master swf --broadcasts to-- app2.
|-- broadcasts to app3
When app1 sends out data, lot of codes get executed simaltaneously in app1,
Thank you for your tips.
I'm sorry I think I wasn't clear.
Initially I ran a .swf in Parallels and the performance was
incredible which ignited my interest to what else Parallels could do.
I was thinking of using the Flash IDE for PC on my Mac via Parallels,
that way the OS X doesn't need
That looks like it!
Thanks
Andy
- Original Message -
From: Rákos Attila [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, January 24, 2007 11:50 AM
Subject: Re: [Flashcoders] Transforming a MovieClip instance to monochrome
Check this out
http://www.kirupa.com/developer/actionscript/zooming.htm
___
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
Is there a way to know the original fps of a loaded swf? I
mean, the fps to which it was compiled to, not the actual framerate?
Sure, decompile it. :)
http://www.sothink.com/
FYI, you can set Flash to 24fps and runtime framerate calculators will
show it's running 35-38 fps. The player
I have two movies:
one is the main movie which loads the second movie that loads a
text file which has a
link:
movie2.swf?video=nbc6
I know how to read the data with _root.video but I'd like to know how
can read it inside the main movie and inside the html page.
Regards
Gustavo
I don't know about AS3 (and I can't imagine this is different from AS2)
but you cannot put any code before super() in a constructor.
super() must be the first line of code in a constructor.
You should pass the labelClass value to the super constructor (watch
your every move, super
This behavior has changed in AS3, you can now call super() at any point in
the constructor.
-Original Message-
From: Steven Sacks | BLITZ [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 24, 2007 7:53 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] AS3 properties woes
I
Your swfObject code says that you are targeting 7 - Are you publishing for 7?
var so = new SWFObject(display.swf, mymovie, 200, 100, 7,
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
You can put code before super(). If you intend to use any super methods
then you definitely need to call super() beforehand. But if you want to
call a method of your sub class before super(), it does work.
.. now I don't necessarily agree with doing that, but I guess it depends
on what you
OK, so something I have never understood about Flash player installation
and Internet Explorer.
I have a co-worker who has 9,0,28,0 installed, verified in Internet
Explorer 6: Tools Settings Internet Options View Objects.
I have 9,0,28,0 installed, verfied by going to:
Hi Guys, I'm really concerned for this, Iknow this might be easy for
you, but I'm knocking my head against the wall.
This is the code in the action script:
var video1 = nbc6;
var video = _root.video;
if (video1 = video){
tellTarget(this.videoLoader){
gotoAndPlay(2);
Hi
Working on a flash e-card that involves saving image properties(scale,
rotation, x,y cordinates) as well as a small amount of text.
I was wondering if using remoting/AMFPHP offers any advantages over simply
posting an XML object?
Thanks
Jim Bachalo
[e] jbach at bitstream.ca
[c]
You need to pass the variables in the GET query to
flashvars in the object tag. You'll have to use
JavaScript to write out the object tag, and insert the
variables in the right place.
--- Gustavo Duenas [EMAIL PROTECTED]
wrote:
Hi Guys, I'm really concerned for this, Iknow this
might be easy
To completely desaturate a display object you can do:
var t:Number = 1/3;
var c = new ColorMatrixFilter([t, t, t, 0, 0,
t, t, t, 0, 0,
t, t, t, 0, 0,
0, 0, 0, 1, 0]);
displayObject.filters = [c];
HTH :)
I do some overly complicated worflow just to keep using SEPY. It goes like this.
Turn windows sharing on the the mac. Mount that share as a drive in Windows. I
put all my classes here. I don't have the problem of the IDE not seeing the
classes doing it this way.
Have Flash open on the Mac with
sometime i use this ald allways work:
... VALUE=voila.swf?sn=?php print $_GET['sn']; ?fe=?php print
$_GET['fe']; ? PARAM...
...
PARAM NAME=movie VALUE=voila.swf?sn=?php print $_GET['sn']; ?
fe=?php print $_GET['fe']; ? PARAM NAME=menu VALUE=false
PARAM NAME=quality VALUE=high PARAM
mind you tell me how, I'm out of my league...
Thanks
Gustavo
On Jan 24, 2007, at 3:26 PM, Joshua Sera wrote:
You need to pass the variables in the GET query to
flashvars in the object tag. You'll have to use
JavaScript to write out the object tag, and insert the
variables in the right
Do you and your coworker have the same permissions on your machine?
For instance, if your coworker is an administrator but you're a
restricted user that could explain different installations.
My first try would be to completely uninstall Flash and then reinstall
it (I had some really weird
external interface is not a part of flash player 7. needs to be
published in 8 and have the sfwObject embed it as 8
On 1/24/07, jason van cleave [EMAIL PROTECTED] wrote:
Your swfObject code says that you are targeting 7 - Are you publishing for 7?
var so = new SWFObject(display.swf, mymovie,
yeah, same permissions. Uninstalling and re-installing didn't seem to
fix the issue though. I used the latest Adobe uninstaller. Thanks for
the info though!
How does the Flash autoupdate work? Never quite understood that. I ran
the uninstaller, went to a Web page with the adobe player, and it
dont know in asp (but on my prev research i found many simple .asp
examples on google)
look at the url then in flash i have sn and fe variables that will be
filled onfly when u swf its loaded
http://www.iashido.com/test/test.php?sn=34fe=var2
u can use get them in swf like that
Merrill, Jason wrote:
How does the Flash autoupdate work? Never quite understood that. I ran
the uninstaller, went to a Web page with the adobe player, and it seems
to instantly have the Flash player installed back in again - so I
assumed it was the autoupdater - unless the uninstaller I ran
wow you are all making this much harder than it has to be.
If you use SWFObject to embed your swfs, it has a built in function
that grabs vars from the url string.
an example:
var so = new SWFOBject(mymovie.swf, mymovie, ...);
so.addVariable(myvar, getQueryParamValue(myurlvar));
and which is the code to read those in flash...actionscript I mean.
Regards
Gustavo
On Jan 24, 2007, at 4:12 PM, iashido wrote:
dont know in asp (but on my prev research i found many simple .asp
examples on google)
look at the url then in flash i have sn and fe variables that will
be
Was wondering when Geoff would chime in on that ;)
- Original Message -
From: Geoff Stearns [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, January 24, 2007 3:29 PM
Subject: Re: [Flashcoders] passing url variables to flash movie
wow you
Have you tried FlashDevelop for Windows or TextMate for Mac?
___
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
Thanks John, that makes sense. Appreciate the info.
Jason Merrill
Bank of America
Learning Organizational Effectiveness
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of John Dowdell
Sent: Wednesday, January 24, 2007 4:24 PM
To:
thanks man, I'm using swfobject to have my swf ...this would be
greatbut if my libnk is
fullpage.html?video=nbc6
the so.addVariable(myvar is video), getQueryParamValue(myurlvar
is nbc6) right?
and it is correct the code ffor the action script ?
var video1 = nbc6;
var video =
Hi list,
So I have a situation where I need to create multiple objects based on XML
data. Is there a way in AS3 that I can do something like this:
for (var i:int=0; inumItems; i++) {
var myObject[i]:Object = new Object();
myObject[i].name = Name from XML;
}
Hi, i building a page, i make some publicity on flash and i use a div
for the loading screen...
the problem is that the flash appears over the div...
is there anyway to makes the div appears over the swf?
sorry my english.
___
so.addVariable(myvar is video)
Gustavo Duenas wrote:
thanks man, I'm using swfobject to have my swf ...this would be
greatbut if my libnk is
fullpage.html?video=nbc6
the so.addVariable(myvar is video), getQueryParamValue(myurlvar is
nbc6) right?
and it is correct the code ffor the
Hi,
Apologies for the last email - overexcitable mouse finger...
so.addVariable(video, getQueryParamValue(video));
ActionScript.
// == for comparison!!
if (video1 *==* video){
this.videoLoader.gotoAndPlay(2);
}
}
Gustavo Duenas wrote:
thanks man, I'm using swfobject to
Is the mac version of SEPY so much different then the pc version, and
why do you keep using it on the pc?
Just wondering, as I'm still searching for the (near) perfect editor
for me. Now I'm using Eclipse, but it's quite a huge editor...
I couldn't get the hang of XCode, and I haven't find any
I have. I tried FlashDevelop a while back and am planning on giving it another
go and with the AS3 stuff I have just seen. I like how Sepy works with
native .flp files and had versions on both the mac and pc. (I also have a
horrible addiction to it's autoformatting.)
After hearing quite a bit
You can't strict type items in a hash. You never could, and you don't
need to. You cast them as you pull them out of the hash.
myObject[i] = {};
myObject[i].prop = Prop Value;
var someProp:String = myObject[i].prop;
Not to mention, casting as object is considered weak typing since an
object
Short answer: no.
Long answer: It's sort of possible, but it doesn't work in all browser
or on all platforms. So, unless you have total control of the delivery
platform, no.
Check out wmode=transparent and see if that helps but no guarantees.
___
TextEdit on Mac is hands down the best text editor for Mac, possibly on
both platforms.
It's learning curve beyond the basics can be steep but it is so powerful
and you can tightly integrate it with MTASC, SVN, etc., which makes it
worthwhile. The benefits to your workflow are measurable.
eval() hasn't been needed for some time (since bracket[] notation
introduced). Just need to remember that you can't type the properties of a
plain Object:
var numItems:int = 10;
var myObject:Object = new Object();
for (var i:int=0; inumItems; i++) {
thi is the message now is giving me
error!!
Operator '*=' must be followed by an operand
and this is the action script I'm using:
var video1 = nbc6;
var video = _root.video;
if (video1 *==* video){
this.videoLoader.gotoAndPlay(2);
}
the link in the text said;
Manolet Gmail wrote:
is there anyway to makes the div appears over the swf?
Use SWFobject, and try opaque wmode.
You might find my post on Sitepoint helpful:
http://snipurl.com/14tmi
Additionally, you will probably have to play around with
relative/absolute positioning and z-index... but
yeah, Flexbuilder 2 is really nice for AS3 development (even if you're
not building Flex apps).
Jason Merrill
Bank of America
Learning Organizational Effectiveness
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of jason van cleave
Sent:
You could make a collection object holding your various objects (1...N) and
then have a key for each object. From there you could easily make a method
to get a particular item by id out of your collection.
- Original Message -
From: Eric Lee [EMAIL PROTECTED]
To: 'Flashcoders mailing
On Jan 24, 2007, at 1:37 PM, Steven Sacks | BLITZ wrote:
Have you tried FlashDevelop for Windows or TextMate for Mac?
Yes, I really like TextMate and enjoying this 30-day trial. Now I'm
using BBedit which is good but not well suited for actionscripting.
Anyway my main curiosity is to
it seems not to work and the flash told me that *= must be followed
by an operand
would you write me the whole code, the one for the swfobject and the
one for the flash...I'd appreciate.
Gustavo
On Jan 24, 2007, at 5:17 PM, Glen Pike wrote:
so.addVariable(myvar is video)
Gustavo Duenas
Remove the asterisks (*) from before and after the double equals sign. The
line should be:
if (video1 == video) {
not
if (video1 *==* video) {
The asterisks were probably there to highlight the correction. That is, it
should be a double equal sign for an is
The thing about TextMate is, you need to watch some of the screencasts
on their site to really see the awesome power of its macros and actions.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
Hi,
Sorry, my last email to the list had a typo:
//Wrong!
// == for comparison!!
if (video1 *==* video){
this.videoLoader.gotoAndPlay(2);
}
//Right
// == for comparison!!
if (video1 == video){
this.videoLoader.gotoAndPlay(2);
}
Glen
Gustavo Duenas wrote:
it seems not
The Mac version of Sepy has been buggier for me than the PC version. The
lastest versions seem to be getting better and is still nicer for me than using
the Flash IDE but still overall buggier than the PC version.
I will check out the TextMate screencasts. I'd be happy to switch completely
I've been tasked with making the FileReference class work with Java/jsp.
are there any Java experts on this list that i can ask questions? php works
fine, as well as asp, but what i really need right now is Java...
any ideas appreciated
thanks
p
___
How to I set the position of the caret when entering or clicking in a
non-empty TextField.
I've tried:-
var field1:TextField;
var field2:TextField;
function onSetFocus():Void {
trace(this+ b=+Selection.getCaretIndex());
Selection.setSelection(0,0);
trace(this+
is there any method to broadcast flv with p2p?
___
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
Try using setInterval to delay the setSelection() call by a millisecond
to perform the carat positioning after flash automatically selects the
complete text when you press the tab key.
The following code positions the cursor at the end of the text string
when you tab to a textfield.
//
hi,
I have a movie loaded with many animations(not scripted). And there are few
buttons on stage to control them.Now,when the buttons are disabled,
continueously clicking on them makes the animations slower and sometimes jerky.
Why is that happening? When button is disabled no code
81 matches
Mail list logo