On Sat, Feb 27, 2010 at 1:56 PM, Kenneth Kawamoto kennethkawam...@gmail.com
wrote:
Loader is used to load SWF or images.
loader3.load(new URLRequest(index.py));
Is your Python script meant to return SWF/image? If you want to load a
data, use URLLoader instead.
But I think what you want
Victor Subervi wrote:
Is there any way to stop that, mask it, reduce the images to 1 pixel * 1
pixel?
The most obvious solution would to not addChild them or their loaders to
the wrong object.
___
Flashcoders mailing list
Hi;
I had another idea on how to tackle this problem of wanting to load two
different swfs at the same time. (Please read thread if you don't understand
what I mean.) Then I want to call/load an URL. I get no errors, however, it
doesn't surf to the desired page, either. (Yes, I've loaded it on the
Loader is used to load SWF or images.
loader3.load(new URLRequest(index.py));
Is your Python script meant to return SWF/image? If you want to load a
data, use URLLoader instead.
But I think what you want is to go to another page, if so use
navigateToURL().
Kenneth Kawamoto
Hi;
Now that I've got the preloader working, not sure how to attach it. That is,
I have an intro/splash page that covers an HTML page and then is removed
with css:
div class=splash id=splash
OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354
There are many ways to achieve what (I think) you want to achieve but
may be the most simple way is to place your intro SWF in one HTML and
when it finishes playing go to another HTML page contains your main
stuff.
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 26 February 2010 14:17,
that's not going to preload anything though. we know how everyone loved the
skip intro days...
victor, you need to do this in flash (if i've understood you correctly) you
get your preloader to load in your main content, it's a container...
I think you misunderstand.
1) I have created a preloader.fla that works flawlessly.
2) It calls another fla/*.as file and that loads and everything is peachy
keen.
Now, what I want to know is, how do I put this in my html file so that
everything executes? And please bear in mind what I wrote
On Fri, Feb 26, 2010 at 11:47 AM, kennethkawam...@gmail.com
kennethkawam...@gmail.com wrote:
There are many ways to achieve what (I think) you want to achieve but
may be the most simple way is to place your intro SWF in one HTML and
when it finishes playing go to another HTML page contains
No - I just didn't understand what you wanted :)
Are you trying to manipulate HTML from SWF? If so you can call
Javascript function using ExternalInterface.call().
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 26 February 2010 17:21, Victor Subervi victorsube...@gmail.com wrote:
On
On Fri, Feb 26, 2010 at 1:52 PM, kennethkawam...@gmail.com
kennethkawam...@gmail.com wrote:
No - I just didn't understand what you wanted :)
Are you trying to manipulate HTML from SWF? If so you can call
Javascript function using ExternalInterface.call().
I don't think that's what I want.
Coders List
Subject: Re: [Flashcoders] Preloader, Pt. 2
Sent: Feb 26, 2010 12:04 PM
On Fri, Feb 26, 2010 at 1:52 PM, kennethkawam...@gmail.com
kennethkawam...@gmail.com wrote:
No - I just didn't understand what you wanted :)
Are you trying to manipulate HTML from SWF? If so you can call
On Fri, Feb 26, 2010 at 2:14 PM, Nathan Mynarcik nat...@mynarcik.comwrote:
What if you have the preloader load in the splash, and when the splash file
is done playing have it navigate to a new html page (which is your end HTML
page)?
I don't follow. Can you give me an example?
TIA,
V
Does your preloader load your splash movie? Or is it just an intro movie?
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 26 February 2010 18:04, Victor Subervi victorsube...@gmail.com wrote:
On Fri, Feb 26, 2010 at 1:52 PM, kennethkawam...@gmail.com
kennethkawam...@gmail.com wrote:
On Fri, Feb 26, 2010 at 2:56 PM, kennethkawam...@gmail.com
kennethkawam...@gmail.com wrote:
Does your preloader load your splash movie? Or is it just an intro movie?
It loads the splash currently.
V
___
Flashcoders mailing list
Then when the splash finishes playing just go to another HTML with
your contents.
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 26 February 2010 19:01, Victor Subervi victorsube...@gmail.com wrote:
On Fri, Feb 26, 2010 at 2:56 PM, kennethkawam...@gmail.com
kennethkawam...@gmail.com
On Fri, Feb 26, 2010 at 3:07 PM, kennethkawam...@gmail.com
kennethkawam...@gmail.com wrote:
Then when the splash finishes playing just go to another HTML with
your contents.
Just to be dead clear...
1) The fake preloader is not the splash. It will load the heavy image that
is used in both
Downloaded external assets would be cached therefore the browser
should take no time to access it next time around.
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 26 February 2010 19:13, Victor Subervi victorsube...@gmail.com wrote:
On Fri, Feb 26, 2010 at 3:07 PM,
On Fri, Feb 26, 2010 at 3:23 PM, kennethkawam...@gmail.com
kennethkawam...@gmail.com wrote:
Downloaded external assets would be cached therefore the browser
should take no time to access it next time around.
Breathing deep sigh of relief.
Thanks.
V
://www.mediakitchen.co.uk/portfolio_games_liver.htm
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik
Andersson
Sent: 01 February 2010 10:56
To: Flash Coders List
Subject: Re: [Flashcoders] Preloader error (AS3
I am getting the following error in my browser when I load my flash game and
would like to know if anyone can identify the problem with my preloader
code?
TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at liverGame_fla::MainTimeline/PL_LOADING0()
don't know if it helps but instead of
if (pcent0==100) {
gotoAndStop(setup);
}
i would add a listener for Event.COMPLETE
a
On Mon, Feb 1, 2010 at 10:46 AM, Paul Steven paul_ste...@btinternet.comwrote:
I am getting the following error in my browser when I load my
especially as pcent0 is a rounded out number so 99.6% would come out as 100%
On Mon, Feb 1, 2010 at 10:49 AM, allandt bik-elliott (thefieldcomic.com)
alla...@gmail.com wrote:
don't know if it helps but instead of
if (pcent0==100) {
gotoAndStop(setup);
}
i
Paul Steven wrote:
lpc.loadingMC.percent.text=int(pcent0)+%;
This line is the only one even mentioning other objects. One of the
properties are null.
Check that said object actually exists at that point in time.
The note about the COMPLETE event is correct, listen for it as well,
Hi
After successfully creating a carousel navigation I added a preloader to it.
It works well on FF3 FP10, but does not on IE7 FP9. I don't know how it
previews on other browser and players.
You can downlaod the swf here:
http://drop.io/carouselPreloadin
The code for preloading is this one:
Any idea why there are no errors but my preloader does not show up
on the stage? I have commented out the call to remove it and
addChild the main website for testing purposes ...
package {
// Flash Classes
import flash.display.*;
import flash.events.*;
import
...@chattyfig.figleaf.com] On Behalf Of e...@hush.com
Sent: zondag 14 december 2008 19:20
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Preloader not showing up
Any idea why there are no errors but my preloader does not show up
on the stage? I have commented out the call to remove
Hi List,
is there a way to determine in AS3 (or more precisely in preloader
swf) if main swf is already in the browser cache?
Pavel
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
- Original Message -
From: Pavel Krusek [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Saturday, July 05, 2008 9:51 PM
Subject: [Flashcoders] preloader problem - browser cache
Hi List,
is there a way to determine in AS3 (or more precisely in preloader
@chattyfig.figleaf.com
Sent: Saturday, July 05, 2008 9:51 PM
Subject: [Flashcoders] preloader problem - browser cache
Hi List,
is there a way to determine in AS3 (or more precisely in preloader swf)
if main swf is already in the browser cache?
Not that I know. But what use would it be to you
Hi folks,
How do you implement a preloader with AS3 in Flash CS3? I don't mean a
preloader that loads additional files but a preloader that preloads the SWF
that the preloader is part of.
I'm a bit puzzled about this right now as you cannot easily access
bytesLoaded/bytesTotal anymore without
E: [EMAIL PROTECTED]
altcom Ltd, 13 North Parade, Penzance, Cornwall, UK, TR18 4SL, United
Kingdom
-Original Message-
From: Rákos Attila [mailto:[EMAIL PROTECTED]
Sent: 17 April 2007 14:00
To: John Cowles
Subject: Re[2]: [Flashcoders] preloader and cacheing problem
JC Here
We have been supplied with Flash files that include a preloader, a small
flash file that then gets a large flash file. The way it works bypasses both
browser and server caching rules. Every time the page is refreshed it
downloads the entire fileset again. This accounts for about 20% of monthly
In general Flash has no control over caching, it will depend on the
browser's settings. However there is a commonly used method for
forcing download on each request (not only in Flash movies) and
avoiding content stored in the cache: this is appending a unique
parameter to the URL on each request
+' height='+height+'/object!--
![endif]--
/object');
}
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Nils Millahn
Sent: 17 April 2007 10:04
To: [EMAIL PROTECTED]; flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] preloader and cacheing problem
Hi John
PROTECTED] On
Behalf Of Nils Millahn
Sent: 17 April 2007 10:04
To: [EMAIL PROTECTED]; flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] preloader and cacheing problem
Hi John,
this shouldn't actually happen, unless the url to the SWF that's being
loaded in is modified to make it 'unique
Message-
From: Rákos Attila [mailto:[EMAIL PROTECTED]
Sent: 17 April 2007 14:00
To: John Cowles
Subject: Re[2]: [Flashcoders] preloader and cacheing problem
JC Here is the javascript that loads the initial flash file - if
JC javascript isn't enabled then a static image is shown (hence the
JC
Hi
I use simple preloader
function loadNewPart(part){
host._visible=false;
this.attachMovie(preloader, preloader, 999, preloaderPos);
host.loadMovie(part);
this.onEnterFrame=function() {
var tLoaded, tBytes;
tLoaded = this.host.getBytesLoaded();
tBytes = this.host.getBytesTotal();
if
Have you tried doing a trace() of both tLoaded and tBytes? It might
help you figure out what's going on.
Also, why not just do `if(tLoaded = tBytes)`? It seems kind of
pointless to do a division there.
-Andy
On 3/8/07, natalia Vikhtinskaya [EMAIL PROTECTED] wrote:
Hi
I use simple
I'm using the code at the bottom of this post.
Using the Simulate Download and the Bandwidth profiler, I have two
different files where it's basically downloading about 15% of the file
and then continuing playing.
The preloader starts to work correctly, but basically quits out
incorrectly
@chattyfig.figleaf.com
Subject: [Flashcoders] preloader not completely preloading...
I'm using the code at the bottom of this post.
Using the Simulate Download and the Bandwidth profiler, I have two different
files where it's basically downloading about 15% of the file and then
continuing playing
stop();
function checkLoad()
{
var c = mc.getBytesLoaded();
var t = mc.getBytesTotal();
var p = (c / t) * 100;
MC_LoaderBar._xscale = p;
TXT_Load.text = Math.floor(p + %);
if (p == 100 t 4) {
delete this.onEnterFrame;
mc.gotoAndPlay(main);
}
}
this.onEnterFrame =
Thanks everyone!
On 12/11/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:
stop();
function checkLoad()
{
var c = mc.getBytesLoaded();
var t = mc.getBytesTotal();
var p = (c / t) * 100;
MC_LoaderBar._xscale = p;
TXT_Load.text = Math.floor(p + %);
if (p == 100 t 4) {
Hi list...
Dumb throwback question: my load progress bar isn't working. I have
two frames, one to monitor the loading of the swf, and when it happens,
go to the next frame to init a singleton, but my load progress bar
doesn't show up until the swf is 100% loaded. What am I missing here?
Of Mendelsohn,
Michael
Sent: 7 novembre 2006 13:53
To: Flashcoders mailing list
Subject: [Flashcoders] Preloader not working with singleton
Hi list...
Dumb throwback question: my load progress bar isn't working. I have two
frames, one to monitor the loading of the swf, and when it happens, go
Hi there,
I used a tutorial on Adobe.com to create a preloader from some
tutorial files. Works great, but the preloader displays the animation
ALWAYS. Even if there's nothing to preload, cause it has been loaden
already. Is there any way to determin if the content already has been
loaded
Normally, it already checks for 'getBytesLoaded() == getBytsTotal()' (or
a variation). Could you post your ActionScript?
Benjamin van Gogh wrote:
Hi there,
I used a tutorial on Adobe.com to create a preloader from some
tutorial files. Works great, but the preloader displays the animation
-Original Message-
From: [EMAIL PROTECTED] on behalf of Andy Johnston
Sent: Mon 3/20/2006 4:31 PM
To: Flashcoders mailing list
Cc:
Subject: Re: [Flashcoders] preloader, again (ugh)
G'Day Edward,
Heres my code
I am really trying to have my preloader work, with a site that is 100% AS. the
entire site resides either in classes or as on the first frame. there has got
to be some way to preload a site, with a single function that is entirely
dynamic. this is what i have, but it will not even appear on the
well, the preloader does display load status, then simply repeats, instead
of deleting itself, it just repeats the loading ... any ideas??? i just want
the swf it loads to not play or start until it is fully loaded, and the
label_txt is deleted etc ...
onClipEvent(load) {
I have posted this before, and gotten some feedback, this is the result, yet
i still cannot get the clip to display the load progress of bigfile.swf
inside the label_txt. the swf loads inside of _root.target_mc ... any ideas
here people?
// - begin code
target_mc.loadMovie(bigfile.swf);
are your trace statements showing the expected info?
-Original Message-
From: murder design [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 07, 2006 1:46 PM
To: Flashcoders mailing list
Subject: [Flashcoders] preloader issue?
I have posted this before, and gotten some feedback
Also, double check the string concatenation. You had an ampersand in...
_root.label_txt.text = percent % LOADED
It should be a plus sign...
_root.label_txt.text = percent + % LOADED
___
Flashcoders@chattyfig.figleaf.com
To change your
If you attach this to the clip itself, it does work -
onClipEvent (load) {
this.loadMovie(bigfile.swf);
}
onClipEvent (enterFrame) {
tBytes = this.getBytesTotal();
trace(tBytes: +tBytes);
bLoaded = this.getBytesLoaded();
trace(bLoaded: +bLoaded);
one for all those with gmail
On 3/7/06, Van Tuck [EMAIL PROTECTED] wrote:
If you attach this to the clip itself, it does work -
onClipEvent (load) {
this.loadMovie(bigfile.swf);
}
onClipEvent (enterFrame) {
tBytes = this.getBytesTotal();
trace(tBytes: +tBytes);
Part of the problem is that your onEnterFrame is getting stomped on by the
reinstantiation of the target movieclip when the SWF actually begins to
load. That effectively (quite) deletes the onEnterFrame. Either attach the
onEnterFrame to some other timeline, or load the movie into some other
this code does work, however the percent displays something like 15 places
...
onClipEvent (load) {
this.loadMovie(bigfile.swf);
}
onClipEvent (enterFrame) {
tBytes = this.getBytesTotal();
trace(tBytes: +tBytes);
bLoaded = this.getBytesLoaded();
trace(bLoaded:
Hi all
I have a preloader displays ok in Firefox but not in IE
In IE I just get a red X frame which stays until the flashmovie has
completly loaded.
Can anyone suggest why it does this?
Johnny
___
Flashcoders mailing list
58 matches
Mail list logo