Preloader not working althought it loads fine
im trying to make a preloader, althought it loads just fine the preloader bar wont move, better: the filesize against the loaded bytes does not let it move
http://pastebin.com/SLQeqx7U code is there, i dont know if this forums have [code] thing
ok, so.. i'd guess this is what's needed. anymore info and the url will provide.
this.onEnterFrame=function() {
while(_global.loadCount) {
for (il=0;il<_global.image.length;il++) {
trace("for Image "+il+" "+_global.image[il]+" "+_global.limage[il]);
if (_global.limage[il]==0) {
trace("limage preview: "+prever)
nprever._x=500;
_global.limage[il]=1;
if (_global.limage[il]==1) {
v=il+1
wprel=_root.tfcore["preloader_"+v];
wprev=_root.tfcore["preview_"+v];
trace("wprel: "+wprel+" wprev: "+wprev);
filesize = wprev.getBytesTotal();
loaded = wprev.getBytesLoaded();
wprel.visible=true;
trace("loaded:"+loaded);
trace("filesize:"+filesize);
if (loaded != filesize) {
wprel.bar._xscale=100*loaded/filesize;
wprel.preload_text.text=""+Math(100*loaded/filesize)+"%";
loaded = wprel.getBytesLoaded();
trace("### Loading "+Math(100*loaded/filesize)+"%");
else {
wprel.visible=false;
_global.limage[il]=2;
_global.loadCount-=1;
while (wprev._alpha<100) {
wprev._alpha += 10;
trace("##! Load ended");
Similar Messages
-
ADOBE CLOUD ON MY DESKTOP WILL NOT WORK. IT LOADS UP BUT NOTHING FILLS THE WINDOW
ADOBE CLOUD ON MY DESKTOP WILL NOT WORK. IT LOADS UP BUT NOTHING FILLS THE WINDOW
BLANK Cloud Screen http://forums.adobe.com/message/5484303 may help
-and step by step http://forums.adobe.com/thread/1440508?tstart=0
-and http://helpx.adobe.com/creative-cloud/kb/blank-white-screen-ccp.html -
HT5622 why after my verify apple id still not working my down load apps
why after m verify id stil not working my down load apps
Who knows?
Settings>iTunes and App Stores>Tap your ID and sign out. Reboot your iPad.
Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
Go back to the settings and sign back in again and see of it works now.
If it doesn't work, post back with some information that might help us help you. Describe what you are doing in some detail and it might let us better understand why this is happening. -
Preloader not working when image scroller present
Hi:
I designed a .fla that involves a large panoramic image that
I stitched together in PhotoShop, then imported into the library
and made into a movie clip, I then have the movie clip of the
panoramic load into an image scroller (the one in the components
library) on the main timeline so you get the sense you are panning
through the photo. Within the movie clip of the panoramic there are
buttons in it that then call other movie clips to load another
movie clip on top of the image scroller.
code attached to the buttons is:
on(release){
_root.attachMovie("myMovie", "screen",1);
_root.screen._x =10;
_root.screen._y =425;
My issue is the file is so large that I have made created a
preloader.
If I load the movie clip of the panoramic directly onto the
timeline the preloader works fine...
When I try to load the imagescroller that calls the movie
clip my preloader does not work at all...
Does anyone have any ideas?
I will gladly supply you with any code you may need.
Thank you
JanaleseThank you for your information. It worked great as far as...I
could build a preloader and have the movie show up on the screen as
I wanted. Now for problem number two that has developed...
The MovieClipLoader that calls external .swf file. This is a
movie that has an image scroll bar that calls a movie clip that
scrolls a panoramic photo. Within that movie clip of the panoramic
I have buttons that then call other movie clips from the library
using
on(release){
_root.attachMovie("myModelScroll", "screen",1);
_root.screen._x =10;
_root.screen._y =425;
This is an example of what I am doing
I have a panoramic shot that is in an image scroller, that
panoramic is of a group of buildings each building has a button
next to it. Those buttons then call up another movie clip from the
library using the attachMovie clip to show another mini movie clip
of what the building looks like inside, and what the purpose is.
Issue:
The buttons within the movie clip that is loaded into the
image scroller fail to work. If I just load the .swf files into the
browser it works just fine...
but the issue is I have a huge file with an image scroller so
I need a progress bar and a MovieClipLoader function.
How do I now get the other code attached to the buttons
within the movie clip that says attachMovieClip to work within the
context.
I am so baffelled as to why it won't work...
Here is the code to my preloader and movieClipLoader
My actionScript skills are very limited so any help is
greatly appreciated but needs to be supplied in simple language.
Thank you very much -
Flash Preloader Not Working with Local Files?
Hello all,
I have created a digital resumé using a Flash
presentation. The presentation links to several SWF files that are
rather large. I have designed and implemented preloaders for the
files.
My intent is to burn the whole product to CD for
distribution. The problem I am having is that my Flash preloaders
work perfectly in FireFox; I click the button in the main
presentation and the preloader comes up in the target screen,
followed by the SWF.
However, the preloaders do not work at all in IE, which
leaves a black pane with nothing in it and causes the user to click
the button several times trying to figure out why nothing is
happening.
The Flash presentation that is being displayed is embedded in
a HTML document. The user clicks a button to load a SWF to a
separate screen; the preloader runs until the file is loaded.
Any help you could provide is appreciated.I have attached the actionscript for the data connection. The
odd thing about this issue is some of the data is being displayed
from the webservice call and then some is not. The drop down list
is not being populated but I am getting some text in a textarea
that is on the form. My datasource is a SQL Server database and in
ColdFusion administrator, I used the actual machine name to point
to the datasource because it is directly linked to my web server.
This configuration is the one giving me problems. If I change the
datasource to my test SQL Server (server.somewhere.com) it works
fine. Does this help any? -
Captivate 7 preloader not working - with screen captures for clarity
Hi Community,
so I'm working in the Captivate 7 trial version, because the preloader for Captivate 6 isn't working for me. We have a ~48MB project with mp3's on almost every slide, flash videos, flash animations, quizzes and plenty of jpegs.
Before we publish the project we make sure we click everything that's needed, but because it's still not working I took screen shots of all the settings. Maybe I'm missing something, I would appreciate your help.
Thank you guys so much!!
NatI'm assuming here that your preloader animation is at least appearing when you are loading the file so that you KNOW it IS working.
Try setting your preloader progressively higher until you find the percentage at which the load times start INCREASING again. If you have a lot of videos in your project, setting the preloader at a very low value like 10% doesn't necessarily affect the load times that much because Captivate still has to load a certain amount of the total number of assets before it can start to play anyway. It could be that you have a whopping great event video right near the start of the project and that's what is causing the lengthy delay.
If your issue is still with the preloaders NOT appearing at all, then the only settings that would affect this are the ones on the Preferences > Project > Start and End > Preloader path and percentage. The path looks to be fine, but if preloader animations are not visible at all, try changing to a different preloader. Maybe only SOME of them work. The Default.swf preloader is usually reliable. -
Flash Preloader not working anymore
The final and most crucial part to completing a project I
have is the preloader. When I first developed this, the preloader
worked fine. a 1.7MB file later, it shows a blank screen, and then
the preloader shows 100% and the page loads.
I was given advice to have the movie clips not be exported to
the first frame, but have them elsewhere in the movie. Problem with
that is that they stop working if I do that.
Anyway, here's my code. Hopefully someone can figure out why
it's not appearing while it loads!
stop();
loadingBar._yscale = 1;
var loadingCall:Number = setInterval(preloadSite, 50);
function preloadSite():Void {
var siteLoaded:Number = _root.getBytesLoaded();
var siteTotal:Number = _root.getBytesTotal();
var percentage:Number = Math.round(siteLoaded/siteTotal*100);
loadingBottle._yscale = percentage;
percentClip.percentDisplay.text = percentage + "%";
percentClip._y = loadingBottle._y + loadingBottle._height;
bytesDisplay.text = "loaded " + siteLoaded + " of " +
siteTotal + " bytes";
if (siteLoaded >= siteTotal) {
clearInterval(loadingCall);
_root.gotoAndPlay("Movie", 1);
}This is normally a hardware issue. You should contact Apple and discuss what options you have. As one last effort, you could attempt to Restore the iPhone and set it up as a new device. If the problem continues after doing this, then it is most likely a hardware issue.
- Greg -
LoadVars Not Working in 9 but fine 8
I have a SWF that has a form and LoadVars.send() to send the
form info to the server. It works in 8 but does not work in 9.0r16.
The SWF is on the image server domain for several sites and
the SJP file that it sends to is on a different domain. I have a
crossdomain.xml in the file that the domain that recieves the forma
data.
Should the crossdomain.xml file be on the image server
instead?
If it is in the DOCROOT of that server do I still have t o
load it with System.security.loadPolicyFile?
Does that override what I put in
System.security.allowDomain("")?
Is my problem even cross domain related? since that should be
a problem in 8 as well and in 8 it works just fine.First thing - all webpages should have a doctype. Yours doesn't. Add one that is consistent with the code you have already used on the page (looks like HTML 4.01 Transitional). This will prevent browsers from rendering the page in quirks mode (a bad thing).
Second - don't use commas or spaces in file/pathnames:
background-image: url(images/Touring%20Sport%20-%20Sports%20Tours,%20Schools%20Tours%20and%20Corporate%20To urs.jpg);
Third - when you specify a font, do it as a family, not a single font. In your case, a computer that doesn't have Helvetica will default to Times New Roman, which is probably not what you intended:
.Contact_Header {
font-family: Helvetica;
Fourth - justified text is not very satisfactory on the web, and is harder to read than non-justified text:
.Main_Text {
font-family: Helvetica;
color: #666;
text-align: justify;
Finally, in addition to these things, wonky code is the cause of your problems. Here is the validation report for this page - there are many things there that need to be fixed -
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.gecodesigns.com%2Ftest%2Ftouringsport%2 Ffootball-tours.html&charset=%28detect+automatically%29&doctype=Inline&group=0&user-agent= W3C_Validator%2F1.2
Also, read this about the impact of using col- and rowspans the way you have in your layout tables -
http://www.apptools.com/rants/spans.php -
Preloader not working in Internet Explorer
Hi there friends
I'm pulling my hair out! I cannot get the preloader to work in IE. It works fine in firefox.
Here's the details
Preloader is set to 5% and is the default
Project is 66 slides in length, but I've had this problem with projects much smaller.
The resolution is 1014x713, big I know, but is an average 16. k/s according to the stats
Project has audio. All that audio is at least 0.1 second away from the start of the slide.
Internet Explorer insists on downloading the whole file before playing
I've seen this issue reported on the forums, but apart from the shifting of audio, I don't know of any fix.
Please Obi wan you're my only hope...Hi there
Your mention of "Surely someone in support must have heard about this?" seems to infer that you feel these forums are staffed by Adobe support personnel?
Sorry, but that's not the case. It's user-to-user support. Once in a while we see one of the Captivate developers pop in, but you cannot and should not count on it.
See if the link posted below helps any.
Click here to view
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
Preloader not working !!!
Hi All,
I used 2 preloaders code, but both are not working !!!, what problem with this code ?
script 1
stop();
this.addEventListener(Event.ENTER_FRAME, loading);
function loading(e:Event):void
var total:Number = this.stage.loaderInfo.bytesTotal;
var loaded:Number = this.stage.loaderInfo.bytesLoaded;
loader.kolam.loadTxt.text = Math.floor((loaded/total)*100);
if (total == loaded)
this.removeEventListener(Event.ENTER_FRAME, loading);
loader.nextFrame()
script 2
var preLoaderPercent:Number;
this.loaderInfo.addEventListener(Event.COMPLETE, loadComplete);
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, loadProgress);
function loadComplete(e:Event)
this.loaderInfo.removeEventListener(Event.COMPLETE, loadComplete);
this.loaderInfo.removeEventListener(ProgressEvent.PROGRESS, loadProgress);
loader.nextFrame();
function loadProgress(e:ProgressEvent):void
preLoaderPercent = e.bytesLoaded / e.bytesTotal;
loader.kolam.loadTxt.text = preLoaderPercent;You could say as3 is fixed for expected behavior. Why should an ENTER_FRAME event fire off before the document is even loaded?
A preloader is always a good idea. Give it a try. Being there's no more as2 nonsense about using _root to gain access to movieclips and code, a preloader won't screw up your code anymore by being what we used to think of as "_root".
Try building the stub as I mentioned and use the Loader class to load that SWF. Here's a tutorial.
e.g.
import flash.display.Loader;
import flash.net.URLRequest;
import flash.events.Event;
import flash.events.IOErrorEvent;
import flash.events.ProgressEvent;
// init a new loader
var preload:Loader = new Loader();
// listen for loading complete
preload.contentLoaderInfo.addEventListener(Event.COMPLETE, preloadCompleteHandler);
// listen for errors
preload.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, preloadErrorHandler);
// listen for progress!
preload.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, preloadProgressHandler);
// load my content
preload.load(new URLRequest("myContent.swf"));
// handlers
// handle complete
function preloadCompleteHandler(e:Event):void
// load complete! add to display list, remove preloader visuals, etc
addChild(preload); // a loader is a display object, you can add it directly
// handle error
function preloadErrorHandler(e:IOErrorEvent):void
// do what you wish if there is an error loading the SWF
trace(e);
// progress handler
function preloadProgressHandler(e:ProgressEvent):void
// display the progress in some way
var bytesLoaded:int = e.bytesLoaded; // current bytes loaded
var bytesTotal:int = e.bytesTotal; // total bytes to load
// now do what you want, like ver a percent loaded
var percent:Number = bytesLoaded / bytesTotal * 100;
trace(percent + " loaded"); -
Preloader not working in AS3 when viewing in a browser
Hi there, It's me again Ysong.
I have a problem regarding PRELOADING.
MY TIMELINE:
• First frame -- dynamic text which is my preloader with AS3 in it. NO MORE OBJECT in the frame only text which is dynamic.
stop();
loaderInfo.addEventListener(ProgressEvent.PROGRESS, updatePreloader);
function updatePreloader(evtObj:ProgressEvent):void
var percent:Number = Math.floor((evtObj.bytesLoaded*100)/evtObj.bytesTotal);
myLoadText.text = "Loading..." + percent+"%";
if (percent==100){
nextFrame();
• Second frame -- the whole site in MOVIE CLIP which will be loaded after the preloading ends.
***The whole SWF file is only 600KB when publishing.
***When simulating download the preloader is working.
MY PROBLEM:
Whenever I uploaded these two files: (1) index.swf and (2) index.html, the preloader doesn't work. When viewed in browser it apprears to be white screen. After a couple of minutes, the index.swf appears and the preloader is not appearing as it should be. With (2), I didn't change anything on Dreamweaver just upload the file published by Flash Professional CS4.
WHAT IS THE PROBLEM? Can anyone help me with this. I've uploaded (PUT) the files through Dreamweaver with a testing server configured.
Thank you & Regards,
YSONGhi Ned,
I currently downloading the tutorial link you posted.
Do you have any idea what is really happening? Because I really wanted to have a loading text only before the whole site is loaded. The SIMULATED DOWNLOAD in Flash CS4 is working great but whenever copy it in my hosting server and view it in my browser the preloader is not working.
Thank you for your immediate response.
Regards,
YSONG -
Captivate 6 preloader not working
I have the preloader in Captivate 6 set to 10%. The original Adobe loading screen appears for 10%, but then a "Loading" screen just appears until the entire project is loaded. It takes the same amount of time as when the preloader is set to 100%. The only difference is which "load" screen I'm looking at. Is there a fix?
My associate and I are having the same issues any help would be appreciated. We are using Cap 6.0.1.240 64bit Windows 7 machines. In our project we have mp3 audio files. We also 3 flv files streaming from our Flash server. We also have question slides but are not utilizing a question pool. We also have a certificate widget at the end of the project. We are linking to our content server through Moodle 2.4. Or swf file is approx 38megs. We were experiencing significant load times on several different networks with large bandwidth. We have tried the following:
- preloader AS3 at 10%
- reduced the file size significantly (from 138M to 38M)
- set slides to JPEG
- made all audio files MP3s
- off set the audio on slides to begin at .1
- removed the quiz slides from the project
- removed the video links from the project
And still our load times hover around 18 to 25 seconds with each test and the preloader does not work. Do you have any suggestions that will help? Is this addressed in ver 7?
Thank you,
VJ -
Decode Not working in sql loader
I had a requirement of loading flatfile into staging table using SQL Loader, One of the columns in the the Flat file is having values FALSE or TRUE and my requirement is that I load 0 for FALSE and 1 for TRUE which can be achieved by simple DECODE function...I did use decode and tried to load several times but did not work. What might be the problem
LOAD DATA
INFILE 'sql_4ODS.txt'
BADFILE 'SQL_4ODS.badtxt'
APPEND
INTO TABLE members
FIELDS TERMINATED BY "|"
( Person_ID,
FNAME,
LNAME,
Contact,
status "decode(:status, 'TRUE', '1','FALSE','0')"
I did try putting a trim as well as SUBSTR but did not work....the cloumn just doent get any values in the output (just null or say free space)
Any help would be great.....Hello user8937215.
Please provide a create table statement and a sample of data file contents. I would expect DECODE or CASE to work based on the information provided.
Cheers,
Luke
Please mark the answer as helpful or answered if it is so. If not, provide additional details.
Always try to provide create table and insert table statements to help the forum members help you better. -
Preloader not working in IE.
I created a preloader for an external swf. It works just fine
in Firefox but when i tried to view it in IE the progress bar
doesnt move at all. I need help to know why this isnt working, or
at least an alternative way of doing a preloader that works in IE.
Here is the site that the preloader is on
http://www.geentertainment.com
Oh yea, this worked fine when i tested it locally, but when i
uploaded it thats when it just didnt want to do anything in
IE.you probably need a cross-domain policy file.
-
Jquery Loading Image not working at Page Load
Hi,
I developed a page using Jquery, want to load an image at the page load. I am using .show() and .hide() functions, but it is not working. I am using "async;false" in all my SPServices. Can i load the image without setting "async: true"?
shanthanHi,
According to your post, my understanding is that you had an issue about the JQuery loading image.
I think the issue is related to the browser. Did you use the IE 8?
The hide() and show() method not work in IE 8.
http://social.technet.microsoft.com/Forums/en-US/a8e17024-bea3-4cb7-8283-bcbcf8955e18/jquery-loading-image-issue?forum=sharepointgeneralprevious
http://stackoverflow.com/questions/21876416/show-hide-not-working-in-ie8-jquery
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support
Maybe you are looking for
-
Is it possible to return a HP printer that I did not order from HP?
Back story: Ordered an HP Officejet 6500 E709n wireless all-in-one from an online retailer. It wouldn't connect wirelessy and after trying to instal it 3 times the printer itself "locked up" and none of the buttons would work --including power. So, I
-
Before I upgraded to Firefox 4, the back button (as it is in every other browser under the sun,) had a dropdown so you could skip one tier of going back and drop back multiple levels. This is especially important when there is a site redirecting you
-
I am trying to print without any luck. It says plug-in failure. Is that the reason and if so, what do I need to do to print? It has always printed before.
-
Finite Measure with 2 boards 6602 and 6 DMA Channel Counter Buffered - error 200141
Hi all, First .. I'm a beginner with LabView and I hope to explane myself in good way cause I'm italian.. I red all the post about the error 200141 and check the suggested solutions (also the way to ignore the error), but I want try to ask for a diff
-
How to maintan and Delete Languages for Sales Group?
Dear all, How can we maintain Language for Sales Group? My end user requirement is He want's to maintain Text language and description for sales group in Spanish language only. But System is showing default language English. How can we maintain