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.
Similar Messages
-
Loader component not scaling content
I am using a loader component to load an external swf into
main movie. As swf plays, content that should be off stage is
showing outside the box of the loader. Scale content is set to true
and swf is sized down, but will not stay within loader.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. -
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 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. -
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. -
Dreamweaver embedded flash content will not load in IE7
My company standard is IE7
I'm charged with developing flv that will auto play on PC from a removable thumb drive.
in addition it should be able to launch a url.
I'm using CS4 Flash and Dreamweaver
developing on a Mac.
I've used action script 3 to program buttons that start, stop and launch url
I've worked everything out on a Mac.it works fine in Mac environment.
I've gotten swf files to autoplay on PC
the PROBLEM?
when I try load the html web page on the PC with IE7 the flash content (either a swf or flv embedded using Dreamweaver) does not load.
IF I leave the IE specific html in the code IE7 returns a message that flash player needs to update. - IT has installed the latest version of flash player.
if I extract the sniffer/alternative code the flash content does not load there is no message
If the swf file auto loads and plays then Why is that a problem?
action script - to launch url execution launches as a security warning and the trusted settings window
not very seamless eh?
so the alternative is to play the flash content embedded in html and create launch url button in html . . . but ofcourse flash content won't load in IE7.
I've not been able to test the code on any other version of IE
I hope this is enough information to help if not let me know what you need to know . . .
thanks in advance for any time you all spend on this.
MSo right now you have a SWF file that plays and FLV file and it's not loading in IE7. Is the testing server that you are using NOT on your local machine? The reason I ask this is because IE will typically block content if it is hosted on the local machine and treat it as a security risk, prompting the message you refer to.
Also would it be possible for us to see the code you are using for the plugin? Most users here will be able to help troubleshoot any issues with the HTML code if we can see it, however, there is a possibility that the fix may be in Flash, in which case you should cross-post this in the Flash forum as well for assistance just in case. -
Flash content will not load in IE7
My company standard is IE7
I'm charged with developing flv that will auto play on PC from a removable thumb drive.
in addition it should be able to launch a url.
I'm using CS4 Flash and Dreamweaver
developing on a Mac.
I've used action script 3 to program buttons that start, stop and launch url
I've worked everything out on a Mac.it works fine in Mac environment.
I've gotten swf files to autoplay on PC
the PROBLEM?
when I try load the html web page on the PC with IE7 the flash content (either a swf or flv embedded using Dreamweaver) does not load.
IF I leave the IE specific html in the code IE7 returns a message that flash player needs to update. - IT has installed the latest version of flash player.
if I extract the sniffer/alternative code the flash content does not load there is no message
If the swf file auto loads and plays then Why is that a problem?
action script - to launch url execution launches as a security warning and the trusted settings window
not very seamless eh?
so the alternative is to play the flash content embedded in html and create launch url button in html . . . but ofcourse flash content won't load in IE7.
I've not been able to test the code on any other version of IE
I hope this is enough information to help if not let me know what you need to know . . .
thanks in advance for any time you all spend on this.
M
To the moderator I apologize for an earlier "test" post I was unaware nay ignorant of a test forum . . .I am having the very same problem and have done exactly the same... generated my html through flash professional CS5. It works great in IE8 but is just a blank page in IE7. You did not post the solution, did you find one?
My flash generated code is here http://www.asessippi.com/test/calendar.html will all of the supporting files in the same folder, and nothing else in there.
Any suggestions? -
Center content in loader component
Hi,
I'm trying to use the movie class loader component to set up
a photo gallery.
I want to center all of the images, but they are staying to
the top left.
Any suggestions?
Thanks!cannot see any way to edit or delete posts so im going to have to add another one on to the end....
The insertComponent(component) method does not work. it simply adds nothing to the JTextPane. i looked at some other psots that suggested setting the text pane to editable, then adding then setting back to uneditable but that didnt work. i have a class that extends JFrame which calls the construction of the JTextPane
the JTextPane runs through a html file rendering itself as it goes, but when it gets to the image and calls the method insertComponent(image) it just doesnt show up in the JTextPane whe nthe JFrame finally opens up.
If i use the method add it shows up fine, just not centered where it should be. Any ideas? -
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 -
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 loading swf bigger as it is?
Im loading second.swf in main swf using a loader component,
second swf is has a stage size of 800*85, i load it in a
component with the same size, and scaleContent = true
This goes wrong, after investigating second.swf it actualy
has a stage size but some components on the size like a textfield
goes beyond the stage (which is necesarry to be able to load enough
text in it (it starts scrolling then to be visible on stage), when
i test second.swf, i get a 800*85 swf.
But when i include it in an other swf and autoscale it, it
seems like flas includes the objects outside the stage from
second.swf to do the scaling.
Ideas to avoid this fenomenon ?the loaded swf will include objects that are off-stage. it
wouldn't be satisfactory if those objects were "omitted".
if you want second.swf to appear the same in main.swf,
main.swf will need to have the same stage size as second.swf or
you'll need to mask second.swf's target to make it appear the
same. -
Weblogic: load balancing and RAC contention
I cannot locate any useful documentation on this: I am trying to find the optimal configuration to allow an Weblogic Application server to load balance to RAC.
I see high numbers of v$sqlstats.clwait_delta for sessions connected from weblogic servers; typically from 25-95% over the overall statement execution time.
Configuration is a three node RAC 10.2.0.4 on Linux; with and eight node weblogic cluster connected using about 150 sessions (equally divided between the rac nodes), hosting a number of applications. They use "Least Connections" load balancing which means any thread(/connection) could be used next. The weblogic sessions connect to a RAC service that is configured with LOAD_BALANCE=YES.
I suspect that contention is caused by behaviour such as
- insert on one node, then immediately query back on another node
- inserts to indexed tables being distributed across all three nodes.
There is too much going on here, and I want to simplify the configuration to eliminate contention for the same data blocks across nodes - this will likely mean new database services configured with LOAD_BALANCE=NO and some form of application partitioning on the weblogic servers. There are other load balancing schemes available for weblogic; but none seem designed to work well with rac.
Is there any best practice documentation available to configure weblogic on RAC (as opposed to single-instance, which doesnt have any such contention issues).
Any pointers appreciated!
Rgds
Mark Teehan
SingaporeHi,
see these 2 whitepapers:
http://www.oracle.com/technetwork/database/enterprise-edition/twpracwkldmgmt-132994.pdf
http://www.oracle.com/technetwork/database/enterprise-edition/bestpracticesforxaandrac-128676.pdf
they should provide you with enough information on what to do.
Regards
Sebastian -
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.
-
Window Component with Loader Component
I have the SWF loading into a shell using a Loader component.
Within one swf is a trigger for a window - which ,suprise suprise,
doesn't work. It works fine if I access the swf directly just not
when loaded through the shell. I have added the component to the
shell fla and then although a window component loads up, the
content (which is linked in the library) is not found. Anyone come
across this before?There is a discussion of modules and popups on my blog
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui -
Load certain Panel/Tab Content over php Script after Sendmail
Hello Community,
I am looking for a solution to load a special SpryTab
Content, when I start a script (mailform = post) in the tab
included with "php include". When I send the message, the Browser
returns to the startpage and to the first Panel. How can I tell the
browser to to oben the Tab Number X by clicking on the "post"
button...
Thank you very much for your replies
best regards
FabianTony,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
- Check all of the other support tools and options available at
http://support.novell.com.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://support.novell.com/forums)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://support.novell.com/forums/faq_general.html
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/
Maybe you are looking for
-
How do I use the money on my iTunes account instead of the credit card on family share
I have money on my iTunes account from a gift card, but how do I use that money instead of the credit card on the family share account. Every time I try to make a purchase asked for the security code for the credit card instead of just using the mone
-
Can I order a Custom iMac??
Hello Best Buy'ers :-) So the title says it all. Can I order a custom iMac in store? I really LOVE the 27" iMac but like the Apple website they offer the "Build to Order" Option. Basically I wanna keep the iMac simple, two things I want to option are
-
How to call html page with in the flash
I am new to action script, can some one guide me how to call html page with in the flash. lets say i have movie clip having instance name as "news_feed", I need to disply the html page in this news_feed. kindly help me, thanks alot
-
I have a question concerning the PVA method used in the comma application. The following code given below is listed under the Translate routine in the Rules for Comma application. HS.Trans "C4#ForeignExchange", "C4#ClosingBalance", "A#ClosingRate", "
-
My photoshop CS3 doesn't recognize raw files anymore.
I have an iMac G5 with Photoshop CS3 installed on it. I decided to install on this iMac my husband's French version of Adobe Creative Suite Design Premium CS3. It turned my Photoshop CS3 (English) to Photoshop Extended CS3 in French. I tried reinstal