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
--
Julien Vignali
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
--
Julien Vignali
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman
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
--
Julien Vignali
Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
--
Julien Vignali
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
--
Julien Vignali
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http
);
}
and then later in your code:
for (var i:Number = 0; i children.length; i) {
var child:MovieClip = children[i];
// do your child mc manipulations...
}
Hope it helps ;-)
Regards
2006/11/23, Julien Vignali [EMAIL PROTECTED]:
A quick way:
// this = the parent MC
for (var child:String
Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
--
Julien Vignali
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo
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
--
Julien Vignali
Hi Rich, could you provide some sample code of your Settings class and your
xml processing ?
2006/11/16, Rich Rodecker [EMAIL PROTECTED]:
Hello,
I've got a class named 'Settings' which has a number of properties. Those
properties are strongly typed to various types...string, number, boolean,
/system)
For me ... XML is slow and don't keep the typing !
EKA+ :)
2006/11/16, Julien Vignali [EMAIL PROTECTED]:
Hi Rich, could you provide some sample code of your Settings class and
your
xml processing ?
2006/11/16, Rich Rodecker [EMAIL PROTECTED]:
Hello,
I've got
Have you tried to play with the _root._url property ?
BOYD SPEER a écrit :
Any ideas on how a Flash .swf could be aware of the server from which it has
been loaded? I would like to somehow create a .swf that would only run if
loaded from a certain server to prevent the database front end from
and connection to any VHScrCap instance (for
applications, which cannot show capture filter's properties)
Check it out at : http://www.hmelyoff.com/index.php?section=4
Regards,
Julien Vignali
Robert r. Sanders a écrit :
For years we've used HyperCam its about $40 -
http://www.hyperionics.com/hc
Wendy,
I'm afraid I can't help you with AnimationPackage but, you may have a
look at the Fuse Engine which is a powerful sequence animation engine,
and what you asked can be so easily done with this cool tool (full AS2
and OOP support, event callbacks, sequence manipulation...)
The only way to achieve that is to use a socket server and to have the
possibility to run it somewhere (some providers offer that). You have
plenty of choice regarding which server you need and some are free, some
aren't.
To name a few: Flash Data Services, Red5 (if I remember well), Oregano,
Hi Johan,
Loading external Jpeg with LoadMovie or MovieClipLoader gives that nasty
effects on rotated clips... The workaround is to use BitmapData (flash8)
that will smooth the loaded images.
I found a custom class that allows you to load images in a handy way.
Take a look at:
I double Iv... You should really change your provider.
A one-page script could do everything you're trying to achieve and even
more... PHP is widely available at a very low cost ;-)
Nevertheless, if you are really stuck to this provider, I'm afraid but
your solution with the server log file
Céline,
Take a look at the Nullsoft Installer (http://nsis.sourceforge.net)
which is a powerful professional scriptable install system. I've been
using it several times and it works like a charm.
I'm almost sure that you can use it to deploy your .exe zinc app and
silently install the
CK
You have a scope problem. elements_arr is defined within the onLoad
handler so it won't be accessible from outside (i.e. from your
assignText() function).
You'd better use the static mx.utils.Delegate class to handle the onLoad
event in an easier manner:
import mx.utils.Delegate;
var
Another relatively useful use is for flash getters/setters:
class MyClass{
// you can't call this property id
// because of the name of the get/set functions
private var $id:Number;
public function get id():Number {
return $id;
}
// use of p_xx for parametrical variables
Check the Flash docs... It's explained ;-)
mcRoundedRect.scale9Grid = new Rectangle(x1, y1, x2, y2);
Marcos Neves a écrit :
How can I use programaticlly scale9grid to don´t deform a roundRect when
scaled?
I´know how it works at design time on flash.
if you haven't previously enabled scale9 in the movieclip
properties...
Here is a .fla file to illustrate this:
http://www.vignali.net/julien/scale9.fla
Hope it helps
Julien Vignali
Marcos Neves a écrit :
That I did eric, how can I test to see if works? If I scale at the
scene, It doesn´t
Well, I use it sometimes as an update broadcast mecanism. Let's say I
have some value objects floating around, and when I change a property on
any of these, I use the watch to broadcast an event if for example the
value has changed (by testing the newValue and the oldValue).
It can be sometimes
Try using setNewTextFormat() instead..
Mendelsohn, Michael a écrit :
Hi list...
The embedFonts line seems to prevent the setTextFormat line from
working. What am I missing? The font univ is in the library, and its
linkage is univ.
Thanks,
- Michael M.
private function
Stephen, you're singleton implemention looks odd to me.
I think it is confusing to access the singleton shared instance by using
a new (which is normally used to create multiple instances of the same
class...). I would advise you to follow the standard singleton
implementation:
class
Well the order of your strings is something subjective...
You should use Array.sort([function]) and create a custom sorting
function that would sort your array the way you want:
var array:Array = [seventy-four, ten, twelve];
function sortByStringLength(a:Object, b:Object):Number {
if
Just use back_mc.clear() in your resize() method just before drawing it
again. But, why don't you just draw it once outside of the resize method
and then resize it with the _width and _height properties???
Julien
Alexander Farber a écrit :
Hello!
I'd like to draw a green rectangle
here is a quick custom class that would do the trick:
class drawing.GreenRect extends MovieClip {
private rect:MovieClip;
private text1:TextField;
private text2:TextField;
public static var symbolName:String = __Packages.drawing.GreenRect;
private static var link =
I'm afraid mike but you're wrong.
The MovieClip.onRelease handler doesn't pass any parameter...
From the help files : MovieClip.onRelease = function() {}
What Jeff could do is using a Delegate alternative class that allows him
to pass parameters to the handler, but he can also link his button
Hi Mike,
You can easily achieve this with the EventDispatcher Delegate classes
like this:
import mx.events.EventDispatcher;
class cMyMenu{
// let's declare static vars for menu states/options
public static var OPTION1_EVENT:String = onOption1;
public static var OPTION2_EVENT:String =
I would suggest to keep the loading of the parameter file simple and
create a ParameterFilesLoader class that would handle a queue of urls to
load in an array.
The class would eventually dispatch state events that your main class
would listen to, and show appropriate message to the user and
There are some programs that create .exe files from SWF such as :
Zinc (www.multidmedia.com)
Screenweaver (http://www.osflash.org/screenweaver)
...
and many others that you can find by googleing around ;)
jcarlos a écrit :
What is the way, if there is one, for going from MTASC compiled SWF
It seems to me that you looked at an old version of Moses's Fuse
tweening engine. Its official homepage is now at
http://mosessupposes.com/Fuse. The released version (1.0) offers you the
option to use prototype or pure actionscript 2 tweenings (just imports
and use the Fuse class, look at the
Marcelo,
Strange...I am using fonts in a shared library too and it can display
accentuated characters without any problems... Are you sure that the
font you're using initially contains those characters ?
And have you correctly imported the shared font in your library and set
your textfields'
Hi Aaron,
It's probably because you need to add your source folder in FDT's
classpath. Do a right-click on the root folder of your classes and
select Source Folder - Add to classpath. Now all your features should
work...
Hope it helps,
Julien
aaron smith a écrit :
I decided to start using
Hi guys,
I am getting memory problems when I remove and recreate all my objects
several times (the flash player eats up RAM, and I have to minimize it
and maximize to force the garbage collector).There must be something
wrong in the way I destroy my objects :-(
So I am wondering what is the
Hi ARP developers,
I was wondering if it was easy to use ARP in a non-form flash
application... After reading ARP documentation, it seems to be
well-suited for form-enabled flash apps, but what about the applications
completely created from scratch with MTASC for example?
What do you use in
use of things like System events and the
like. At least, that's if they're in the base ARP package. I use the
ARPX extended version written by Grant Davies. Top bloke! :-)
Lee
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Julien
Vignali
Sent: 18
in the .NET side of my applications. What are you using for
the XML Sockets? Did you develop your own system or are you using something
like Oregano?
Regards,
Lee
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Julien Vignali
Sent: 18 April 2006 09:52
:[EMAIL PROTECTED] On Behalf Of Julien Vignali
Sent: 18 April 2006 12:14
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Using ARP without Forms?
hey that's cool :-) I don't know much about .NET Fluorine because my
company is more java-oriented.
I am developping the flash client from
Yes, solved the same issue by encoding/converting the XML file into
UTF-8, but also by embedding also the Basic Latin and Latin I
caracters in the textarea...
Éric Thibault a écrit :
Save your XML in utf-8 and embed the font inside your dynamic text field.
A+
Wade Arnold wrote:
I have
You may try the open source Red 5 stream server :
Red5 is a server that not only streams content to the Flash plugin, but
it can push calls and information to the Flash client! It can also
receive video/audio/data from a flash client and either save or
rebroadcast that content.
Hmm sorry, it's monday morning, I hadn't read yet your next coding-style
posts ( serverName != red5)... so ignore my previous post ;-)
Yehia Shouman a écrit :
Dear Coders,
I have to create an Audio/Video Flash multiuser Chat, with text messaging.
What are my options as for the server ? I
Hi list,
I am playing around with the Object.watch() function in my custom UI
components classes... I wanted to know if having 8-10 watches in a class
would create some CPU overhead, or does it just work like an internal
classic Delegate (which also requires an unwatch() upon object
here is the infamous scope problem...
I use Joey Lott proxy class
(http://www.person13.com/articles/proxy/Proxy.htm) to solve that problem
when it comes to create an xml parsing class :
import ascb.util.Proxy;
class MyParser{
private var xml:XML;
function MyParser(url:String){
xml
2 things:
- your for loop is erroneous... your dt variable isn't used as
expected (increment it in the for statement) and your i variable is
unused and shouldn't be here ;-).
- you should prefix all your textfields with _root as they are created
on _root level.
Change your code as below, and
Well, you can't instanciate an interface, you need first a concrete
class that implements the interface...
Your code should be:
interface IWorldPart {}
class SomeWorldPartSubclass implements IWorldPart {}
var myPart:SomeWorldPartSubclass = new SomeWorldPartSubclass();
is not regarded by flash then
of being of type Object as well.
Got it figured out now ;)
Thanks
H
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Julien
Vignali
Sent: Wednesday, February 01, 2006 12:49 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders
Hello coders,
I have some black movieclips in my components that I'd like to skin
(i.e. adjust their hue/saturation brightness) with just one given
color...
Let's say I pass 0xFF to a method that will tint my clips to red
but with some difference in brightness and saturation..
If you only need to tween filters, you can take a look at the Filter
Managing Prototypes german project (http://www.flash-fmp.de).
AFAIK, it's in the process of beeing integrated in Fuse by Moses.
Julien
[EMAIL PROTECTED] a écrit :
Hi
I was wondering what everyone is using to tween flash
Look at Grant Skinner article on using EventDispatcher:
http://www.gskinner.com/blog/archives/23.html
Basically you can use EventDispatcher in three ways.
Here are a simple example:
// create an Action instance
var action:Action = new Action();
// create the listeners
var
Ryan,
Your code works only if you drag-and-drop an instance of the Fuse
Component on Stage. You'd better ask Moses about that behaviour...
Regards,
Julien.
Ryan Potter a écrit :
Is there a way to step back and forth through animations in Fuse?
I created a simple animation (code below)
Franto,
You may have a look also to KinesicFusion at www.kinesissoftware.com...
It saves me several times ;-)
Julien.
franto a écrit :
Thanks Campbell and John for your help
sure, i've tried recovery software, today i will try another 2 softs,
because 1st one, has predefined file types,
the swf tools I
could find, the result wasn't perfect and sometimes structure content
wasn't exactly like the original and needed some manual editing
tweaking, but still better than nothing ;-)
Good luck!
Julien
franto a écrit :
Julien, is it decompiler? or what?
On 12/20/05, Julien
Dan,
I'm also using the switch with static attributes from other class
without any problems. I guess you have a type error problem.
Check the trace of a strict equality test:
trace(currItem.getMediaType() === VideoVO.SWF_STATE);
If it returns true, then the switch should evaluate properly. If
It doesn't work because of the infamous scope problem.
the this in the function refers to the erase_btn, and var2 is not an
attribute of the button.
You need to use the Delegate:
import mx.utils.Delegate;
erase_btn.onPress = Delegate.create(this, eraseTF);
function eraseTF(){
Jim,
The only files that you don't need to put in version controls are
binaries that you can regenerate. You can safely put any other files
including .project, .as2_classpath files. I've been doing this since
last summer without any problems with SVN subclipse.
Have you tried to clean the
56 matches
Mail list logo