Kevin Newman skriver:
... I don't think they are loaded from Adobe's servers
Check the publish settings, the exact url list for each RSL is listed
there. TLF defaults to being loaded from Adobe's servers.
___
Flashcoders mailing list
Micky Hulse skriver:
Thanks for all the additional information Kevin and Henrik!
Just out of curiosity, do you guys (or others on the list) use TLF
text boxes much?
I have yet to need it. I don't to such projects.
Besides, I find it fun to work with the direct flash.text.engine classes.
Micky Hulse skriver:
Does TLF text add much additional Kb to a document?
Some people think so. It's a few hundred kb. But with the RSL preloader
that cost is offloaded to the Adobe hosts. You only pay for the
preloader that is just a few kb.
___
Long story short, the TLF library is implemented in actionscript. Said
library is hosted on adobe's servers.
In order to use the library, the player must have loaded it. The default
solution to this used by Flash is to wrap the main movie in a separate
preloader movie.
This system is called
Mattheis, Erik (MIN-WSW) skriver:
For AIR content in the application security sandbox,
You don't have to run in the application security sandbox.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
Capture happens before bubbling.
Go for the capture phase if it works for you and you need to shave a few
microseconds.
Just remember that the capture phase does not extend to the actual target.
___
Flashcoders mailing list
Kevin Holleran skriver:
then do something like this?
Good start, but I suggest using a vector here to make the code simpler.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
You might want to have a look at the Bitmap.bitmapData property.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Karl DeSaulniers skriver:
Hi Chris,
I was rummaging around in one of my php.ini files and found this nifty
little tid bit.
Take a look.
; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process.
Mattheis, Erik (MIN-WSW) skriver:
I have a typical tabbed layout and am trying to figure out the simplest/best
way to reset the focused state on the focused tab when another is clicked.
Classes:
Tab - contains graphics and a public variable referencing the MovieClip of the
over state.
The way I would do it is to assign each clickable object the url it
needs to go to in a property and then use a single event listener that
reads the property to know what url to use.
If I was in a really fancy mood I would look into using a component
definition to allow the url to be easily
Developer skriver:
Wouldn't it also be helpful to have the server-side script verify
(validate) the data the swf is sending back up?
That way if someone manually triggered the date, the server would not
accept it because it doesn't match it's system date.
Don.
You have a point. The server
Kevin Holleran skriver:
Thanks to everyone for all of your responses.
What is going to happen, is the application is going to hold a coupon. That
coupon will be retrieved from a database and passed into the Flash
application. I guess as I am writing this, the script will just check the
date
Jordan L. Chilcott - Interactivity Unlimited skriver:
Unless the client is actually displaying a countdown, it has no need for the data. All
the client needs in this case is a polling mechanism to occur on a set interval, whether
or not it intends to display any countdown down. No data needs
Glen Pike skriver:
Hello,
The parameters that you pass to the SWF in your HTML are different to
communicating with a back-end system.
If you look at URLLoader in actionscript. This enables you to load data
as you would load a web-page.
You would use URLLoader with your server-side code, e.g.
Merrill, Jason skriver:
Then you need to provide each user with a computer controlled by you and a
competent guard
You clearly haven't heard of
And he's clearly new to this stuff as he said is his original post, so lay off
play nice. There's no reason to respond to people like that. The
Kevin Holleran skriver:
I am not
concerned with the user SEEING the data, I just don't want them to be able
to load the SWF in a way that they would be able to pass in their own
values.
Then you need to provide each user with a computer controlled by you and
a competent guard to prevent the
Kian Chang skriver:
Hi all, thanks for taking the time to read this and help a newbie out.
I'm just getting my feet wet with AS3 as I've finally decided to
abandon the AS2 way of life.
I'm trying to use CustomOrientation.as, and I keep getting 3 errors in
my main .fla file, error 1180: Call to
Filters rend to bitmaps. Said bitmaps have maximum sizes. You actually
get a trace entry when this limit is hit.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Kevin Newman skriver:
I have pretty good experience exporting to QuickTime right from Flash -
though others swear it's problematic (maybe they are doing it wrong?).
Maybe they are using actionscript?
___
Flashcoders mailing list
Christoffer Enedahl skriver:
It sounds like it's time to encode the flash animation to video.
For some of the cases, yeah. You are right in that encoding to video
would solve the issue for local playback. Give me a shout when you find
a tool that actually can do it properly.
But it is not
I have been thinking a lot about the problem of optimizing animation
playback. I know that some people here are unfamiliar with working with
real animations and have been doing applications instead. Please
consider this aimed at real animations like in movies and games.
While the best
You bring up a lot of valid points, but you fail to focus on the main
concern here, how to deal with the graphics being the most heavy part.
Please keep in mind that I am trying to focus on how to deal with
animations that can't be simplified much. I am looking for a generic
solution to the
Ktu skriver:
But what can you do when you have exhausted your options to edit the
content? You only got the quality setting left to use. - maybe then
you've got to re-evaluate what you are doing or use the quality settings.
How do you decide on the thresholds? Can you successfully predict
Merrill, Jason skriver:
Or if you switch to a Flash wrapper tool like mProjector or Zinc.
Wrappers are lame compared to AIR if you ask me.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
Merrill, Jason skriver:
i think AIR has negated the need for these windowless flash wrappers - are
these still in production?
Yes, the tools are still out there. AIR requires installation of the AIR
runtime first. The wrappers do not, they are standalone .exes. For first time
user, it
Pierrick Pluchon skriver:
Hi List,
I'm currently working on a little musical app with multiple sounds. Think of
it like a piano - each key plays a different note. What i'm trying to do is
to record my whole composition as a byteArray and to export it as wav file.
The export is ok, i get good
You need to do your own mixing. First you need a way to get each note
and then a way to know when each note should play.
With that information you can start mixing, read the value of the first
sample from each note currently playing and add them together, this is
the mixed value. Now write
John R. Sweeney Jr skriver:
TestŠ
TestŠ
Is this mic on?
Nope. Try this one:
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Kerry Thompson skriver:
... and volume controls wouldn't be able to emulate different attacks.
Yes they could. Who is to say that you can't make the control change
based on the frequency?
___
Flashcoders mailing list
Kerry Thompson skriver:
Henrik Andersson wrote:
... and volume controls wouldn't be able to emulate different attacks.
Yes they could. Who is to say that you can't make the control change based
on the frequency?
Of course you could base the volume control based on the frequency.
You could
Kerry Thompson skriver:
Maybe one of the musical geniuses on the list knows. In the meantime,
I'll ask some of my musician/computer friends.
I'd try the classical software synth approach. Pianos are pretty close
to sine waves with an envelope filter controlling the amplitude and some
reverb
Kerry Thompson skriver:
I would use midi, then. Midi capabilities are pretty much universal
these days, and you'll need a lot smaller download. Plus, mp3's have a
lag on startup--not bad, but it gets annoying pretty quickly. Midi
won't have that problem.
Except for the tiny detail that Flash
ekameleon skriver:
Sorry... I forget :
or handle the added events with addEventListener( Event.ADDED , .. or
addEventListener( Event.ADDED_TO_STAGE
That's not enough, what about stuff getting removed? What about two
things swapping positions? Is there even an event for the last thing?
Karl DeSaulniers skriver:
Also, if I am not mistaken, you should never cacheAsBitmap on any
moving objects.
I believe this is a no no on the processing end of flash as it has to
cache it every time it moves.
Unless it is a very small graphic.. but then why would you need to cache
it. :)
Best,
You want the getDefinitionByName function, not the dynamic property
access syntax.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
(About fullscreen with multiple monitors) I can't believe that they are
claiming that fixing a on-and-off bug for the last couple of years is a
feature.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
Ivan Dembicki skriver:
Hello Merrill,
This message w/attachments (message) is intended solely for the use of the
intended recipient(s) and may contain information that is privileged,
confidential or proprietary. [...]
- are you sure? this list is public.
Yeah, people need to turn off
Mendelsohn, Michael skriver:
Test: is the list alive?
No, it died, the funeral is on feb 29.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Anthony Pace skriver:
trace(Number('1992.2'));
//why does it output 1992.3
//I am assuming I am missing something pretty obvious
First it is parsed to binary floating point, losing accuracy and then it
is output as decimal form again, losing accuracy again.
tom rhodes skriver:
yup interesting that the old AVM gives you what you'd think...
Pure luck, you might have compiled against something that happened to
drop the decimal instead .
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
it...@aol.com skriver:
Hello,
Am wondering whether it is possible to generate the basic Flash components
like buttons, checkbox and scrolling fields with pure ActionScript (no
Flex), i.e., without placing them in the Flash IDE library.
Thanks,
Daniel A
No.
They need their skin symbols.
Omar Fouad skriver:
Hello all,
I'm trying to call a function in JavaScript from a SWF file (AS3).
fscommand(start, 1);
This function works fine. However, when I pass a variable to the fscommand
parameters argument, JavaScript doesn't work:
fscommand(start, myString); // this doesn't work.
Am I
David Benman skriver:
I've had intermittent problems compiling on with CS4 on Mac OS X. I think its
usually something with the IDE environment rather than the specific Flash
project. These are things I try.
You forgot the classic of nuking the profile directory.
Glen Pike skriver:
mc.mask.width?
What if the maskee is smaller? What if the mask and the maskee only
partially overlaps?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
natalia Vikhtinskaya skriver:
Mask is 100px width. Image is 200px width. Putting 3 masked mc in one
container don't give 300px width.
True, but if you put the image at (0,50) the visible size is 50 pixels.
That is, assuming that the image has the registration point in the top
left corner.
natalia Vikhtinskaya skriver:
How I can check how they intersect? Can you explain at this example
how I should calculate total size?
You can find the bounding boxes with the getBounds method and take it
from there. But it is still only the bounding boxes. And things do get
complicated when
Mendelsohn, Michael skriver:
Hi list...
For some strange reason (and I mean REALLY strange), the second statement below
depends on the first statement. As far as I can tell, the two lines have
nothing to do with each other. When c runs, clickedOne returns an XMLList.
When c is commented
I am sure that most people here know what playerglobals.swc is, but I
might as well explain it anyway.
The playerglobals.swc file is used by the compiler to know how the flash
player api looks like. It lists all the classes, packages and so on.
What may not be immediately obvious is that it
There are several ways to get at the assets. The most obvious one is to
simple ask the code in the loaded swf to give you what you want. You can
use all the fancy factory patterns that you've been reading about this way.
Personally I keep it simple and just store each thing in an object that
Micky Hulse skriver:
trace(getQualifiedClassName(loadedDisplayObject));
Would that be the best way to test for MovieClip or Bitmap?
It fails the empty base class test. It is an extremely bad way.
___
Flashcoders mailing list
Karim Beyrouti skriver:
attached a class that does that, hope it helps...
The mailer ate it.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
SWF files are not bitmaps. Stop trying to treat them like bitmaps.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Paul Steven skriver:
I realise this is probably something that requires a crossdomain.xml file on
the other server but this is not possible.
Why not? Did you even ask the people responsible for the server? Either
they are going to fix it quickly or they are going to turn you down.
And if
Paul Steven skriver:
Therefore [I] doubt...
Quit being so lazy and contact them already.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Paul Steven skriver:
Thought I could get some help here not labelled lazy!
You do realize that it takes just as long to simply ask the site in
question right?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
Karim Beyrouti skriver:
Thanks Karl,
had seen that one, but it slightly confused me, i go this out of it which is
kindof wrong:
private function ARGBtoRGB( argb : uint ) : uint {
var alpha:uint = (argb 24 0xFF );
return alpha % argb
}
My head hurts from trying to figure
Tom Gooding skriver:
Hi- does anyone know if it's possible to access the list of definitions
available by 'linkage' in an external swf?
Short of manually parsing the file, nope.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
I am curious, does the key say Alt or AltGr? They are not quite the
same.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Alexander Farber skriver:
My problem is, that I can't find the way to set HTTP cookies
through the navigateToURL() method. Please advise me
Normally it would be the same as any other http header, it's part of the
URLRequest class.
However, the cookie related headers are on the blacklist.
Run the flash player uninstaller? They actually provide one, just for
cases like this.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
They don't need a new major version. They need a new minor version. A
little bigger than the Vector addition.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Merrill, Jason skriver:
And don't forget the free Droid 2s they gave us and Martha Stewart paying a
visit. :)
I didn't those parts where important enough to mention.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
Jeremy Hicks skriver:
We've created a class for tracking what is in memory. It doesn't add any
cleanup functions but it gives a good indicator what's there so you can see if
your efforts are having a positive effect.
Can't you use the flash.sampler package to track things automatically?
Objects can not be destroyed explicitly.
You need to do your own cleanup work and then wait for the garbage
collector to reclaim the memory.
The garbage collector is unpredictable and may or may not run at all. If
you need any specific work done at a specific time, do it yourself.
Also,
For those that missed the keynote, let me do a quick summary of the
Flash relevant stuff:
* Hardware accelerated 3D
* Hardware accelerated Video
* The Flash platform has more devices, including settop boxes, blueray
players and tvs.
* Game controller support
Watch the rerun on
Karl DeSaulniers skriver:
Oh and any Movieclips you have that play content inside them,
move their content to a new layer on the main timeline.
Unless you need them to be scripted. Like perhaps it's a particle
effect. Or even worse, a virtual camera.
The built in exporter is crap and doesn't deal with actionscript. You
might get better luck with a 3rdparty solution.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
I would rather use a dedicated tool. Googling swf to video should find
most of them.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
I have been working on a little tool to detect lag.
It simply draws a little square with a number showing how long the last
frame took to rend. The square changes color depending on the detected
frameskip. Anything over some flashes of yellow is grounds for concern.
Is there anything about
John Goodman skriver:
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
I agree.
___
Flashcoders mailing list
Lehr, Theodore skriver:
1061: Call to a possibly undefined method save through a reference with static
type flash.net:FileReference
Why would it work in one but not the other?
Because only one of them targets FP 10 where the method was added.
___
Beatrix Krümmer-Frau skriver:
Am 18.10.2010 14:08, schrieb Henrik Andersson:
The old flash player will ignore the swf tags related to as 3.
This means: as long as I write AS3 syntax without as 3 specific classes
it can work?
No, not only would that be completely useless practically
Beatrix Krümmer-Frau skriver:
Hi all,
I am searching informations about using Actionscript 3 for projects,
which have to run in old, old Flash Versions. I need arguments for
customers who still work with Actionscript 2.
Any suggestions are welcome, will do a paper on this issue.
Thanks in
strk skriver:
I disagree. There is NO _free_ player supporting AVM2 movies.
Free player means virtual support for _any_ platform.
You must be using some definition of free that doesn't involve beer.
___
Flashcoders mailing list
Save as XFL and report back what files are taking up the majority of the
size.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Dave Watts skriver:
I'm trying to compress XML data being exchanged via Socket with a Perl
backend and after taking several hurdles, I'm stuck at this error message:
1061: Call to a possibly undefined method inflate through
a reference with static type flash.utils:ByteArray.
In your
Alexander Farber skriver:
On Sun, Oct 3, 2010 at 7:44 PM, Henrik Anderssonhe...@henke37.cjb.net wrote:
Dave Watts skriver:
In your code, if there's nothing to read, your exception handlers fall
through after calling handleTcpError. At compile time, the compiler
has no guarantee that there'll
Trust me on this one, computeSpectrum is not useful for anything but
music visualization. It provides no gurantees that it wont miss samples,
in fact, it is highly likely that it will.
That makes it unacceptable for any serious use.
___
Flashcoders
Off the display list does not mean not playing.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
That's the answer to the wrong question.
The truth is that the option is exactly where you are looking, just look
again.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
The flash player has no such feature. In fact, most modern OSes doesn't
even let applications bitbang hardware ports directly.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Misconception correction time!
Read my article:
http://www.actionscript.org/resources/articles/943/1/Actionscript-and-timelines/Page1.html
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
I want it to match examples as:
Bathroom HAS-A Baththub.
Cat IS-A Feline.
Cat IS-NOT-A Simalian, but Cat HAS-A Simalian owner.
MovieClip IS-A Sprite, but a Sprite can HAVE-A MovieClip child.
Loader HAS-A Sprite accessible by the content property.
Bitmap HAS-AN associated BitmapData.
Socket IS-AN
SWC files are zip files with swf files inside them (and some other misc
stuff). The flash player does not know how to deal with them.
You would have to unpack the zip, read the metadata and feed the stored
swf to Loader.loadBytes.
Or you could just load a swf like everyone else...
Glen Pike skriver:
has a (interfaces) than is a (subclass),
That's wrong. HAS-A is not used for interfaces, it is used for reference
properties and other forms of containment. Both interfaces and classes
use the IS-A relation.
You don't say Picture HAS-A IDrawable, you say Picture IS-A
https://bugs.adobe.com/jira/browse/FP-3550
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
David Hunter skriver:
Anyone going to Flash On The Beach next week in Brighton?
Buy me the tickets and I will be there ;)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
DisplayObject.mouseX
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
I think you are expecting too much, it's a mailing-list. Discussion
boards and similar systems doesn't invite to saying thanks.
I am not against it, but personally, I find saying thank you to be a bit
like noise. It's not very important, but it's nice I suppose.
Then again, I don't want to
Merrill, Jason skriver:
I think one of the main benefits of saying thank you is it tells the
rest of the list, problem solved, no need to comment further. So
people don't keep replying, they know the solutions given worked and
problem solved.
Because that has worked so well in the past...
We
Lehr, Theodore skriver:
Is there anyway to zoom into a mc and make sure a certain point on an object
(just an image converted to a mc in this instance) is always in the center?
Yes, with geometry.
I recommend using a virtual camera, since it will take out a bunch of
complicated (but far
Glen Pike skriver:
You should be able to find a nice virtual camera class on Bitey castle
guys website. http://www.biteycastle.com/
I prefer my own one, you can stick a camera in a camera with it and it's
simpler. But that one isn't half bad either.
Carl Welch skriver:
I don't believe apple really gives a crap about developers. We can
thank the FTC probe for their sudden change of policy. I still feel
burnt by Mr. Jobs.
I must have missed that, what probe?
___
Flashcoders mailing list
I have been thinking about namespaces in as and have realized that they
can be considered a solution to the same problem that friends solve in c++.
I wonder which solution is the best.
Namespaces are defined once and can be used by multiple files, while
friends needs to be listed fully for
You don't want a mask. You want a bitmap with alpha values.
If you really need two bitmaps, you can use the alpha blend mode to
combine them during rendering.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
George Jones skriver:
Any other thoughts?
Don't try to use the alpha channel on a bitmap that doesn't have one.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
allandt bik-elliott (thefieldcomic.com) skriver:
i was always under the impression that the best way of doing that (for games
sprite animations for instance) is bitmap 'blitting' where you use a
tilesheet and then use bitmap draw to pull the current frame you want to
show into your actual sprite
http://www.apple.com/pr/library/2010/09/09statement.html
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Nathan Mynarcik skriver:
That link is not even a page long...
True, but it's not the actual agreement either.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
101 - 200 of 508 matches
Mail list logo