I have a two images, first one is the animated gif image & the second one is a jpg image. When i start the emulator , i can see only the jpg image not the animated gif images.
import javafx.scene.*;
import javafx.stage.*;
import javafx.scene.image.*;
Stage {
scene : Scene {
content : [
ImageView {
x : 5
y : 5
fitWidth : 100
fitHeight : 100
preserveRatio : true
image : Image{
url : "http://sqindia.india.sun.com/disk16/AWTNightly/Adhoc/lawrence/FXSamples/Horse/src/horse1.gif"
}
},
ImageView {
x : 5
y : 150
fitWidth : 100
fitHeight : 100
preserveRatio : true
image : Image{
url : "http://sqindia.india.sun.com/disk16/AWTNightly/Adhoc/lawrence/FXSamples/Horse/src/NewForestTree.jpg"
}
}
]
}
}
import javafx.scene.*;
import javafx.stage.*;
import javafx.scene.image.*;
Stage {
scene : Scene {
content : [
ImageView {
x : 5
y : 5
fitWidth : 100
fitHeight : 100
preserveRatio : true
image : Image{
url : "http://sqindia.india.sun.com/disk16/AWTNightly/Adhoc/lawrence/FXSamples/Horse/src/horse1.gif"
}
},
ImageView {
x : 5
y : 150
fitWidth : 100
fitHeight : 100
preserveRatio : true
image : Image{
url : "http://sqindia.india.sun.com/disk16/AWTNightly/Adhoc/lawrence/FXSamples/Horse/src/NewForestTree.jpg"
}
}
]
}
}