LOADER COMPONENT ISSUE
I noticed that when using the Loader component in Flash 8 -
the following issue:
I have a thumbnail gallery that uses the Loader component to
view the large image.
when i view the site in fire fox it works perfectly (scaling
the content and centering it within the loader component shape)
but when i view it in IE - no scaling or centering occurs!!??
any idea why this is happening and how i can rectify
it?
Hey why don't you try adjusting the permissions and hot
linking protection on your servers control panel? This might be the
problem.
Similar Messages
-
Loader Component IE7 Scaling Content Issue
Hello,
I have an image gallery that is using Loader components to
pull in the thumbnails and i have the scaling set to true, but in
IE7 it is very inconsistent in scaling... IE6 and Mozilla work
great, but IE7 is inconsistent... click on the top left to view
image galleries, then select Family or Weddings and you can see
what i mean..
http://www.gummyinteractive.com/projects/infinite/
thanks in advance!Yes, because of the size of the stage being larger than that
of the Loader and loaded SWF, you will see it rendered 'outside'
the Loader component.
Simply mask the area of the Loader Component, in the loading
SWF. -
Hey guys...
I'm back. I am still working on this site, and have worked
through numerous challanges and gotten through, but I have now hit
a roadblock that I cant seem to conquer... Here is the
situation....I have a “main” file.... I am using the
technique of loading external swf’s into a loader component
on the main file. So each individual page is a different swf file.
I have the navigation set up in a seperate swf file as well, and
have the nav bar loading into another instance of the loader in the
“main” file. The navigation has its own action
scripting that animates it, and I have written action script so
that when you click the buttons (I have attached the code that I
wrote for the buttons), the other loader on the main page should
load the corresponding swf... (still with me?) well I preview the
“main” page and it runs great and the home.swf
automatically loads and the nav loads (and animates), but when you
click the buttons nothing happens... I hope someone can help me
through this problem.... Thanks so much in advance...........Doesnt anyone know how to help me with this issue?
Best,
Ken -
Loader component not displaying content
I had this issue on a few different projects and have not
been able to find a solution:
When loading an image with the loader component, the image
only displays about half the time even though the complete event is
received. I sometimes see a quick flicker of the image.
I have tried both calling invalidate() and resizing after
loading has completed, but does not help.i had a similar issue with that, what i did was create a
class.
this class was linked to a movie clip, and whenever i'd need
an image loaded, i'd simply attach this movie.
as for resizing and positioning of the image, i also did a
code in my enterframe that always made the image centered with a
max size and height of 100, that way it was always proportionate
and i could simply control the size by controlling the xscale and
yscale of the image movie clip.
hope this helps
class image extends MovieClip {
function image() {}
function loadImage(sPath){
this.createEmptyMovieClip("mContent", 0);
// you can also attach a loader there
this["mContent"].loadMovie(sPath);
this.onEnterFrame = function () {
if(this["mContent"].getBytesLoaded() ==
this["mContent"].getBytesTotal()) {
//remove the loader
this["mContent"]._visible = true;
} else {
// update the loader
this["mContent"]._visible = false;
} -
I'm not too sure I want to troubleshoot anymore when it comes
to the Loader component and IE7, but I wanted to check if anyone
has anything new on the matter. All searches concerning this issue
show unanswered posts, so I guess it's just another bug/conflict
that Adobe isn't concerned about or if the issue is just with IE7.
The main issue is when loading images into the loader component,
scaleContent set to default (true), autoLoad set to default (true),
when images are loaded, they are not always aligned properly in the
center. Plus, most of the time I see a flicker of the image
appearing either on the top left or bottom left of the loader
before the image appears as it should. I've even tried AS2 to
center the loader.content._x and loader.content._y on
listener.complete (see code), but randomly the loaded image's (0,0)
position seems to be in the center of the loader (I was going to
provide a screen shot of what I'm talking about, but I think the
explanation is clear). All the above works great on Firefox, Opera,
Safari, and even the crappy AOL browser, but not consistently on
IE7.
Is this a known issue or an unsolved bug?
Unless anyone has an answer to the above, I would like to
also ask around about purchasing loader components online. I've
seen several, but wanted some testimonials from people who have
used them.
If anyone wants to visually see what I'm talking about, go to
Design Visions of
Austin and click "on the boards". If you compare the website
using Firefox versus IE7, you will see what I mean.
Thanks to anyone who can help. I hope this post doesn't go
unanswered. In the past, I've helped a lot of people, so I would
appreciate if someone could help me for once :) thanks again...
I just realized... two variables I mentioned in my code were
assigned prior to the attached code.
var cpLoader:mx.controls.Loader;
var cpLoaderWidth:Number = cpLoader.width;
var cpLoaderHeight:Number = cpLoader.height;The flicker happens on both FF2 and IE7, and is because you
are positioning after the load is complete. To solve this, set the
visibility of the Loader to false (cPLoader._visible = false;)
before moving the content, and to true after. IE (you could try it
this way, but it might not work)
cpLoaderListener.complete = function(evt_obj:Object) {
mcPreloaderClip._visible = cpLoader._visible = false;
var cpLoaderContentWidth:Number = cpLoader.content._width;
var cpLoaderContentHeight:Number = cpLoader.content._height;
cpLoader.content._x = (cpLoaderWidth - cpLoaderContentWidth)
/ 2;
cpLoader.content._y = (cpLoaderHeight -
cpLoaderContentHeight) / 2;
cpLoader._visible = true;
It would be better to set cpLoader._visible = false on the
button click that loads the image, maybe with an automatic fade out
implemented to make it smoother. Then setting it back to true after
moving it fixes the flicker effect.
As for the centering not working in IE7. The very first image
does not center properly in IE7, but after that everything works
identical to FF. I am unsure how to fix that issue. I have always
implemented a centering script myself to ensure that things get
centered properly, and have not yet had any problems with it. -
UI Loader Component causing delay in preloader
Hi All-
I would really appreciate if you could help me with this
issue.
I have a preloader in the first scene. In the next scene is
my main movie, in which I have a UI Loader Component. I've
unchecked "export in first frame" in the linkage options for the UI
loader, but "export for Action Script" is still checked.
The problem is, when I do a "simulate download" my preloader
will not show on screen until it's about 15% loaded already. I'm
assuming this is because the "export for Action Script" for the UI
loader is still on, but the loader obviously won't work without
that option checked...
Is there any way to fix this??
I'm still new to Flash so please bear with me...Thnx for the response Ned, I did do that. First inside of flash with control>test movie. The file worked so I brought onto the DW page and tested in Firefox. Didnt work.
-
Engage upgrade failed - could not load component library
Can anyone help with this......
I had Xcelsius 4.5 Pro and have bought the download to upgrade to Engage. I couldn't get it to install to begin with so I did the fix with Regedit and permissions. This allowed me to install the software but, on opening, I get the message "Could not load component library" I have tried uninstalling and re-installing the software - this didn't work. I also downloaded and installed Service Pack 1 to see if that would fix it, but I am still getting the same message. Grateful for any help with this problem please.
Thanks,
Ronnie
Edited by: Ronnie Leishman on Sep 5, 2008 10:22 AMThe cause of the error sounds like it is being thrown from the communcation between Xcelsius 2008 and the Canvas itself.
To further debug the issue, I'd suggest installing the debugger version of Flash Player. If there is a problem there, then this should expose it.
Uninstall Flash:
http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player.exe
Install Flash Debug Player:
http://download.macromedia.com/pub/flashplayer/updaters/9/flashplayer_9_ax_debug.exe
Note: make sure to re-install the regular Flash Player after troubleshooting.
Please post the message that the debugger displays if one so happens to occur.
Thanks,
-david -
Cannot load component class className from project: ProjectName
Hi guys,
I've a strange issue.
I found some solutions on google and on this forum, but they doesn't work for me.
I've a javafx application in netbeans in which I also use swing controls.
I created a custom jlabel control
public class Label extends JLabel {
public Label()
private void setAspect(String csFontName, int nSizeFont, boolean bold,Color cColor)
int style=bold ? Font.BOLD : Font.PLAIN;
this.setFont(new Font(csFontName,style,nSizeFont));
this.setForeground(cColor);
public Label(String csText)
super(csText);
setAspect("Tahoma",10,false,Color.black);
public Label(String csText, int nSize)
super(csText);
setAspect("Tahoma",nSize,false,Color.black);
public Label(String csText, int nSize, boolean bold)
super(csText);
setAspect("Tahoma",10,bold,Color.black);
public Label(String csText, int nSize, boolean bold, Color cColor)
super(csText);
setAspect("Tahoma",10,bold,Color.black);
}I selected Label.java file in the project and I click on Tools->add to palette and I selected Swing controls as family.
I restarted netbeans and I found it in the palette.
I try to drag it into my swing form and I've :
Cannot load component class <ProjectName>.Label from project: D:\Progetti\<ProjectName>.
The class must be compiled and must be on the classpath of the project to which this form belongs.Following forums I went on netbeans log
org.openide.ErrorManager$AnnException: msg
at org.openide.ErrorManager$AnnException.findOrCreate(ErrorManager.java:870)
at org.openide.ErrorManager$DelegatingErrorManager.annotate(ErrorManager.java:653)
Caused by: java.lang.ClassNotFoundException: <ProjectName>.Label
at org.netbeans.modules.form.project.ProjectClassLoader.findClass(ProjectClassLoader.java:178)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.netbeans.modules.form.project.FormClassLoader.findClass(FormClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.netbeans.modules.form.project.ClassPathUtils.loadClass(ClassPathUtils.java:98)
at org.netbeans.modules.form.MetaComponentCreator.prepareClass0(MetaComponentCreator.java:1322)
... 34 more
msg
Cannot load component class ortholab2.Label from project: D:\Progetti\<ProjectName>.
The class must be compiled and must be on the classpath of the project to which this form belongs.I hope someone can help me ,
ThanksThat sounds more like a NetBeans-specific question, not a general java programming question.
Plus, your desciption is inconsistent:
Cannot load component class <ProjectName>.Label from project: D:\Progetti\<ProjectName>.
Cannot load component class ortholab2.Label from project: D:\Progetti\<ProjectName>What is the fully-qualified name of this class: ortholab2.Label ? ortholab2 being both the package name and the project name?
And where do you use it, in the same project or in yet another NetBeans project? -
Firmware update for HP OfficeJet Pro 8000 wireless to fix load paper issue - as for the 8500?
Is there any hope that that soon will be a firmware update to fix the issues loading paper and the printheads for the HP OfficeJet Pro 8000 wireless printer?
A month or two ago there came a firmware update to the HP OfficeJet Pro 8500 wireless, which has some of the same issues,
and allegedly should have the much of the same load-mechanism as the 8000 printer.
It would be great, as we are on the fourth (4) replacement of this HP 8000 printer. For example, it would be great if we could use normal (80g) paper and not has to use (HP) 90g paper, as this prevents us from using the duplexer and only print on one side.Thanks for the advice to contact HP tech support!
I have tried in multiple ways since November 2009 to contact HP, when I got the first (of 4) printers. The first 3 printers was subsequently replaced.
Finally in late June 2010 I got the message that there was coming an firmware update for Windows, but not for Mac's. The firmware should improve among other things the paper pick up (load paper issue) and the print-heads life.
I have applied the Windows firmware on the printer from a pc, but still seems to have load-paper issues, even using HP Bright White paper, when printing from Mac's. I have not tested the printing from a pc, but assumes that a firmware upgrade the printer, and are not specific to a certain OS. -
AS 2.0 Loader component question
I have a site that has a gallery with 40 images, takes a long
time to load so I need to find the best way to correct. The files
that load manually now are movieclips that play in 10 second frames
in their own timeline with an alpha effect on each all the jpgs and
other files are in the main fla which is huge because of this. I
was going to use the loader component but I see you can only use
for .jpgs and I can't put the effect on jpgs, other obvious way is
using loadMovie but then I have to convert all mc's to separate
swfs. Before I go that route is there another way to do this?
rderfI have a site that has a gallery with 40 images, takes a long
time to load so I need to find the best way to correct. The files
that load manually now are movieclips that play in 10 second frames
in their own timeline with an alpha effect on each all the jpgs and
other files are in the main fla which is huge because of this. I
was going to use the loader component but I see you can only use
for .jpgs and I can't put the effect on jpgs, other obvious way is
using loadMovie but then I have to convert all mc's to separate
swfs. Before I go that route is there another way to do this?
rderf -
Load external jpgs.. to a loader component to transition
I need to load external
images to a loader component, in the main scene, than change
automatically after 2 seconds in a fade transition,,, please help.JamesHammerstein wrote:
> Dear All - Can anyone help?
>
> I have created a spry gallery page with a dropdown to a
number of different
> categories...
>
>
http://aster.rhul.ac.uk/STAR/galleries/gallery_prototype.php
>
> I want to be able to add links on another page that will
automatically load a
> particular gallery from this page, i.e. select a
particular category to be
> displayed from a link on another page.
Try asking your question in the Spry forum where you'll get a
more focused group of viewers for your question :
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72&catid=602
Danilo Celic
|
http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert -
Making a Jpeg gallery with the Loader component...
I'm trying to make a gallery using many loader component
thumbnail photos that present their larger image in a different
(loader component) box when rolling over with my cursor...Is this
right? Is there an easier way I can do this?
If I can do it this way easily, I'd like to. PLEASE, if
anybody has the answer let me know, thank you.This sounds right. The nice thing is that you can replicate
the loader component and give it various instance names and just
point each one to its photo in your ActionScript.
I did something similar here:
http://sarajoypond.com/portfolio -
ContentPath not working in a loop for a Loader component
i'm trying to load pics into a loader in my movieclip, i'm
looping through about 20 items, to be placed in a movieclips
dynamically attached...
this does not work...
mcContainer['node'+nCount].pic.contentPath=myimagepath;
this does work...
mcContainer['node'+nCount].pic.loadMovie(myimagepath);
but it does not come in scaled / sized like I want...
any reason why the images do not appear in the loader
component in the movieclip? it's like the screen is not being
refreshed or the loader never finishes, when I trace the
contentPath after the fact it says the right path, but no image is
there.contentPah is used to specify linkageID's only, and will not
work for a URL. you correctly used the load method to get the
picture in there, now you just have to scale it. if you set the
loader's scaleContent to true, your image will scale to the
loader's size, and vice versa if you set the property to false. if
you need to do some custom scaling based on the size of the image,
you can grab those properties like so:
myLoader.content._width
not that the above property, and any scaling commands, will
only work after the loader finishes loading, so you'll need to put
that stuff in an event handler for the loader.complete event...
hope that helps -
White box under Loader Component
I am using the Loader Component to load my images as they are
viewed in my file.
Most of my images are ok, but some have a white box
underneath of them.
I'll have an image that is like 300 pixels wide and 100 tall,
but it looks like a 100 wide by 200 tall white box is behind the
image. It does this with random images using the Loader COmponent.
any ideas what is up or how to fix it?weird solution. i copied all of my keyframes into a new
document and when testing the movie the box problem does not
appear.
is flash got bugs? -
Loader Component in screens/app piece
I have an e-learning shell set up using the apps template. I
have several screens that have external swfs loading into the
loader component. With the auto load on the component the swfs all
automatically play upon load of the the app. If set to ffalse no
load upon the app loading. I do not want them to load when the app
loads only when you would move to the particular screen they are
on. I can put a play and stop button in the external swf but I
would rather that they play automatically when the user navigates
to the screen they are sitting on. Any ideas on actionscript to
control this?
Thanks!I don't understand your explanation.
Is the SWFLoader loading a full SWF or an embedded symbol? What is an invisible mode and how do you know it is in that mode?
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui
Maybe you are looking for
-
Dunning Letter Generate program Isues
Hi All We are Running Dunning Letter Generate for Dunning letter set (SIS_1GER) for 2 dates (20-Jul-2011, 15-Aug-2011) for Staged Dunning In Dunning Letter Print from Dunning Letter Generate output we are not getting same customers Would like to know
-
I cant install itunes 11 for Windows 7, application fails because MSVCR80.dill is missing from my computer
-
I follow all the steps as listed on the screen, but when I get it set it reverts back to actual size. Had no problem on an older model, but no success on this one. Thanks This question was solved. View Solution.
-
Location of photos kind of wierd
Had some problems with my computer...hard drive issues. Took it in to an authorized Mac repair place. They fixed my problem. They did say they had to do something, which I can't remember, to save my 10,000 photos. Shortly thereafter, I installed Leop
-
How do you add repetitive event a few days per week
I want to add a weekly event from monday to friday except on wedneday. How can I do that? thanks in advance