I have a fill-in-the-gaps exercise and I have added a hint button which
checks to see which part of the word a student has entered is correct
and then adds the next (correct) letter to the end of the string. My
problem is that the cursor stays just in front of the added letter
instead of going
It's not really a question of how strong the flash player is, but how strong
a developer you are.
Plenty of people are doing amazing things with Flash/Flex. It's certainly up
to your task.
Paul
- Original Message -
From: "dr.ache" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Too bad its onely for Flex :)
I need it for flash
___
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 Aut
Hej Johan,
It's hard to give straight advice when there could be so many factors
messing it up for you
Obvious question, but did you try forcing the text to whole pixels
when moving it?
I have also noticed that flash draws things differently when effects
are used. Try putting a blur wi
> Just to make your life simpler.
> You do not instantiate a class; you instantiate an
> instance(object) of a class.
Isn't that what 'instantiate' means? By 'instantiate' I mean 'make an
instance of'.
Danny
___
Flashcoders@chattyfig.figleaf.com
To
- Original Message -
From: "Danny Kodicek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
Sent: Monday, March 19, 2007 9:38 AM
Subject: RE: [Flashcoders] Super and this
> Just to make your life simpler.
You do not instantiate a class; you instantiate an
instance(object) of a class.
Have a look at Sandy
Google for "Flash Sandy" it's quite a big class. There is a blog with
examples.
You could use the distort image class if you want to just distort
stuff bitmaps in fake 3D
So you'd need -
sandy.util.DistortImage;
flash.display.BitmapData; ( Flash 8 )
On 14 Mar 2007,
If I have a string, how can I make an object from the class it represents?
Eg:
I have class MyBigClass
the string className contains the text "Big"
I want to do something like
obj:Object = new("My" + className + "Class")()
And on the subject:
The docs say that when importing a package, only thos
- Original Message -
From: "Danny Kodicek" <[EMAIL PROTECTED]>
To:
Sent: Monday, March 19, 2007 10:08 AM
Subject: [Flashcoders] Create an object by name
If I have a string, how can I make an object from the class it represents?
Eg:
I have class MyBigClass
the string className contain
For an upcoming project, I have to investigate whether to use a shared
localobject for storing user data, or exporting XML.
This is for a cd based app, not a website. A shared localobject would be my
first choice, except that we want to be able to access the saved data from a
second release of th
Hello Danny,
This short snippet should return you the constructor:
/** Returns the class constructor from a dotted path.
* e.g. [EMAIL PROTECTED] var
cons:Function=getConstructorFromPath("com.pkg.fred.Bucket"); }
*/
public static function getConstructorFromPath(cl
You could always use one of the flash wrappers that give you access to the
filesystem, which would allow you to write files to the users drive,
somehting like zinc.
I think, although someone can confirm this that the shared object can be
accessed by a second app if the name of the app is the same
forgot the link to zinc..
http://www.multidmedia.com/
On 3/19/07, Chris Tague <[EMAIL PROTECTED]> wrote:
You could always use one of the flash wrappers that give you access to the
filesystem, which would allow you to write files to the users drive,
somehting like zinc.
I think, although som
> Hello Danny,
> This short snippet should return you the constructor:
>
> /** Returns the class constructor from a dotted path.
> * e.g. [EMAIL PROTECTED] var
> cons:Function=getConstructorFromPath("com.pkg.fred.Bucket"); }
> */
> public static function
> getConstructo
Hey Birgit,
I haven't read the code yet.. but sounds like a problem i had aswell.. i
fixed it with an delay(onEnterframe) of a frame.. then it worked fine.
Goodluck!
With Kinds regards,
Dennis
- Original Message -
From: "Birgit Ferran" <[EMAIL PROTECTED]>
To:
Sent: Monday, March
Hi Kent,
The other way to export XML would be to use a SWF wrapper such as
mProjector, SWFStudio or (open-source) SWHX: http://www.haxe.org/swhx.
(Zinc is another alternative, but I can't recommend it - I've had all
sorts of stability issues with it.)
Alternatively, Apollo (from Adobe) will b
Danny, I think what Ron means is, you don't instantiate the class _and_ the
super class, as you would with Director.
As you know (and for anyone that isn't familiar with it), in Director the
"ancestor" property is an instance of the superclass, residing within an
instance of the subclass (a bit li
I would definitely go with shared object. You can access it from whatever
app you like if you pass a local path parameter, like this:
so = SharedObject.getLocal ("mySharedObject", "/")
so = SharedObject.getLocal ("mySharedObject", "/myProject")
Etc...
If you don't pass the path, it generates a loca
> > If I have a string, how can I make an object from the class
> it represents?
> > Eg:
> >
> > I have class MyBigClass
> > the string className contains the text "Big"
> >
> > I want to do something like
> > obj:Object = new("My" + className + "Class")()
>
Paul:
> Might be interesting to know
Hey guys,
We would like to send a video(stream) in a news e-mail to affiliates.
Does anybody know if this is possible in mail?
As far as i could see there weren't any active-x possibilities.. so FMS is
probably not done?
With kind regards,
Dennis
I Sioux B.V.
_
Hi, I'm trying to stop the drag of a movie click when its x value
equals the x value of other movie clip.
The code is in the other object not in the drag-object.
stop();
var movieClip1Pos: Number = this._x;
var movieClip2Pos: Number = this._parent.MC2._x;
///here start the drag.
this.OnRel
Hi Danny,
An import statement is just a compiler-friendly shortcut. It has no
effect whatsoever on the final code.
Saying:
import com.pkg.fred.Bucket;
// later
var bucket:Bucket=new Bucket();
is identical to saying just:
var bucket:com.pkg.fred.Bucket=new com.pkg.fred.Bucket();
That's all it
A few suggestions:
> I have a fill-in-the-gaps exercise and I have added a hint
> button which checks to see which part of the word a student
> has entered is correct and then adds the next (correct)
> letter to the end of the string. My problem is that the
> cursor stays just in front of the
- Original Message -
From: "Danny Kodicek" <[EMAIL PROTECTED]>
To:
I'm still not entirely sure what import actually
*does* :)
It tells flash where the class definitions can be found and distinguishes
between classes of the same name, but different packages.
You seem to be in a meg
Hi Danny,
The idea of the import statement is to specify which class namespaces you
want to use. For example, there could be multiple packages that contain a
class named "Danny":
com.kodicek.Danny
com.day.lewis.Danny
If you wanted to use the first class, you'd need to write all of it every
time
Hi,
new eval("_global.mypackage.MyClass") does the trick as well I believe.
greetz
JC
On 3/19/07, Danny Kodicek <[EMAIL PROTECTED]> wrote:
> > If I have a string, how can I make an object from the class
> it represents?
> > Eg:
> >
> > I have class MyBigClass
> > the string className contains
>>> Anyone have a list of what is deprecated from AS2 when
>>migrating to AS3 (or even whats deprecated from AS1 to
>>AS2).I'm currently skimming every single class available in
I like this - it prints out really pretty too:
http://actionscriptcheatsheet.com/blog/
Jason Merrill
Bank of Amer
To be honest, I'm not really sure what is better. Certainly the Director way
is a lot more flexible - you can generate and swap ancestors on the fly,
which I think is pretty cool, a bit like inheritance via composition.
If you're not using AS3 yet, you can do it. You can set an object's
__proto_
I've run into that before. The issue seems to be timing-related.
When you reload the page the SWF isn't re-downloaded (since it's
cached), so it loads much faster, so some initialization stuff might
run sooner than they did the first time.
Here's how I fixed this (I run into it sometimes even on
you compare the _x values of the mcs only once when you release mc1.
when you want to check it while dragging you have to use onEnterFrame.
by the way: as likely as not you will not drag your second mc exactly on the
_x value of your first mc, so you should use an proximation (a region
around
th
Hi,
I have dvd video and want to put it in flash. videos are long in
duration, Embeding it is resulting in very poor quality and long time
to load the output is to on cd-rom. if any one can help me getting
good quality video in flash.
thanks
Abhi
On 3/19/07, Dennis - I Sioux <[EMAIL PROTECTED]>
Isn't that what 'instantiate' means? By 'instantiate' I mean 'make an
instance of'.
Correct.
Instantiate an instance... now that makes no sense.
Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
__
On 3/19/07, Ian Thomas <[EMAIL PROTECTED]> wrote:
That's all it is. A convent bit of syntactic sugar. It's exactly the
same in Java.
Um... _convenient_, obviously. Although that does conjure up some
wacky images...
Ian
___
Flashcoders@chattyfig.figl
> Hi Danny,
> An import statement is just a compiler-friendly shortcut.
> It has no effect whatsoever on the final code.
>
> Saying:
>
> import com.pkg.fred.Bucket;
>
> // later
> var bucket:Bucket=new Bucket();
>
> is identical to saying just:
> var bucket:com.pkg.fred.Bucket=new com.pkg.f
> > I'm still not entirely sure what import actually
> > *does* :)
>
> It tells flash where the class definitions can be found and
> distinguishes between classes of the same name, but different
> packages.
>
> You seem to be in a mega hurry Danny!
I've been working on my current task for abo
> > I'm still not entirely sure what import actually
> > *does* :)
>
> It tells flash where the class definitions can be found and
> distinguishes between classes of the same name, but different
> packages.
You know, it occurs to me that import is an astonishingly bad name for this
statement.
I was simply suggesting that using the right words would make things
clearer. Danny is right in a sense.
Ron
Karina Steffens wrote:
Danny, I think what Ron means is, you don't instantiate the class _and_ the
super class, as you would with Director.
As you know (and for anyone that isn't famili
It's also very
certain to drive another coder potentially working with your code in
the future into insanity...
I don't know. Sometimes that's a valid reason to do things like that. :)
As powerful as being able to do that is, it's one of those "features"
of Flash that always scares me. I tend
your function control, just run 1 time, only when you release, you
should put it on the mc.onEnterFrame, or start an interval when you
startdrag it
--Pedro Taranto
Gustavo Duenas escreveu:
Hi, I'm trying to stop the drag of a movie click when its x value
equals the x value of other movie cli
I would imagine you can write in actionscript too, albeit AS3, but still
actionscript.
Hank
On 3/19/07, dan <[EMAIL PROTECTED]> wrote:
Too bad its onely for Flex :)
I need it for flash
___
Flashcoders@chattyfig.figleaf.com
To change your subscriptio
On 3/19/07, Andy Herrman <[EMAIL PROTECTED]> wrote:
I've run into that before. The issue seems to be timing-related.
When you reload the page the SWF isn't re-downloaded (since it's
cached), so it loads much faster, so some initialization stuff might
run sooner than they did the first time.
Ye
Yes off topic, but I think any developer interested in online distributuiton of
video should be checking this out.
Anyone have an invite to share?
Thanks
Jim Bachalo
[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca
"...all improvisat
Is the scope of a LocalConnection limited to a particular Flash
engine, or can, for example, a Flash 9 projector use it to
communicate with a Flash 8 projector?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the
Hi flashers,
I am using an html text field to display some .swf s like the example
below.
However I would like to pass the .swf some variables, or a variable
that I can decode some vars from.
I have tried this
and this
and
vspace='8'>
But to no avail.
If you know how to do it
Thanks doctor, I'm going to try this, but a question, why don't
use :Number?
Someone told me that this might be necessary to use numeric values
for x.
is that right?
this.onRelease = function() {
this._parent.MC2.startDrag(true);
}
this.onEnterFrame = function() {
var mc1X: Number =
hi I have this in mind, a 3d figure, a cube , ok this cube has a
diferent image and a button in every one of its faces, so the button
should trigger a particular
code, but how can I handle this is 3d? and how can tell actionscript
about every single face which has a different design and a but
hi Joe, Im trying to use wordpress as source.. ofcourse some php will
run inside to generate the content but i am searching the ways of
getting them out from wp. i have used flash remoting before in some
other projects with serversiders. I am not much experienced in php
personally, so its kind
hi .. yes you can do it but you need a serverside script in order to
make it happen. you should use loadVars and your serverside script can
take the variables easily and add inside the xml. goodluck.
kerem.
sirajudeen kamarul jaman wrote:
hi toeverybody,
this is first time to joining t
Does ByteLoaded / bytesTotal work loading from CDROM ?
when I try, I get ByeLoaded = byteTotal since the beginning...
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailma
- Original Message -
From: "Danny Kodicek" <[EMAIL PROTECTED]>
To:
Sent: Monday, March 19, 2007 2:36 PM
Subject: RE: [Flashcoders] Create an object by name
>
> > > I'm still not entirely sure what import actually
> > > *does* :)
> >
> > It tells flash where the class definitions can be
Hi all,
A client asked me what the minimum requirement for DirectX are for a
Flash 8 standalone running of a DVD?
Is there really a need for DirectX? Just flash and some FLVs...
Cheers,
//Magnus
___
Flashcoders@chattyfig.figleaf.com
To change your
The quality comes from the conversion process, not the embed. What are
you using to convert the media?
On 3/19/07, creativity <[EMAIL PROTECTED]> wrote:
Hi,
I have dvd video and want to put it in flash. videos are long in
duration, Embeding it is resulting in very poor quality and long time
> I was simply suggesting that using the right words would make
> things clearer. Danny is right in a sense.
> Ron
>
> Karina Steffens wrote:
> > Danny, I think what Ron means is, you don't instantiate the class
> > _and_ the super class, as you would with Director.
> >
> > As you know (and for
You can compile any SWF + Application XML file into an Apollo
application. You have to use the command-line for this if not using Flex.
If you want to use the new features that Apollo brings to the table like
file I/O, windowing, etc, you need to compile the Apollo SWC files into
your SWF. I
Yes, you can write AS3-only apps that don't use any part of flex at all. You
can even do it for free with the Flex 2 SDK.
I've heard that you can use AS2 apps in apollo, but that it is a pain
because you do not have direct access to the apollo API.
On 3/19/07, hank williams <[EMAIL PROTECTED]> w
Not sure you noticed, but this is "FlashCoders"
Try the Flash Media List:
http://www.flashcomguru.com/flashmedialist/
regards,
Muzak
- Original Message -
From: "creativity" <[EMAIL PROTECTED]>
To:
Sent: Monday, March 19, 2007 3:24 PM
Subject: [Flashcoders] Poor video quality problem
Most of the time, what I've seen is setting a temporary var to either an
instance of the class, or in the case of a static class, setting it to a
reference to the class.
var myClass:MyClass = new com.client.project.package.MyClass();
or
var myClass:MyClass = com.client.project.package.MyClass;
I
It's not only for Flex. Flex == Flash. That's like saying "It's only
for Ruby, not Rails." Rails is written in Ruby.
Flex 2 is built with Flash. It's simply a bunch of classes and
components written in AS3 that provide a framework for developing
applications.
Currently, the Apollo compiler i
You can communicate with any swf that supports LocalConnection, which means,
Flash 6 and up.
The mechanism has changed a bit in AS3, but that's about it.
regards,
Muzak
- Original Message -
From: "Jeff Gomes" <[EMAIL PROTECTED]>
To:
Sent: Monday, March 19, 2007 4:48 PM
Subject: [Flash
You're almost there:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16417
Jason Merrill
Bank of America
Global Technology & Operations
Learning & Leadership Development
eTools & Multimedia Team
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED]
function compareX():Void
{
if (MC_Drag._x == mc2._x)
{
endDrag();
}
}
function beginDrag():Void
{
MC_Drag.startDrag(false, t, l, b, r);
clearInterval(compareInterval);
compareInterval = setInterval(this, "compareX", 10);
}
function en
tions 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
__ Informazione NOD32 2126 (20070319) __
Questo messagg
Does ByteLoaded / bytesTotal work loading from CDROM ?
when I try, I get ByeLoaded = byteTotal since the beginning...
When loading local content, bytes loaded/total are either 0 or close
values, or the correct number of total bytes. There's no streaming
process involved as it happens immediate
do you have an example of a server side page on cfm?
Regards
Gustavo Duenas
On Mar 19, 2007, at 12:32 PM, Kerem İŞERİ wrote:
hi .. yes you can do it but you need a serverside script in order
to make it happen. you should use loadVars and your serverside
script can take the variables ea
Oh, I don't even think of 'super' as any kind of identifier/variable.
I think of it the same way I think of '.', '[]' or even '->' (in C),
in that I think of it as an operator used to access something, not as
a reference. 'super.' is just the way to access the parent
implementation of a function,
There is no need for DirectX in this case. Not unless you've got a
projector wrapper doing something fancy, which I'm guessing you don't
(if it's just a standard Flash projector).
Ian
On 3/19/07, Magnus Askenbäck <[EMAIL PROTECTED]> wrote:
Hi all,
A client asked me what the minimum requirement
Then it's probably completely loaded. When using local media the load
times will be very fast, unless the file is very large (on the order
of a few hundred megs). I wouldn't be at all surprised if the
bytesLoaded == bytesTotal from the very beginning. Just means it
loads really fast. :)
-Andy
Makes me think that they believe the DVD will run off a Video DVD Player.
Meaning that it would run through Windows Media Player on a PC. You might
want to check their expectations.
Charles P.
On 3/19/07, Magnus Askenbäck <[EMAIL PROTECTED]> wrote:
Hi all,
A client asked me what the minimum
ning
http://www.figleaf.com
http://training.figleaf.com
__ Informazione NOD32 2126 (20070319) __
Questo messaggio è stato controllato dal Sistema Antivirus NOD32
http://www.nod32.it
___
Flashcoders@chattyfig.figleaf.com
To change your su
Hi:
My client and his employees have flash player version 7.0.69
I tried with a new movie with only a button and the button has the code:
on(release){
getURL("javascript:top.window.close();");
}
Then I tried with a new javascript funcion and with fscommand as you suggest
in all these mail
- Original Message -
From: "Danny Kodicek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
Sent: Monday, March 19, 2007 4:59 PM
Subject: RE: [Flashcoders] Super and this
> I was simply suggesting that using the right words would make
things clearer. Danny is right in a sense.
Ron
Karin
On 3/19/07, Andy Herrman <[EMAIL PROTECTED]> wrote:
Oh, I don't even think of 'super' as any kind of identifier/variable.
I think of it the same way I think of '.', '[]' or even '->' (in C),
in that I think of it as an operator used to access something, not as
a reference. 'super.' is just the w
= byteTotal since the
> beginning... >>
> >>
> >>
> >> ___
> >> Flashcoders@chattyfig.figleaf.com
> >> To change your subscription options or search the
> archive: >>
> http://chattyfig.figleaf.
Then perhaps what I am trying to do is possible, but I'm just doing
something wrong.
I need to be able to communicate between a Director Projector (Flash
8 Asset Xtra) and some SWFs authored in Flash 8 but running in the
Flash 9 Universal Binary Player (because the target machine is an
Inte
Hi:
My client and his employees have flash player version 7.0.69
I tried with a new movie with only a button and the button has the code:
on(release){
getURL("javascript:top.window.close();");
}
Then I tried with a new javascript funcion and with fscommand as you
suggest
in all emails in the
WWW/INDEX.HTM
WWW/SWF/MAIN.SWF
WWW/CONTENT/VIDEO.FLV
WWW/CONTENT/IMAGE.JPG
why is the loadpath (in an online situation) of an image relative to the index.htm file
location [ loadmovie("content/image.jpg") ]
and is the flv path relative to the swf file location [ netstream url:
"../content/video
Quoting Paul Andrews <[EMAIL PROTECTED]>:
> I'm sorry unsubscribe isn't working, but if you do like the list,
> why not
> just divert it to a folder using a mail rule? You don't have to
> read every
> message and can always read them later and it's sitting there as a
> useful
> resource to sea
Ian + Charles,
No wrapper. And no need to run through a Win Media Player (but I will
check to be sure).
Feel a lot safer when reverting to client now.
Thanks a bunch for your input guys.
//Magnus
Charles Parcell wrote:
Makes me think that they believe the DVD will run off a Video DVD Player
78 matches
Mail list logo