Just out of interest, what benefit exactly does this class provide?
You seem to offer the same methods that the shared object does with
different names (although the names are clearer, I'll give you that).
Scott
On 15/06/06, Caruso Canepari <[EMAIL PROTECTED]> wrote:
Hi.
I made up this little
Bieniasz, Myles wrote:
I know it's possible to build a flash client for XMPP based IM clients
and I had at one point seen the now defunct gtalkr.com interface for
googletalk. Does anyone have any experience creating a googletalk
client in flash or any useful resources regarding this? Thanks i
Hi.
I made up this little class to manage Shared Objects.
But there is something (or more than simply "something") in AS I don't
perfectly understand.
The problem (I imagine there can be many more, but...) is that I can't add more
than one data property. I post the code with some comment:
-
I know it's possible to build a flash client for XMPP based IM clients
and I had at one point seen the now defunct gtalkr.com interface for
googletalk. Does anyone have any experience creating a googletalk
client in flash or any useful resources regarding this? Thanks in
advance for any help pro
Kevin,
Thanks for the fresh thinking! Like you, I'm kind of leaning toward the
idea that this is maybe not worth too much further effort, considering the
limited scope of the problem. If nothing else, at least the issue is now
documented in more places than before. :)
-tom
-Original Messag
Yeah, sure.
Use setInterval. If the user interacts before the time expires, call
clearInterval.
Scott
On 15/06/06, Alexander Farber <[EMAIL PROTECTED]> wrote:
Hello,
I'm trying to rewrite a web chat client written in Java,
which is performing the following in its main loop:
I have a variable
Hello,
I'm trying to rewrite a web chat client written in Java,
which is performing the following in its main loop:
I have a variable called "url" and if after waiting TIMEOUT
seconds it is still unset, then I just retrieve the URL
http://myserver/mychat?event=keepalive, so that the
chat server
ha! That joke made my day
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Steven
Sacks
Sent: Thursday, June 15, 2006 2:52 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] xAL and xNAL
All xNAL Action. Hawt. ;)
> -Original Message-
>
Add Eclipse as an IDE and move to MTASC (FAME ). That is still the best
way to go.
Ron
jim wrote:
If you can use some source control like SVN that might be what you are
looking for. Its pretty easy to set up and will stop you writing over each
others changes.
Jim
-Original Message-
F
All xNAL Action. Hawt. ;)
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Kevin Newman
> Sent: Thursday, June 15, 2006 11:44 AM
> To: Flashcoders mailing list
> Subject: [Flashcoders] xAL and xNAL
>
> Hello all,
>
> Has anyone done any work
Hello all,
Has anyone done any work with these new address formats (xNAL, xAL, xNL)
that have been standardized by OASIS in flash? I was so happy to hear
about a standard way to deal with international address information, now
all we need are some standardized form layouts, and some solid Libr
Oops :)
Maybe im just dont undestand the problem because how can you show a
preview of the users image without first uploading it to your server?
Boots
Geoffrey Williams wrote:
That's a Macromedia Central only feature. I doubt they're using Central, but
maybe ;)
If you're working in a web
Tom Lee wrote:
If you're referring to the issue I'm reporting, I'm afraid your solution is
not immune either. Two out of 3 of my PCs will show the "click to activate"
message if you have cleared your cache and then visited your example pages
without restarting your browser first.
If that's
It depends on how you are using it.
Object is NOT the same as untyped.
Try this code:
var a:Array = new Array();
a.push('blah');
var s:String = a.shift();
Output panel displays:
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 3: Type mismatch in
assignment statement: found Object where St
That's a Macromedia Central only feature. I doubt they're using Central, but
maybe ;)
If you're working in a web page you can use a hidden file field and
communicate with it via ExternalInterface / getURL and javascript.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Steven,
The problem went away with a save and compact.
Thanks for the assistance!
Matthew
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven
Sacks
Sent: Thursday, June 15, 2006 1:12 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Combo
Are you loading the ComboBox from an external swf (loadMovie) into a movie
clip? If so, try putting a copy of the ComboBox component in the library of
the root fla or the fla that is doing the loadMovie.
Joey Rivera
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
> Hi List,
>
> What's the neatest way of accepting a single parameter with 2 possible types
> into a method and then working out what type of parameter has been passed?
>
> e.g. in pseudo code
>
> private function myMethod( i:Number/String ):Void {
>
>if ( i is a String ) {
> // do th
Not sure if this will help, but maybe you can copy the image to the
users cache to display it.
// make a working copy of a file on the user's disk
var fileRef = new FileReference();
if (fileRef.browse(["Text Files", "*.txt"]) {
fileRef.copyIntoCache("backup-data.txt");
var newFile = new Fi
Yes - but - why bother omitting it?
It's only a few characters you're saving - the word :Object. If later
down the line you decide to change compilers and go with MTASC (or
perhaps port your code to AS3) you'll have to trawl back through all
the code putting those missing type definitions back in
Thanks for the reply.
I can get the name, however it doesn't provide the path (i.e.
c:\images\image001.jpg)
Mike Boutin mikeb at juicystudios.com
Thu Jun 15 13:03:32 EDT 2006 Is it possible for you to just
grab the name after it is selected from
the FileReferenc
> I've created a ComboBox. Strangely when I open the combobox, the field
> with selections goes under the other components...???
Is it on a lower layer in the timeline?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or searc
You could also leave off the typecasting on the argument. You don't have to
type your arguments in AS2, and the compiler won't complain.
If the methods inside the argument check what type of argument it is, then
it's pretty apparent to anybody reading the code why there is no type on the
argument
When I experience crazy behavior like this in Flash that absolutely
shouldn't happen, I take a few steps.
1) Save and compact. Quit Flash. Restart my computer.
2) If that doesn't fix it, I try deleting the component from the library,
save and compact, quit Flash, relaunch, put the component bac
Hi Adrian,
Your i:Object declaration is a _compile-time_ declaration. All it's
there for is to make the compiler happy. instanceof, which is what I'm
using (typeof is an older construct which is more limited and less
safe) is an operator which does a comparison at runtime on the
underlying object
Is it possible for you to just grab the name after it is selected from
the FileReference object?
var listener:Object = new Object();
listener.onSelect = function(file:FileReference):Void {
trace(file.name);
};
Boots
[EMAIL PROTECTED] wrote:
I am usin
I am using the FileReference Class to upload images. Is there a way to get the
path to the selected file? Ideally, I would like to preview the image before
being uploaded and need the path.
Thanks for any and all replies.
___
Flashcoders@chattyfig.fi
Thanks for the pointer, Geoff - the jscript.dll was not at issue in my case
however.
I have a feeling it may relate to the bug described in this article:
http://blog.metawrap.com/blog/MicrosoftsEolasActiveXPatchForIESometimesBreak
sJavaScriptWorkaround.aspx
However, I have no way to prove it sin
Hi all. Thanks for the responses.
I think my favoured route would be by Typing the parameter as generic Object
as it means it's still one parameter which seems neater.
Ian, I'm intrigued if your suggestion works - I had considered it but
assumed it wouldn't work because the result of the typeOf
A massage you say? Wow, I could really do with one of those ;)
Seriously, I think SWFObject is a great solution (especially the massage)
with loads of advantages. It's just a question of what works better for the
situation. ObjectSwap is best as a quick fix, where Flash is already
embedded, and i
there's a number of known issues with it... maybe this is the problem?
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4f91f9b8
i have a summary of all the issues related to the eolas stuff here:
http://blog.deconcept.com/2005/12/15/internet-explorer-eolas-changes-
and-the-flash-plugin/
I had this exact same problem until I downloaded some of the samples from the
reference manual. After that I was able to import the widgets correctly.
I did notice that the parameters for the component were different in the sample
from the component that I dragged straight from my component win
Hi Adrian,
I'd do it like this:
private function myMethod(i:Object):Void
{
if (i instanceof String) {
// do this
}
else if (i instanceof Number) {
// do this
}
else
{
// report an error
}
}
And, as you see, stick in an error condition - because by changing the
input type to Obje
Hello :)
you can try this example :
private function _myMethod( args ):Void {
var arg0 = arguments[0] ;
switch (true) {
case arg0 instanceof String :
break ;
case arg0 instanceof Number :
break ;
default
thro
you could use 2 params... use String for one, Number for the other - and
then use accordingly?
On 6/15/06, Adrian Park <[EMAIL PROTECTED]> wrote:
Hi List,
What's the neatest way of accepting a single parameter with 2 possible
types
into a method and then working out what type of parameter has
you could try this:
private function myMethod( i:Object ):Void
On 6/15/06, Adrian Park <[EMAIL PROTECTED]> wrote:
Hi List,
What's the neatest way of accepting a single parameter with 2 possible types
into a method and then working out what type of parameter has been passed?
e.g. in pseudo cod
" the solution to all of this is to just use one of the many js
solutions that don't have issues like this."
If you're referring to the issue I'm reporting, I'm afraid your solution is
not immune either. Two out of 3 of my PCs will show the "click to activate"
message if you have cleared your c
Hi List,
What's the neatest way of accepting a single parameter with 2 possible types
into a method and then working out what type of parameter has been passed?
e.g. in pseudo code
private function myMethod( i:Number/String ):Void {
if ( i is a String ) {
// do this
} else if ( i is a
also i might as well take this opportunity to point everyone to
SWFObject:
http://blog.deconcept.com/swfobject/
it fixes all the eolas problems you are having, it's really easy to
use, supports express install, does plugin detection and can provide
alternate content, opens your wine bottle
you have to use an external script because of the way the patent was
worded.. by using an external script, you are somehow not infringing
on it, so that's how the patch works.
On Jun 15, 2006, at 11:09 AM, 8ball Developer wrote:
Hi Karina,
(probably already answered question) Why does th
On 6/15/06, Mark Lapasa <[EMAIL PROTECTED]> wrote:
Thx Ian, the only thing I can think of as an argument is Marker Interfaces.
Then again, I think I might just be using using interfaces the wrong way as
I am trying to establish some form of polymorphism in trying to access both
foo() and bar() me
Hi Karina,
(probably already answered question) Why does the javascript need to be
external? Is there any solution to this problem that uses an internal
javascript.
Thanks in Advance.
On 6/14/06, Karina Steffens <[EMAIL PROTECTED]> wrote:
Hi Alec,
You could try ObjectSwap on my blog -
http
Thanks EKA!
That'll work for me. Smells funny but I like it =)
Thx Ian, the only thing I can think of as an argument is Marker Interfaces.
Then again, I think I might just be using using interfaces the wrong way as
I am trying to establish some form of polymorphism in trying to access both
foo()
that's not really accurate... you can have the flash inserted as the
page loads and not have to activate it. the requirement is that it's
written by an external script, and not invoked natively by the
browser (and plain html).
it doesn't matter if it's done onload or inline as the page is
If you can use some source control like SVN that might be what you are
looking for. Its pretty easy to set up and will stop you writing over each
others changes.
Jim
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: 15 June 2006 15:02
T
It's really all about the design. It very much depends on what you're
trying to use the interfaces to achieve.
If you're finding that you constantly need to downcast the interfaces
to concrete objects then either your design isn't one that's suited to
interfaces, or you're using them in the wrong
Makes sense. Thanks Zeh.
Maybe you can tell me if there if there is any way to ensure that
accessing fla files over the network is stable. I know in the past that
flas have disappeared on me when working off a network drive. I'm
guessing you'd say that I should duplicate whatever it is and p
Hello :)
i forget ... you can transform your expression too with [] notation :
import ConcreteClass;
import Interface;
var tmp:Interface = new ConcreteClass();
tmp["bar"]() ; // works too
EKA+ :)
2006/6/15, Mark Lapasa <[EMAIL PROTECTED]>:
Thanks EKA and JC for your answers.
I -kinda- kne
And if you're going to be working on a collection of different
external .as files, it's always a good idea to look at using a
versioning system such as Subversion/SVN -
http://subversion.tigris.org
Versioning systems aren't a great deal of help with binary files such
as .flas, but are a great hel
Isn't is a better idea to have different people writing classes and then
sharing those? You can use interfaces to make sure they are complying
with the specs you establish for the project. Then just have one person
compile the .fla. The people writing classes can compile their own
.flas to test t
Makes sense. Thanks Zeh.
Maybe you can tell me if there if there is any way to ensure that accessing
fla files over the network is stable. I know in the past that flas have
disappeared on me when working off a network drive. I'm guessing you'd say
that I should duplicate whatever it is and
I recently hired an assistant and we need to share and simultaneously
work
on .fla files over a local network.
There must be tools for this, but a search on google didn't yield
anything (must not be using the right terminology).
There isn't. Only one people can work on a .FLA at a time.
You
I recently hired an assistant and we need to share and simultaneously work
on .fla files over a local network.
There must be tools for this, but a search on google didn't yield anything
(must not be using the right terminology).
There isn't. Only one people can work on a .FLA at a time.
You ca
Thanks EKA and JC for your answers.
I -kinda- knew that was the answer but I wanted to know if there was another
way.
Casting/trantyping an abstract object down into one of a concrete type seems
like to me very self-defeating to use abstractions as a data type.
I might as well say
var tmp:Concr
>>I think he refers to the quicktime website, and I think that is a
media
>>skin. You can find more info at:
>>http://www.apple.com/quicktime/tutorials/mediaskins.html
Yes, I understand that, thank you, but I'm having a hard time believing
that will do what I want because the Flash support seems t
>>Having said that, once I got it running through MTASC I went from a
four
>>and half minute compile time to 29 seconds. That made things so much
>>easier :)
I'm just curious - what kinds of projects are people working on that
compiling takes 4 & 1/2 minutes? I use a lot of AS 2 classes I write
f
Hi everyone!
I'm currenty trying out Alex Uhlmann's AnimationPackage
(http://www.alex-uhlmann.de/flash/animationpackage/) and I ran into a
problem concerning the Animation class. This might be a bug but I'm
currently guessing that I did something wrong somewhere along the
way...
So, I'm trying t
Hello fellow flashers,
I hope everyone is well!
First, let me apologize. I know this topic must have been discussed many
times before, but I simply can't find any info about it.
I recently hired an assistant and we need to share and simultaneously work
on .fla files over a local network.
What server-side language are you dealing with? If it's a .NET
language, this kind of thing is very easy to accomplish. You can
access the contents of excel spreadsheets in one of two ways.
1. There is a ADO.NET data provider called Microsoft Jet
http://www.aspfree.com/c/a/Database-Code/Accessing
Good Morning.
I have a ComboBox on stage which is not behaving properly. When I pull
down the list within the Combo the Halo surrounding the drop down list
stays visible on stage also when I use the scrollbar to scroll down to a
selection, the moment I move the mouse away from the scroll bar the d
-
Hello,
If you right-click on the flash movie and check the remember box, this
will stop the dialog appearing for that computer only.
There is no way to stop the dialog box appearing unless a user does this
- it's a security feature to stop us developers spying on people without
their know
If you give the client an OpenOffice spreadsheet, the data is already
stored in XML and you may only need a minor transformation with XSLT to
get it into a format that you want for for your flash backend.
OpenOffice is free and looks a lot like Excel .
If your client will only deal with Excel, y
Thanks all :)
Regards,
--
:: Nik Derewianka ::
:: freelance director programmer ::
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you
RTFM @ super()
This will call the parent constructor with the parameters you pass to it.
That should always be the first line in inherited classes.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nik
Derewianka
Sent: Thursday, June 15, 2006 11:19 AM
To:
Hello :)
you can use the Function Constructor of the SuperClass too
class MyClass extends SuperClass {
function MyClass ( param ) {
trace("test1 in MyClass constructor") ;
SuperClass.call(this, param) ; // like super()
trace("test2 in MyClass construc
Sorry, I ment
That should always be the first line in constructors of inherited classes,
not the first line of the class itself...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of André
Goliath
Sent: Thursday, June 15, 2006 12:38 PM
To: 'Flashcoders maili
RTFM @ super()
This will call the parent constructor with the parameters you pass to it.
That should always be the first line in inherited classes.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nik
Derewianka
Sent: Thursday, June 15, 2006 11:19 AM
T
hello :)
in AS1 :
_global.SuperSound = function ( mc ) {
super (mc) ;
}
SuperSound.prototype.__proto__ = Sound.prototype ; // inherit
in AS2 :
class SuperSound extends Sound {
// o Constructor
function SuperSound( mc ) {
super(mc) ;
}
}
You can use "super" to ca
I've created a ComboBox. Strangely when I open the combobox, the field
with selections goes under the other components...???
Any idea as why. Swapdepths doesn't solve it.
Lieven
lieven cardoen
indiegroup
interactive digital experience
engelse wandeling 2 k18
b8500 kortrijk
T +32 (0)5
Hi,
does anybody know how to get positions of desktop icons from Flash
(projector, the best way ScreenWeaver)
it must be stored somewhere in Windows, but i dont know why, till now, i
cant find it on Google...
if anyone knows, i would appreciate help
Thank you
--
---
Hi All,
Im trying to overload the Sound class to add my own features, it works fine
for all the basic features, but what do i need to do with my class to pass
through a parameter to the constructor of the superclass ? ie for the var x
= new ExtendedSound(my_soundMC), what do i need to call in my
On 15 Jun 2006, at 02:19, Barrett wrote:
Flash stays on top of everything in a site, DHTML, Javascript, z-
index layer
order, everything, unless you set wmode to transparent,
Unless you have a *visual* reason for wmode=transparent, you might
try wmode=opaque. You should get the same logical
Hello all,
I am trying to develop camera recording application.
I was able to record the video and save it and play back again .
But my problem is : it needs to show camera feed in video component by
default, if user has already attached camera to his PC and
NOT show the setting po
> A couple notes about MTASC -
>
> First off its pretty strict. Your code has to be pretty solid, items have
> to be casted properly, variables cannot be redefined in the same scope,
> etc, or MTASC bitches at your fierce. Its not a bad thing in the long run,
> but something you should think about
> Scott & Stacey:
> Yeah, seems crazy not to use mtasc, but unfortunately that's not my
> decision to make.
If you need MTASC support, you can contract with my company.
You'll have to spent some money and most likely we will not have
anything to do since the compiler just works :)
Nicolas
Hello :)
You can use my Delegate implementation too in VEGAS Framework :
-
http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/src/vegas/events/Delegate.as(
vegas.events.Delegate class)
- http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/vegas/events/(example
with Delegate and Event Model Eve
On 6/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Alot of people complain that you can't pass parameters with delegate. Well
you can, a multiple of ways, and if you structure your code with some
forethought, you can have it pass params if you are delegating a function
structured do so.
That's a cool way to do that. Unfortunately, I am unable to modify the
embed, as it's automated by the ad serving application.
Thanks though!
Aaron
On 6/14/06 10:46 PM, "Rajat Paharia" <[EMAIL PROTECTED]> wrote:
> Here's something I tried that might work if you have control over the code
> used
78 matches
Mail list logo