Help on dated image replacement on flash
Hi,
I'm trying to do the same thing but istead of daily I would
like to display a different image every week, for instance
on sunday February 25th 2007 I want to display image 1.jpg
for sunday March 4th, 2007 I want to display 2.jpg and so on every
sunday of the month (is for my church), below you'll see how I have
setup the flash file:
I have a bunch of images (symbols) slideshow and each symbol
shows a different images, amoungst those symbols, one of them has
nothing in, which is where I want the jpg to appear.
Then I have a clock script I got from the internet that
displays the date on a dynamic fied as follows (Thursday 22
February 2007)
So I NEED DESPERATE HELP on how to create a code that would
get the images loaded in - loadMovie("
http://www.site.com/imagestest/1.jpg",
mainMov.loadMov) but only if it matches the date on the dynamic
text field.
Any help is greatly apppreciated.
if (date.indexOf("Sunday") > -1)
loadMovie("
http://www.site.com/imagestest/1.jpg",
mainMov.loadMov);
That is, date being the variable name for the dynamic
field
Similar Messages
-
Help loading an image from photoshop into flash..
I have a script written that will take an image open in photoshop, save a copy of it (as a jpeg), and I want to
open that file in a new flash window that I open. The property app.activeDocument.full name does not actually return
the full name, it returns "~/Desktop/Pictures/fileName.jpg", instead of "C:/Users/me/Desktop/Pictures/fileName.jpg".
I know I can do an image import from flash, but I would rather pass the information directly to the flash.
How can I pass the absolute file path to the flash from photoshop?app.activeDocument.fullName.fsName will get you the full path to the file but if the document has not been saved it will throw an error.
-
Overlib images dissapear under Flash movie
Hi all,
Total noob with flash.
I have some thumbnail images on my page, when you mouse over
the images an overlib pops up with the full image. Not far above
the thubmnails is a flash header, when the overlib images pop up
part of them is going underneath the flash movie.
Any ideas on how I can prevent this?
I have tried replacing the flash movie with an image of the
same size and it all works fine then so I know its not a layout
issue.
Thanks a lot for any help with this.BlueSolar,
> I have some thumbnail images on my page, when you mouse
> over the images an overlib pops up with the full image.
Not far
> above the thubmnails is a flash header, when the overlib
images
> pop up part of them is going underneath the flash movie.
The reason this happens is because Flash is an example of
so-called
Active Content. Flash movies aren't actually *in* the HTML
page in which
they're embedded, they just look that way. The <object>
or <embed> tags in
the HTML tell the browser to launch an instance of the Flash
Player at
thus-and-such dimensions in this area of the document, and
the Flash Player
and browser work together to give the illusion that the SWF
is a part of the
page.
> Any ideas on how I can prevent this?
The only way to affect this issue involves an often buggy
feature called
WMODE.
http://www.quip.net/blog/2006/flash/how-to-position-flash-beneath-other-content
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design." -
How do you build an image gallery in Flash CS3 actionscript3?
I am building my entire website in flash cs3, actionscript3
but I really need help building an image gallery. What I need is a
horizontal scroll bar that contains thumbs within it and then loads
the full size image right above the scroll bar. Anyone has any
suggestions for books, tutorials or even safe places to purchase
the fla that I can customize it?if you want help understanding as3 check:
http://www.senocular.com/flash/tutorials/as3withflashcs3/
if you want to purchase a custom fla that does exactly what
you want send me an email via my website. -
Display an image instead of Flash?
I'm a little green when when it comes to this stuff.
I have a site that has a couple of Flash elements that show
fine. Due to the network security on my work computer, it means
they don't show when viewed from there.
Is there a way to display an image if the Flash element
cannot be displayed?
Thanks in advance of any help.Have you tested it with IE online or only locally? Locally IE will usually prohibit displaying Flash content.
-
Showing image instead of flash for mobiles?
I am just wondering if it is possible to show an image instead of flash content for mobiles?
I want to allow the adobe sniffer to do its thing when it is people using pc and mac browsers and direct them to the plug in page to download the flash player if they need it, but is there a way to sniff for a mobile / smart phone browser and if they cant view flash it will show an image instead?
Any help appreciated.You can use Javascript to detect the browser and platform for any given user. You can then parse that information to push the content that you want to use for the result. You can find a good write-up with example code here: http://www.quirksmode.org/js/detect.html
-
Rendering Canvas with Images - Display is flashing
Hello everybody.
I have created a Canvas within a Frame. This canvas contains many static pictures (.jpg and .png) and static texts. I also print out next to some of these images and static texts some values as strings using drawString.
These values are changed depending on some calculations taking place.
The problem is that the overall GUI is flashing periodically, and it does not look very nice.
How can I render the whole GUI without these flashing problems?
I write down my way:
public class myCanvas extends Canvas implements Runnable
public myCanvas()
//This is a THREAD
Thread t=new Thread(this);
t.start(); //start it
public void paint(Graphics g)
//Static image and static text
g.drawImage(image2, 1,5, this);
Font font=new Font("Tahome",Font.BOLD,14);
g.setFont(font);
g.drawString("Value:",62,40);
public void update(Graphics g)
Font font=new Font("Tahome",Font.BOLD,20);
g.setFont(font);
// I 'd like to update only the values next to static image and static text from paint()
g.drawString(cntTester+" bpm",148,42);
cntTester++;
public void run()
//Firts wait for the images to fully load and paint
try
for (int i=0;i<4;i++)
mediaTracker.waitForID(i);
catch (Exception ex)
while (isPlay == true)
try
Thread.sleep(2000); //2 secs
catch(Exception ie)
this.repaint(140,25,80,25); //Repaint specific sections
}The above Canvas is instantiated within a Frame.
I really appreciate nay help and guidelines.
Regards,
kalgikThe flashing is really depends on the Thread.sleep() timeout.
import java.awt.*;
public class myCanvas extends Canvas implements Runnable
//Declaration of variables
private int cntTester=0; //It used only for test, to update values for parameters
private MediaTracker mediaTracker;
private Color colour;
private Font font14;
private Font font20;
private Thread t;
public myCanvas()
colour=new Color(0x000000); //-> Black colour for letters
font14=new Font("Tahome",Font.BOLD,14);
font20=new Font("Tahome",Font.BOLD,20);
this.setVisible(true);
this.setBounds(2,2,235,315);
init();
//This is a THREAD
t=new Thread(this);
t.start(); //start it
public void run()
//First wait for the images to fully load and paint
try
for (int i=0;i<1;i++)
mediaTracker.waitForID(i);
catch (Exception ex)
while (isPlay == true)
try
Thread.sleep(2000);//The flashing depends on this timeout (2 seconds).
catch(Exception ie)
myupdate();
repaint(500,69,20,170,134); //repaint specific area of Canvas
//I got rid of the overidden method update(Graphics g)
public void myupdate()//Graphics g)
cntTester++; //Simply increment the value of this variable
public void init()
mediaTracker = new MediaTracker(this);
//Image Heart rate
String imageHeartRateName="Images/Icons/HeartRate/heart-64x64.png";
imageHeartRate = Toolkit.getDefaultToolkit().createImage(imageHeartRateName);
mediaTracker.addImage(imageHeartRate, 0);
public void paint(Graphics g)
super.paint(g);
System.out.println("Passing from [paint]");
g.setColor(colour);
//Heart rate:
g.drawImage(this.imageHeartRate, 1,5, this);
g.setFont(font14);
g.drawString("Heart Rate:",62,40);//String , coordinates
g.setFont(font20);
g.drawString(cntTester+" bpm",148,42);//String , coordinates
} -
Seeking Help with Album Image Issues in iPod Classic
Hi folks -
I have a new 160 iPod Classic and have two album image-related issues I'd appreciate some help with.
In the case of several albums where I'd associated my own art with them in iTunes, the formatting appeared off in my iPod due to the vertical/horizontal proportions. So I corrected the images, replaced the images via iTunes, and re-synced. All of the old images were replaced - except for two. Is there any way to get my iPod to recognize the change to these two images, as it did for all the others?
Secondly, my "The Allman Brothers Band Live at Fillmore East" album was appearing twice in both the Cover Flow and Album list. That was strange, except that after the latest sync it now appears six times! It's only in one place in iTunes, and not erroneously set as a compilation or anything. This is the only album displaying this behavior...
Thanks for any suggestions or advice!
Frank
Message was edited by: frank3siYes my e-mail address is [email protected]
Thank you for your kind attention to my problem. I am looking for one on one brief consultation with my laptop in Cincinnati. If not then I will compose a clear question with VI.
These manuals are well known to me NI Visions Concepts ManualIMAQ Vision for LaVIEW User ManuelNI-IMAQ for USB Cameras My problem is moving to the next step of Create an array of USB imagePerform math on array Display results Sincerely,Tom Lohre cell 513-236-1704, [email protected] http://tomlohre.com/images/lafley.jpgAG Lafley, Chairman & CEO of Proctor & Gamble http://tomlohre.com/lafley.htm A.G. Lafley enjoyed hearing of Tom's painting robot and thought it played well to his new book: "The Game-Changer: How You Can Drive Revenue and Profit Growth With Innovation." http://tomlohre.com/newart.htm
Tom Lohre artist/scientist
Has a operating painting robot using RoboLab/RCX
Developing a LabView/ NXT robot that analyzes an image for aesthetic quality. -
Why do images brought into flash from a psd appear differently when publish
I am creating a flash banner using a layered psd. The account team is happy with the look of the psd. BUT, when I bring the images into flash and publish the file, the colors look different. I import them into flash at the highest quality yet they don't look the same. Any advice?
The answer relates to color spaces (profiles) and color management in Flash.
In the other creative suite applications you work with a color space to define the colors your using—i.e., if you have #ff0000 full red this will be a different color in sRGB (an RGB color space) than Adobe 1998 (a different RGB color space). You need to have a color space (profile) to make sense of the color values.
Flash doesn't honor profiles currently, which means it ignores these profiles. By default in Flash Player 10, and the only option in all players before 10, it gives these color numbers to the operating system without a color space, so the operating system is in charge of making sense of these numbers. In Windows it will assume these numbers are in the sRGB color space, on Mac it will assume that these numbers are in the monitor's color space (on my macbook this is Color LCD, which I believe is the color space for all macbooks by default).
The way to get the colors to look the best in Flash is to make sure that the document is sRGB before you bring it into Flash. In Photoshop you can convert the colors into the sRGB color space, which will change these color values into the sRGB color space, by going to Edit -> Convert to Profile, and find sRGB in the RGB dropdown. Another way to do it if you are saving just a flat image is to use File -> Save For Web & Devices and check the Convert to sRGB checkbox on the right. Now when you bring the image in to Flash and publish it it should look right on Windows, and probably better on Mac.
Flash Player 10 adds a feature where you can say that all the images are in the sRGB color space and it will hand the color values to the operating system as sRGB numbers. This makes it work better on Mac, if the swf file is viewed in an environment that honors profiles (Mac and Windows honor profiles but most browsers still ignore profiles, but that's getting better). You can turn this feature on by putting this code into your Flash file: stage.colorCorrection = ColorCorrection.ON;. Read more on that at this link: http://blogs.adobe.com/jnack/2008/10/get_better_color_through_fp10.html. I also gave a presentation on color management and blogged about it, which you can read about and watch here: http://blog.elliselkins.com/2009/02/flying-through-color-space-uflash.html.
Feel free to ask me anything. Hope this helps. -
Need to know how to disconnect the camera Nikon Ds3 (USB cable) properly after uploading images through bridge…do not want to lose images on compact flash card.
Give #navbar a width that is wide enough to hold all of the buttons within it.
#navbar {
width:####px;
Replace #### with a pixel number large enough to hold the nav buttons. -
MDT Image Deployment Using Flash Drive
Hi,
In my environment i am using MDT 2010 image deployment process to deploy Windows XP and Windows 7 OS images,
As image deployment is foccussed on multiple remote locations we have planned to move with USB Flash drive (Pen Drive) for image deployment,
The problem occurs here in normal system through diskpart utility i can able to get all the disks including my flash drive but in win pe mode i am unable to get my flash drive listed in diskpart utility.
so the image deployment process hangs on to the microsoft solution accelerator screen i am unable to predict the actual reason but i can predict this can happen because of mass storage driver problems.
I tried the same using USB Hard Disk and succeded with the deployment and i am unable to guess what makes difference between USB Hard disk and USB Flash Drive.
Can you just help me out on this to close the problem ASAP..
So that i can proceed with my roll out activities.
Thanks in advance,
SivaHi,
At last the image deployment using flash drive works for me.
I attempted the following steps,
First i converted the flsh drive to bootable flash drive using diskpart utility,This can be done in Windows 7 Operating system only.
navigate to cmd and type Diskpart,and enter the below commands,
List disk
Select Disk no
create partition primary
select partition no
active
format fs=ntfs
Assign
Exit
Upon completition,Insert windows 7 DVD to the system and do the following
Navigate to DVD Drive in my case it is G: and change directory to boot
G:cd boot
G:\Boot>Bootsect.exe /nt60 I: where I: is my flash drive
Then copy the contents to the Usb flash drive and change the first boot device of the target system to local hard disk and deploy the image
while in Win pe mode use disk part utility to check whether your disk got detected.
If everything is ok then it will work.
Thanks for your valuable time.
Thanks and Regards,
Siva
Thanks Siva Aadhi-CIT. MCITP -
Background image blew my flash file
Hi Guys,
hope someone could help me this time, i just have this question about my background image blowing up the size of my swf file. i have a 1000x600 canvas which has the same bg image, and when i publish it, my swf file has a size of 468kb, but when i remove the background image the file was reduced to 57kb.. the image was a png-24 326kb image, and its not the file in my flash that has this file size. just wondering wut happened that it gives that huge adjustment to the file?Recommendations:
1) I believe the setInterval activity is what ends up breaking things. Get rid of all the setInterval and clearInterval elements. Just use setTimeout instead, which you won't have to worry about clearing.
2) The file performance is likely suffering due to the size of the images versus the portions of them that actually get used. Create/crop the images outside of Flash to the size they will be in the Flash file, optimize them, and then import them. Also, if you combine all the elements that you animate at once together into one symbol (the text, background, and button), and animate that symbol instead of the different pieces separately, things will probably animate more smoothly as well. -
Save and read an image on compact flash
hi ;
I want to save an image in compact flash and i want read this image from this compact flash to display on the monitor ,i work with an FPGA spartan 3400a for dsp but i don't know how to do that ,any one help me please with a video or tutorialHi,
There are some reference user guides
http://www.xilinx.com/support/documentation/boards_and_kits/ug514.pdf
http://www.xilinx.com/support/documentation/boards_and_kits/ug458.pdf
http://www.xilinx.com/support/documentation/boards_and_kits/ug455.pdf
Regards
Praveen
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
---------------------------------------------------------------------------------------------- -
SWIM Jobs show failed but all images are in flash
I performed a software distribution on two different 3750 switch stacks using LMS 4.2.3 over a WAN link.
The Job Report shows this:
Copying c3750-ipbaselmk9-tar.122-55.SE4.tar from Software Repository to tftp-specific directory.
Copied successfully to C:/CSCOpx/tftpboot/rep_sw_3381422663941666305
Loading image file to flash device : rep_sw_3381422663941666305 --> flash1:c3750-ipbaselmk9-tar.122-55.SE4.tar using TFTP
Error loading image to Flash. See C:\CSCOpx\files\rme\jobs\swim\5373\3750Stack_telnet.log for the output from the device on which the image transfer failed.
Image Copy Operation Failed
Device is unlocked.
Device Upgrade Result : Failed
However, when I look at the flash on both stacks, the IOS image with the correct filesize, folders, etc. all looks right. The show boot shows it will boot to the correct image. The telnet.log file shows all the files being copied and just ends after the last file (the .bin image).
Does anyone know why this might report as failed even though the files are in flash?
I have not yet reloaded either switch as they are in production.
Thanks.OK I reloaded one of the stacks and it came up fine.
Could this error be due to the fact that the upgrade was done over a WAN link and I did not put exec-timeout 0 0 on the line vty? -
I need some help resizing my images on PS6. I am using a mac and have been trying to resize with same resolution and constaining proportions but for some reaseon the smaller resized image appears pizelated. Heres an image of before and after. The first image I use is a JPG 72dpi 1500px x1500px and I want to downsize it to 600x600px same res, but it keeps pixelating, this has never happened before. Any suggestions, thoughts?
thanks!I wouldn't say pixelated; more like blurry.
Like ConnectedCreative said, what steps are you using? Are you using "bicubic sharper" when resizing down?
Maybe you are looking for
-
WSDL Files from WAS - Can't see messages
Hi All, I am trying to call a WS on WAS 6.4 from the XI. Following the weblog https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6bdee46d-0901-0010-7a9a-b3595d441fbf I merged the 3 files an
-
Sent text messages disappearing from Pantech Jest
I have a Pantech Jest and have noticed when going back through text conversations that all of my "sent" messages have been deleted/erased even though I did not delete/erase them. Has anyone else had this problem? It's extremely frustrating.
-
My Mac operating system is OSX 10.4.11 and I "replaced" my older version of Firefox with a newer one that does not open with my system. Can you send me an older version of Firefox? Thanks!
-
JTabbedPane Background Color incorrect when using SCROLL_TAB_LAYOUT
I am tring to set the background (JDK 1.41_02) on a JTabbedPane that uses SCROLL_TAB_LAYOUT. It is reported as a bug with this example:- import javax.swing.*; import java.awt.*; import java.util.*; public class TestFrame extends JFrame { JSplitPane j
-
QuickTime Pro keeps crashing when I open "Show Movie Properties"
I keep getting the "QuickTime Player has encountered a problem and needs to close. We are sorry for the inconvenience." crash when I try and do "Show Movie Properties" on .MOV files. The error signature is: EventType : BEX P1 : QuickTimePlayer.exe P2