Applying filter to images loaded with movieClipLoader
Hello,
I am building a product gallery and have a number of rather
large bitmap images that I am loading with movieClipLoader. I need
to apply drop shadow filters to them when they are loaded. I have
tried several methods of going about this without success. One
method was putting the loaded images into a movie clip with
createEmptyMovieClip, and then applying the filter dynamically, but
I couldn't seem to get it to work- the filter never appeared. I
then tried applying the filter to the bitmap itself with
bitMapData, but because I was not loading the bitmaps using
bitMapData itself (I think) I wasn't able to get that method to
work either.
Does anyone have a suggestion or a recommendation for me?
Thanks very much for any advice.
Were you doing it after the onLoadInit event in the
MovieClipLoader's listener?
Try doing it that way if you haven't. One option I use for
dynamic image loading is to create and empty holder clip - use that
for placement and create another empty clip inside that one that I
use as the loading target... I think this should work if you set
the filter at the level of the first 'empty' clip. I had to use
this approach a number of times because I was using a tweening
engine based on movieclip prototype extensions (old hat I know) and
loading new images kicked out the extended functionality from the
clip the images are loaded into. That doesn't happen to the clip's
parent... hence I think it might work also for what you want to do.
Another thing to watch for is that you can't do bitmapData
copies of images from a different domain unless you have
crossdomain policy support - you can set it up so this works. I'm
not sure if this affects filters though.
-GWD
Similar Messages
-
Dynamic image load with MovieClipLoader
I'm trying to load five images from five URLs. If I use the
documentation exactly as is, it works fine. Problem is, I don't
want to createEmptyMovieClip, I want to use an existing one that's
tucked inside a movie instance. Also, the images coming in are of
unknown size, but have a standard 4:3 size ratio. I'd also like to
scale them down to 180x120 after they arrive. Any help would be
greatly appreciated.
The code below only loads one image (which isn't working). I
will eventually need it to load five different images.Dynamic text that doesn't have embedded fonts won't respond
to tweening, alpha, etc. So you need to embed the font(s). There
are a couple of ways to do this depending upon what you are doing.
But most likely you can just select the text field and click the
font button on the properties panel and select embed. Also I would
recommend that you use _visible=false instead of alpha for this
effect.
I'm not sure what the second go-round is. Can you explain
that a bit better? You should be able to use the same loader, so
I'm not quite sure what is going on. Again, look for some helpful
places to put some traces and see if you can figure out what is
going on. Remember that generally Flash does what we tell it, not
what we want! So if you can find the places where you are telling
it to do things you can figure out what is happening.
Also I'm not clear on what is going on with the variables and
text. Generally I would recommend against using the variable
property of text fields. That is a leftover from the Flash 5 days
when you couldn't work directly with dynamic text fields. Instead
give the fields instance names and then assign the text with the
text property.
myTextField.text="some value in here";
myTextField2.text=someStringVariable; -
Interface frozen with images loaded with Loader()
Hi all,
I am trying to create a web app that allows the user to load an image from a local folder and process it with some image processing. I was able to do that with FileReference and Loader.
I am using an asynchronous shader to process the image and it seems that when the image is loaded locally the interface is locked out for a second or so before showing the result. However, if the image is embedded this does not happen and the image is updated instantly with the result.
I don't really understand why an image loaded with a loader has this lag and an embadded image does not... Can anyone help?
Thanks.Everything was already done
100 fullduplex autoneg to false :
# for i in `ndd /dev/hme \? | grep "read and write" | awk '{print $1}' ` ; do
echo $
ndd /dev/hme ${i}
done
ipg1
8
ipg2
4
use_int_xcvr
0
pace_size
0
adv_autoneg_cap
0
adv_100T4_cap
0
adv_100fdx_cap
1
adv_100hdx_cap
0
adv_10fdx_cap
0
adv_10hdx_cap
0
instance
0
lance_mode
1
ipg0
16
$ netstat -k hme0
hme0:
ipackets 172970 ierrors 77 opackets 106192 oerrors 0 collisions 0
defer 0 framing 36 crc 41 sqe 0 code_violations 0 len_errors 0
ifspeed 100000000 buff 0 oflo 0 uflo 0 missed 0 tx_late_collisions 0
retry_error 0 first_collisions 0 nocarrier 0 nocanput 0
allocbfail 0 runt 0 jabber 0 babble 0 tmd_error 0 tx_late_error 0
rx_late_error 0 slv_parity_error 0 tx_parity_error 0 rx_parity_error 0
slv_error_ack 0 tx_error_ack 0 rx_error_ack 0 tx_tag_error 0
rx_tag_error 0 eop_error 0 no_tmds 0 no_tbufs 0 no_rbufs 0
rx_late_collisions 0 rbytes 199140046 obytes 6676272 multircv 231 multixmt 0
brdcstrcv 1057 brdcstxmt 42 norcvbuf 0 noxmtbuf 0 newfree 0
ipackets64 172970 opackets64 106192 rbytes64 199140046 obytes64 6676272 align_errors 36
fcs_errors 41 sqe_errors 0 defer_xmts 0 ex_collisions 0
macxmt_errors 0 carrier_errors 0 toolong_errors 0 macrcv_errors 0
link_duplex 0 inits 5 rxinits 0 txinits 0 dmarh_inits 0
dmaxh_inits 0 link_down_cnt 0 phy_failures 0 xcvr_vendor 24657
asic_rev 193 link_up 1
So what do you have any idea, about the problem?
The router is 100 Full Duplex w/o autoneg
the errors arrived only on the virtual interface hme0:1, and never on hme0
Fred, -
Rotating image loaded with CameraRoll
I'm having trouble working out how to rotate an image loaded using CameraRoll on an AIR for iOS app.
This code below works fine (displayImage() is called when CameraRolls media event returns completed, and imageArea is the scrollPane where the image is shown.
function displayImage():void
var image:Bitmap = Bitmap(imageLoader.content);
imageArea.source = image;
The image loads just fine untill I try to rotate it:
function readMediaData():void
var image:Bitmap = Bitmap(imageLoader.content);
var imX:int = image.width;
var imY:int = image.height;
if (imX>imY)
image.rotation = 90;
imageArea.source = image;
With the second version the image seems to load because the scroll bars expand to the size of the image I choose, but I don't see anything on the stage.
What am I doing wrong?
Any suggestions would be really appreciated.I added the new width back to images x position but no joy; no matter what x & y I set the image to, it cannot be seen. The scroll bars expand exactly the right amount for the 'invisible' image, regardless of it's x & y positions as well (you'd think if the image was out of the scrollPane the bars wouldn't adjust like that. I'm not doing something right.
I'm stumped on this but I'll keep trying things. Thanks for your help and the lead, I appreciate it and it may be part of the problem, but there seems to be a different problem as well. -
Image loaded with Loader doesn't render
I have created a web service that pulls images (gif,jpg) from
the database and base64 it for sending across the wire. The flex
application then decodes and renders the image. The Image is not
being scaled correctly. IT will not adhere to the dimensions of the
ImageBox but rather stays at the original fixed size. If I embed
the image into the application everything works correctly. But if
the image is decoded then sizing goes out the window.
The image overflows the Image box and takes up the full size
of the image. Zoom, rotation, etc. do nothing to the image.
Any help is appreciated...
Example Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" creationComplete="onLoad(event);">
<mx:Script>
<![CDATA[
import mx.utils.Base64Decoder;
public function onLoad(event:Event):void {
// Decode image - Base64 gif image (500 x 776)
var base64:String = "R0lGOD..."; // Get base64 from web
service call
var decoder:Base64Decoder = new Base64Decoder();
decoder.decode(base64);
// Load image into container
var loader:Loader = new Loader();
loader.loadBytes(decoder.flush());
image2.addChild(loader);
]]>
</mx:Script>
<mx:HBox id="mainBox">
<!-- Should render a 100 x 100 box but instead the image
is full size -->
<mx:Image id="image2" width="100" height="100" />
</mx:HBox>
</mx:Application>Hi Dmitri,
Thank you for the prompt reply, your question about the jpeg content was a helpful pointer.
I solved the problem, it had nothing to do with flex, it was all on the java side. The image was obtained from converting a TIFF to a JPEG, the conversion was failing and the flex loader was receiveing a tiff and it did not know how to display it.
The java problem was kind of interesting, I'll post it here as an FYI in case anybody cares :
On my server the first writer returned by ImageIO was an instance of JPEGImageWriter and on the other servers was CLibJPEGImageWriter. And it happens that only JPEGImageWrite can write the type of TIFF that we are having.
The fix was to iterate through all the writers and pick the instace of JPEGImageWrite, instead of the first one found.
Lumi -
I am loading a JPEG image from the server, using the Loader->loadBytes() and that works when the app is deployed under my local Tomcat server. When I deploy it on other servers the image is not displayed, instead of the image I see II*
On the server side I have java, Spring, BlazeDs and I use RemoteObject on the client.
The code that loads the image looks like below:
private function imageLoadResultHandler(event:ResultEvent):void {
var result:ArrayCollection = event.result as ArrayCollection
var bytes : ByteArray = result.getItemAt(0) as ByteArray;
_loader = new Loader();
_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaderCompleteHandler);
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loaderFaultHandler);
_loader.loadBytes(bytes);
private function loaderCompleteHandler(event:Event):void {
var loaderInfo:LoaderInfo = event.currentTarget as LoaderInfo;
var img:Image = new Image();
img.source = loaderInfo.content;
myPanel.addChild(img);
<mx:RemoteObject id="ro" destination="imageLoadService">
<mx:method name="loadImage" result="imageLoadResultHandler(event)" fault="faultHandler(event)" />
</mx:RemoteObject>
Any help with this problem is much appreciated.
Thank you,
Lumi VelicanuHi Dmitri,
Thank you for the prompt reply, your question about the jpeg content was a helpful pointer.
I solved the problem, it had nothing to do with flex, it was all on the java side. The image was obtained from converting a TIFF to a JPEG, the conversion was failing and the flex loader was receiveing a tiff and it did not know how to display it.
The java problem was kind of interesting, I'll post it here as an FYI in case anybody cares :
On my server the first writer returned by ImageIO was an instance of JPEGImageWriter and on the other servers was CLibJPEGImageWriter. And it happens that only JPEGImageWrite can write the type of TIFF that we are having.
The fix was to iterate through all the writers and pick the instace of JPEGImageWrite, instead of the first one found.
Lumi -
Images loaded with a random number
Hi All,
I have made a flash movie as seen at
http://www.coffeemamma.com.au
and would
like to change the following:
I'd like to generate three random numbers from 1 to 5
inclusive but I want
to ensure that each number is different - e.g. 2, 4, 1 (not
2, 4, 2). I know
how to generate ONE random number, but I'm stuck on comparing
them to see
whether they are the same (and if they are, then generate new
numbers until
they are unique).
With the three numbers I would like to load images based on
those numbers -
e.g. '_image_2.jpg' then '_image_4.jpg' then '_image_1.jpg'.
This part is
fine IF I can generate the numbers.
I'd also like to have the images come to the front when they
are hovered
over with the mouse and then to go 'back' to their original
position when
the mouse moves away. This I'm completely stuck on.
I'd also like to be able to put the newly loaded images into
certain
positions (as per the example) rather than only loaded to
(0,0) coordinates.
I also want to be able to have the images masked as they come
in (as per the
example) in order to avoid white corners on the top images.
I also have a page as per
http://www.wasabi.org.au/wodonga.shtml
which has
some of the functions I want to use, but I can't seem to get
some of the
functions working in my new movie...
Many thanks,
BruceI recommend to read at least the first two "introduction articles" from sun's Java >Card homepage: http://developers.sun.com/techtopics/mobility/javacard/articles/
Thanks a lot ... really interesting. I learnt already alot with that !
I am sorry but the code you posted is J2SE-code, not JavaCard code. The JavaCard >environment is very restricted:
No Integer (most cards don't even support the simple "int") and no String class.Oops :) ... i knew something was wrong hi hi
This is my new code, it seems to work:
/* SEND_CHALLENGE */
private void sendChallenge(APDU apdu){
byte[] apduBuffer = apdu.getBuffer();
RandomData random = RandomData.getInstance(RandomData.ALG_SECURE_RANDOM);
random.setSeed(randomArray,(short)0,(short)32);
random.generateData(randomArray,(short)0, (short)32);
Util.arrayCopy(randomArray,(short)0,apduBuffer,(short)0,(short)32);
apdu.setOutgoingAndSend((short)0, (short)32);
}Thanks a lot
I'am going to be back soon for some more questions i think ! -
Applying filter to s:bitmapImage makes images disappear!?
I wonder if anyone can help... I am attempting to apply a filter to s:bitmapImage but no matter if I do this in as3 or mxml as soon as i apply the filter the whole image disappears! I have tried this with different sorts of filter (dropshadow, glow) etc. but all do the same thing? Without any filter the image is show perfectly fine!
The source of my s:bitmapImage is generated programmatically at runtime and is linked via a binding...
Can anyone tell me what I am doing wrong?
Thanks,
Mark.hi,
The following code uses a spark bitmapimage that has a blur filter and the filter seems to work with out issue.
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
xmlns:net="flash.net.*" creationComplete="application1_creationCompleteHandler(event)">
<fx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.events.FlexEvent;
import mx.utils.ObjectUtil;
import spark.filters.BlurFilter;
private var ldr:Loader = new Loader();
private function btn_click(evt:MouseEvent):void {
var arr:Array = [];
arr.push(new FileFilter("Images", ".gif;*.jpeg;*.jpg;*.png"));
fileReference.browse(arr);
private function fileReference_select(evt:Event):void {
fileReference.load();
private function fileReference_complete(evt:Event):void {
ldr.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete);
ldr.loadBytes(fileReference.data);
//Alert.show(ObjectUtil.toString(fileReference));
private function onComplete(event:Event):void
ldr.contentLoaderInfo.removeEventListener( Event.COMPLETE, onComplete );
img.source = ldr.content;
protected function application1_creationCompleteHandler(event:FlexEvent):void
img.filters = [blur];
]]>
</fx:Script>
<fx:Declarations>
<net:FileReference id="fileReference"
select="fileReference_select(event);"
complete="fileReference_complete(event);" />
<s:BlurFilter id="blur" blurX="8" blurY="8"/>
</fx:Declarations>
<s:BitmapImage id="img" left="0" right="0" top="0" bottom="0" source ="@Embed('test.jpg')" fillMode="repeat"/>
<s:HGroup>
<s:Button id="btn"
label="Browse"
click="btn_click(event);" />
<s:Button id="btn2"
label="Add Filter"
x="50"
click="img.filters=[blur]" />
<s:Button id="btn3"
label="RemoveFilter"
click="img.filters=[]" />
</s:HGroup>
</s:Application> -
Auto slideshow with progressive image load
Hello everyone,
Does anyone know of a good autoplay slideshow script that
starts with the
first image on page load and then downloads the additional
images when
called? In other words, if there are 20 images in the
slideshow, it doesn't
load all 20 images before displaying the first.
I have just a couple of specific requirements.
I don't need any controls (pause, forward, etc) on it.
Most of the javascript slideshows I've looked at in Google or
have in my
snippet list have the image name hardcoded in the script.
Image1.jpg, image2.jpg, etc, which won't work.
I'll be feeding the images dynamically depending on the
category the user
chooses and the image names are variable.
I'm currently using javascript that automatically shows and
hides divs with
the same class name by changing the display style from none
to block and
back to none as it loops through them.
This works well as I can dynamically write as many divs as
needed by looping
through all the items in a category.
But alas, this one still doesn't start to run until all the
images are
downloaded.
You can see it here:
http://www.onelongfellowsquare.com/
There's actually 3 "slideshows", stacked one on top of the
next, using this
in the "Featured" section.
Thank you for any help or ideas.
Take care,
TimThanks, Jeff.
That's the functionality I was looking for.
I just need to figure out the best way to dynamically fill
the array with
image names from a database.
Take care,
Tim
"Jeff" <[email protected]> wrote in message
news:[email protected]...
> <head>
> <script language="JavaScript1.1">
> <!--
> var slidespeed=3000
> var slideimages=new
>
Array("image1.JPG","image2.JPG","image3.jpg","image4.jpg","image5.jpg","image6.jpg")
>
> var slidelinks=new Array("")
>
> var newwindow=0
>
> var imageholder=new Array()
> var ie=document.all
> for (i=0;i<slideimages.length;i++){
> imageholder
=new Image()
> imageholder.src=slideimages
> }
>
> function gotoshow(){
> if (newwindow)
> window.open(slidelinks[whichlink])
> else
> window.location=slidelinks[whichlink]
> }
> //-->
> </script>
> </head>
>
> <body>
> <a href="javascript:gotoshow()"><img
src="image1.JPG" alt="" name="slide"
> width="400" height="271" border=0
style="filter:blendTrans(duration=3)">
>
> <script language="JavaScript1.1">
> <!--
> var whichlink=0
> var whichimage=0
> var blenddelay=(ie)?
document.images.slide.filters[0].duration*1000 : 0
> function slideit(){
> if (!document.images) return
> if (ie) document.images.slide.filters[0].apply()
> document.images.slide.src=imageholder[whichimage].src
> if (ie) document.images.slide.filters[0].play()
> whichlink=whichimage
> whichimage=(whichimage<slideimages.length-1)?
whichimage+1 : 0
> setTimeout("slideit()",slidespeed+blenddelay)
> }
> slideit()
> //-->
> </script>
> </body>
>
> Jeff
>
>
>
> ----- Original Message -----
> From: "TC2112" <[email protected]>
> Newsgroups: macromedia.dreamweaver
> Sent: Saturday, January 31, 2009 7:04 PM
> Subject: Auto slideshow with progressive image load
>
>
>> Hello everyone,
>>
>> Does anyone know of a good autoplay slideshow script
that starts with the
>> first image on page load and then downloads the
additional images when
>> called? In other words, if there are 20 images in
the slideshow, it
>> doesn't load all 20 images before displaying the
first.
>>
>> I have just a couple of specific requirements.
>> I don't need any controls (pause, forward, etc) on
it.
>> Most of the javascript slideshows I've looked at in
Google or have in my
>> snippet list have the image name hardcoded in the
script.
>> Image1.jpg, image2.jpg, etc, which won't work.
>> I'll be feeding the images dynamically depending on
the category the user
>> chooses and the image names are variable.
>>
>>
>> I'm currently using javascript that automatically
shows and hides divs
>> with the same class name by changing the display
style from none to block
>> and back to none as it loops through them.
>> This works well as I can dynamically write as many
divs as needed by
>> looping through all the items in a category.
>> But alas, this one still doesn't start to run until
all the images are
>> downloaded.
>> You can see it here:
>>
http://www.onelongfellowsquare.com/
>> There's actually 3 "slideshows", stacked one on top
of the next, using
>> this in the "Featured" section.
>>
>> Thank you for any help or ideas.
>>
>>
>> Take care,
>>
>> Tim
>>
>>
>
> "TC2112" <[email protected]> wrote in message
> news:[email protected]...
>> Hello everyone,
>>
>> Does anyone know of a good autoplay slideshow script
that starts with the
>> first image on page load and then downloads the
additional images when
>> called? In other words, if there are 20 images in
the slideshow, it
>> doesn't load all 20 images before displaying the
first.
>>
>> I have just a couple of specific requirements.
>> I don't need any controls (pause, forward, etc) on
it.
>> Most of the javascript slideshows I've looked at in
Google or have in my
>> snippet list have the image name hardcoded in the
script.
>> Image1.jpg, image2.jpg, etc, which won't work.
>> I'll be feeding the images dynamically depending on
the category the user
>> chooses and the image names are variable.
>>
>>
>> I'm currently using javascript that automatically
shows and hides divs
>> with the same class name by changing the display
style from none to block
>> and back to none as it loops through them.
>> This works well as I can dynamically write as many
divs as needed by
>> looping through all the items in a category.
>> But alas, this one still doesn't start to run until
all the images are
>> downloaded.
>> You can see it here:
>>
http://www.onelongfellowsquare.com/
>> There's actually 3 "slideshows", stacked one on top
of the next, using
>> this in the "Featured" section.
>>
>> Thank you for any help or ideas.
>>
>>
>> Take care,
>>
>> Tim
>>
>>
>
> -
Filter all images with a specific colorspace
My Canon camera allows me to shoot in sRGB and Adobe RGB.
Question: How can I filter all files shot with Adobe RGB?As suggested else-thread, the colourspace is not used in Lr, so it isn't a primary piece of available metadata. However, for the purposes of organization, I suppose you would like to know what space an image was in if you were to export the originals as-is. This seems a reasonable request.
You can do this by hand, I suppose, by using a colour label or keyword, and forming a smart collection around that. Not ideal, of course.
Alternatively, I imagine this metadata would be available via the API, and then "searchable metadata" selections might apply. I've done little API coding around metadata, so I'm guessing here.
There are plugins that let you expose and display (but possible not search on) arbitrary metadata, as well. They have been mentioned here before, and are probably on the Adobe hosted plugin location. Not sure if this would help you much, but it is worth a look. -
Need Oil Paint filter enhancement to work with large images
As Adobe is not supporting the Oil Paint filter with the next version of PhotoShop, can the code for this filter be made available for open source development?
I desperately need to utilize effects that can be created using Oil Paint, but I have to have the code altered so I can apply these effects to relatively large image sizes.
The current filter works fine for relatively small image sizes around 500kb or so, but has little or no effect on images of around 100mb.
I need to have this capability. I would like to have the code of the current filter altered to be able to achieve this.
I realize I will need to continue using PhotoShop 6 as the code will not be supported with the next version of PhotoShop.
If this is not the correct forum to post this, please let me know where I should be asking this question.
Thank you in advance for any insight and advice you may have.What's the problem you're having with applying it to an 80 MB image? Is it that the effects don't scale up enough?
Technically it can run on large images if you have the computer resources... I've just successfully applied it to an 80 MB image, and with the sliders turned all the way up it looks pretty oil painty, though it kind of drops back into a realistic looking photo when zoomed out...
If it's just that the sliders can't go high enough, given that it's a very abstract look you're trying to achieve, have you considered applying it at a downsized resolution, then upsampling, then maybe applying it again? This is done that way...
Oh, and by the way, Oil Paint has been removed from Photoshop CC 2014, so if you're planning a business based on automatically turning people's large photos into oil paintings you should assume you'll be stuck with running the older Photoshop version.
-Noel -
Issue with Image Loader in 14.0
Hi All,
In our application, we have a custom function module in ECC, which is passing the URL of an image uploaded on the content management server(KPRO). Custom FM calls 'SDOK_PHIO_GET_URL_FOR_GET' to get the URL of the image.
When we execute the FM in ECC, we get the URL as:
http://gbswidkprodb01.global.rexam.net:81/ContentServer/ContentServer.dll?get&pVersion=0046&contRep=YA&docId=001F296E9EB61ED3B6F490000438C20C&compId=TJ12A.jpg&accessMode=r&authId=CN%3DBC3,OU%3DI0520020335,OU%3DSAPWebAS,O%3DSAPTrustCommunity,C%3DDE&expirat
when I use this URL in the browser the image gets loaded in browser.
When I capture the output of JCO call in write file URL returned from FM is:
http://<server>:81/ContentServer/ContentServer.dll?get&pVersion=0046&contRep=YA&docId=001F296E9EB61ED3B6F490000438C20C&compId=TJ12A.jpg&accessMode=r&authId=CN%3DBC3,OU%3DI0520020335,OU%3DSAPWebAS,O%3DSAPTrustCommunity,C%3DDE&expiration=20140617181313&secKey=MIIBUgYJKoZIhvcNAQcCoIIBQzCCAT8CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGCAR4wggEaAgEBMG8wZDELMAkGA1UEBhMCREUxHDAaBgNVBAoTE1NBUCBUcnVzdCBDb21tdW5pdHkxEzARBgNVBAsTClNBUCBXZWIgQVMxFDASBgNVBAsTC0kwNTIwMDIwMzM1MQwwCgYDVQQDEwNCQzMCByASCCcTUiEwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTE0MDYxNzE2MTMxM1owIwYJKoZIhvcNAQkEMRYEFM%2FKd4MzWL0y1KfF58AHNg9PYqOlMAkGByqGSM44BAMELzAtAhUAtqASnXbD3E2ZM8EhG%2FLxgJhKCs0CFH0qFlBxzWlzS8kjeFw3kad63SHW
when I use this URL in the browser I get 'HTTP 400' error.
Using either of the two URL's in the image loader I get the error:
[WARN] [ImageLoader_0]ImageLoader_0 Status: 400 - (bad request)
We are currently on SAP MII 14.0 SP05(patch 3).
Thanks in advance for your help.
Regards,
DarshanSam,
I tried logging in to ECC with the same user as the one that is making the Jco connection and it is giving the same URL which i was getting earlier when i was executing the FM with my user id. I am testing the FM through SE37.
There is no logic in the custom BAPI to replace the <server> keyword. Based on the image name, it gives the URL of where the image is stored on the KPRO server.
Could not find URL Decode function in the MII link editor, i believe it is the decode function which you are referring to. Even that is not working. If it is something other than this, do let me know.
PS: This works fine in the 11.5 system from which we have upgraded to 14.0.
regards,
darshan -
Safari 2.0.3 - Pages load with no images or some images
Hi
I just bought a new iMac Intel. It comes with safari 2.0.3
Any page on the web loads without the images. In place of the image is a ? icon.
If I hit the reload button a few times, the images load up. Sometimes even after a dew reloads, some images are still not loaded.
Any idea why this is happening?
Thanks in advance for any assistance.I have not changed any of the Quicktime settings yet.
Since posting I have installed Firefox. Firefox loads the page www.apple.com flawlessly.
If you would like me to check any of the quicktime settings, can you give me more details on how to do this?
Thanks for your advice -
Something in correct with Image loading....
Hi All,
I have created a very simple form to load image into a form.
Using forms 10g dev suite on win XP.
I load two images for two image items.
for IMAGE1 I have written the below code in its when-image-pressed trigger and this Image loading WORKS FILE...
i get the desired image loaded
DECLARE
tiff_image_dir VARCHAR2(80) := 'C:\DevSuiteHome_1\forms\111.gif';
photo_filename VARCHAR2(80);
BEGIN
:System.Message_Level := '25';
photo_filename := tiff_image_dir ;
READ_IMAGE_FILE(photo_filename, 'GIF', 'emp.my_test_button');
READ_IMAGE_FILE(photo_filename, 'GIF', 'emp.my_test_button');
IF NOT FORM_SUCCESS THEN MESSAGE('This employee does not have a photo on file.');END IF;
:SYSTEM.MESSAGE_LEVEL := '0';
END;
the problem is with Image two...it laods some incorrect image .....as i am trying to USE JAR file
the trigger code is below
DECLARE
photo_filename VARCHAR2(80);
BEGIN
:System.Message_Level := '25';
READ_IMAGE_FILE('111.gif', 'URL', 'emp.image_item');
IF NOT FORM_SUCCESS THEN MESSAGE('This employee does not have a photo on file.');END IF;
:SYSTEM.MESSAGE_LEVEL := '0';
END;
below is the entry for my formsweb.cfg
I have placed my
[my_app]
width=675
height=480
separateFrame=false
splashScreen=no
lookAndFeel=oracle
colorScheme=blue
background=/forms/formsdemo/images/blue.gif
logo=/forms/formsdemo/images/bannerlogo.gif
baseHTMLjinitiator=demobasejini.html
baseHTMLjpi=demobase.htm
baseHTML=demobase.html
baseHTMLie=demobaseie.html
envFile=formsdemo.env
archive_jini=frmall_jinit.jar,AppIcons.jar
#archive=frmall_jinit.jar
pageTitle=Oracle Forms - My Application
form=my_test_button.fmx
imagebase=codebase
userid=scott1/tiger@ora11g
My classpath entry in ENV file is
CLASSPATH=C:\DevSuiteHome_1\jlib\debugger.jar;C:\DevSuiteHome_1\forms\demos\my_app\AppIcons.jar;C:\DevSuiteHome_1\forms\demos\jars\uploadserver.jar;C:\DevSuiteHome_1\forms\demos\jars\demowebserviceclientside.jar;C:\DevSuiteHome_1\jdk\jre\lib\rt.jar;C:\DevSuiteHome_1\forms\demos\jars\javamailintegration.jar;C:\DevSuiteHome_1\forms\demos\jars\mail.jar;C:\DevSuiteHome_1\forms\demos\jars\activation.jar
What mistake am i doing?
rgds,
sSlava ,Magoo and S@r@h....
I have done the following,still no respite..
step 1) Create the jar file
C:\myapp>jar cvf AppIcons.jar *.gif
added manifest
adding: 111.GIF(in = 28895) (out= 28675)(deflated 0%)
adding: 222.GIF(in = 28895) (out= 28675)(deflated 0%)
adding: name_gif.GIF(in = 28903) (out= 28681)(deflated 0%)
step 2) move the AppIcons.jar in the ClassPATH specified by env file(envFile=formsdemo.env)
in my case the classpath looks like below
and I have moved the AppIcons.jar to C:\DevSuiteHome_1\forms\demos\my_app
CLASSPATH=C:\DevSuiteHome_1\jlib\debugger.jar;C:\DevSuiteHome_1\forms\demos\my_app\AppIcons.jar;C:\DevSuiteHome_1\forms\demos\jars\uploadserver.jar;C:\DevSuiteHome_1\forms\demos\jars\demowebserviceclientside.jar;C:\DevSuiteHome_1\jdk\jre\lib\rt.jar;C:\DevSuiteHome_1\forms\demos\jars\javamailintegration.jar;C:\DevSuiteHome_1\forms\demos\jars\mail.jar;C:\DevSuiteHome_1\forms\demos\jars\activation.jar
step 3) shutdown and restart the OC4J
To Answer Slava's question:
2. Check Jinitiator console and see if AppIcons.jar is loaded.
You should see :
Loading http://host:port/forms/java/AppIcons.jar from JAR cache
YES its loading prefectly.
To answer Magoo's questions:
q)What is the incorrect image look like? Somehting like a broken link image?
Yes,the image is a small page icon which is broken like a torn page(and has three small solid figures in it)
q)Do you get there a message like Unable to load image 111.gif for Image Item ?
No I do not get any error message.
What next ?
rgds
s -
Fash Images will not load with Firefox
Currently Flash images will not auto load with Firefox on my mac 10.4. All flash images show with an arrow I must click to make them appear every time I visit a page.
I do have the most updated version of Flash (10.2.152.33). I have checked their site for all troubleshooting possibilities as well as the FF forum & nothing has made these images auto load. I do have load Images automatically in my Preferences: Content. This is only happening with Firefox & not all browsers.
I do remember having to add some Security: Install Add-On Exceptions a few updates back in FF back when I had this problem. Adding them fixed the problem, however the next update made the issue reoccur. I've looked for additional exceptions & possibilities to include & found nothing. My current list of add on exceptions include: addons.mozilla.org, getpersonas.com, & update.mozilla.org. Removing these does not fix the problem & re-entering them does not fix the problem. All flash images still show as arrows that must be clicked to load to view for my Firefox browser only. This does not occur in any other browser.alright. I've found that Firefox has a Flashblock setting & I have found a way to disable it if I customize & add an icon to my toolbar however I would like to learn how to change that setting without having to add that icon. Where in the settings does it allow me to change/adjust the flashblock?
Maybe you are looking for
-
Hyperion S9 Shared Services Error
Hi All, I have been faced with some problem pertaining to Shared Services 9.3.1 The OpenLDAP services work perfectly fine, but the Shared Services throws an error " Some services stop automaticaly when there is no work to be done " I have done the fo
-
PSE8 Organizer doesn't show folders that start with a number
when i try to "Get Photos and Videos from Files and Folders", folders that begins numerically does show up?
-
Mass upload of clauses in SAP Sourcing
Dear All, Please let me know if we can do a mass uplod of clauses in SAP sourcing like we can do for the contract documents. Requirement is customer wants to uplaod many number of clauses in clause library. Thanks, Vinay
-
How to display bar charts in jsp
I need bar charts for web application. I search alot but I didn't find any solution. From where I can find the content for same?
-
I'm looking at the Server Admin Tool on My Snow Leopard server. In the Services tab of the Access page I'm seeing a big stack of UUIDs that I hadn't noticeed before (see the attached screen capture). I'm wondering how these got there and what they'