> When loading elements to the cache.. how can we ensure that when we try to
> access the same element later during the life of an application that the
> same element will be accessed from cache rather than re-loading the same
> file?
You can't. You can keep it in memory as long as the movie plays
Yes, if you "Preload" your stuff will go into the cache whatever
algorithm you use to preload them.
You can use LiveHTTPHeaders for Firefox or some kind of network debugger
like Charles to see what happens when "elements" are requested. If they
are requested and cached, you will see lots of H
I think I found the answer to my question: Bulk Loader:
http://code.google.com/p/bulk-loader/
On 1/21/08, Helmut Granda <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> When loading elements to the cache.. how can we ensure that when we try to
> access the same element later during the life of an applic
Hi all,
When loading elements to the cache.. how can we ensure that when we try to
access the same element later during the life of an application that the
same element will be accessed from cache rather than re-loading the same
file?
For example I want to load 300 graphics to cache while the fir
Hi Jason,
that's true. Of course I could read out all metadata and store it into
an array or xml. It's the usual decision of flashdevelopers to have a
every-situation-solution vs. a best-for-this-project-solution, right?
;)
Thanks,
Matthias
On Jan 21, 2008 6:07 PM, Jason Van Cleave <[EMAIL PROTE
Hi Glen,
i am somewhat satisfied with my current solution, now, but this is a
really interesting ressource you mentioned! Thanks for sharing!
Matthias
On Jan 21, 2008 5:31 PM, Glen Pike <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Have a look at these 2 possible things to combine / work-around
> get
Dave
I've lost count of the number of apps like this we've worked on. There
are several issues here to address that are wider reaching than just
TextFormatting.
Firstly you need to think about the character sets each of the various
versions will need for deployment. Are all of your required versi
you could use flvtool2 to get the metadata server-side and store it in a
database
http://www.inlet-media.de/
flvtool2 -P Prints out meta data to stdout
On Jan 21, 2008 11:31 AM, Glen Pike <[EMAIL PROTECTED]> wrote:
> Hi,
>
>Have a look at these 2 possible things to combine / work-around
> g
Hi,
Have a look at these 2 possible things to combine / work-around
getting the meta-data & streaming via PHP. It is a different thing
altogether, but you may be able to parse the FLV's and store the data in
XML or something?
http://www.flashcomguru.com/index.cfm/2005/11/2/Streaming-
Thanks for all the suggestions. I have thought of Flex, but have not used
before, so I wouldn't feel comfortable. I like the idea of just leaving room
in the design. Some testing will be required, but this may work.
Anyone recommend a good translation service? It may be upwards of eight
language
Steven,
I can't figure out a way to use ByteArray. I am able to load the flv
as ByteArray, but I can't see a way to load this into a Netstream
object. Any thought on that?
private function load(url:String):void
{
var loader:URLLoader = new URLLoader();
loader.addEventListener(Even
yes, I have seen problems like these a lot, lately.
Do you gotoAndStop/gotoAndPlay on the timeline?
If so, your timeline does not execute their script as expected?
Timelines are very different in their behavior from AS2 based
timelines. So for example a dynamic textField with the same instance
nam
Hi Guys,
I have run into a strange problem and its seriously affecting my deadline, i
just cant seem to find the problem.
- I am using PureMVC and as3.
- I am building a dynamic menu based on XML returned from the server
- I am attaching MovieClips from the flash IDE library dynamically
- Some of
Failing all that just code your own buttons using scale-9 so they can
stretch to fit the text...
... If that seems like hard work, maybe the project should be done in
Flex which has a localisation API and a framework specifically designed
to handle this sort of dynamically changing interface
---
I agree with Glen on the stringpanel part.
I've done a big project in the past with multilanguage games.. stringpanel
is a good start.. although if you want to give the user the possibility to
select the language at runtime you had to code that yourself into the
panel.. (that was made back in f
Right, thanks. I realize that, my concern is still sizing issues though.
This will be an app that is 'pretty' it has nice looking buttons and such.
If everything could be scrollable text fields I would have no problem.
Consider something as something as simple as 'stop', which is something like
Hi,
Look at using the "Strings Panel" - it's in FL8, probably in CS3.
This lets you attach an ID to all your text fields, etc. and define
languages in XML. The help has more in depth stuff about this, but that
is a good start.
You may also want to ensure all your translation is done
Hi Dave,
I would ask the designer to put all the text in dynamic textFields
(and fill them w3ith dummy text).
You can than adress these TextFields and fill them with text from a
database at runtime, depending on a 'language' flag.
HTH,
Willem van den Goorbergh
Op 21-jan-2008, om 13:26 heeft
I may be doing an app that has to be deployed in various languages, and I'm
trying to find a good method of doing it. I guess my main issue is that the
interface is Flash, and would be created by a designer. Content is pretty
much all external, but things like button text, tool tip text, etc. ar
Hello Steven,
yes, I noticed that. I am waiting for ns.bytesLoaded == ns.bytesTotal,
and I wait even until metadata are received, as mentioned earlier.
I have shut off the unwanted sound behavior now, but don't know, how I did it.
pause(false) ist AS2, Steven?
AS3/FlexBuilder doesn't allow me to
Glen,
Unfortunately, I discovered a bug with the code I posted. The
NetStream.Buffer.Flush does not fire if the NetStream is paused. You
have to check to see if the ns.bytesLoaded == ns.bytesTotal in the
onProgress.
Matthias,
I have never had any unwanted sound behavior when I use:
ns.pl
Im on XP at work / Vista at home and don't get the border, so that's a
bit weird.
Ah, NativeWindow.bounds, that looks like just the thing - includes any
system chrome (visible or not). Lots of handy events with it too by the
looks. Yeah, let me know how it goes - good luck.
Cheers
Matt
-Ori
Hi Glen,
thanks, but that's exactly what I do, but it answers not the related questions:
a) what, if I need the video for a second DisplayObject at the same
time on stage, does it load faster, because it was cached?
b) play() and pause() leads to unwanted sound behaviors when the video
consists
Hi,
Steven Sacks posted this the other day.
Glen
"Preloading FLVs is easy peasy.
var progressTimer:Timer = new Timer(10);
progressTimer.addEventListener(TimerEvent.TIMER, updateProgress);
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(n
Hello,
I want to use video for character animations and so I want to preload
several videos without to play them while preloading.
How can I do this in AS3? I found only the play("something.flv")
method. Are there any other possibilities?
Also, I am currently waiting for my metadata handler to be
25 matches
Mail list logo