I need help with controlling two .swf's from third.

Hi, thanks for reading!
I need help with controlling two .swf's from third.
I have a problem where I need to use a corporate designed
.swf in a digital signage solution, but have been told by the legal
department that it can not be modified in any way, I also can't
have the source file yada yada. I pulled the .swfs from their
website and I decompiled them to see what I was up against.
The main swf that I need to control is HCIC.swf and the
problem is it starts w/ a preloader, which after loading stops on a
frame that requires user input (button press) on a play button,
before the movie will proceed and play through.
What I have done so far is to create a container swf,
HCIC_container.swf that will act as Target for the HCIC.swf, and
allow me to send actionscript to the file I'm not allowed to
modify.
I managed to get that done with the help of someone on
another forum. It was my hope that the following script would just
start HCIC.swf at a frame past the preloader and play button, and
just play through.
var container:MovieClip = createEmptyMovieClip("container",
getNextHighestDepth());
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(this);
mcLoader.loadClip("MCIC.swf", container);
function onLoadInit(mc:MovieClip) {
mc.gotoAndPlay(14);
But unfortunately it didn't solve my problem. Because there
is a media-controller.swf, that is being loaded by HCIC.swf that
has the controls including the play button to start HCIC.swf.
Here's a link to a .zip file with all 3 .swf files, and all 3
.fla files.
http://www.axiscc.com/temp/HCIC.zip
What I need to do is automatically start the HCIC.swf file
bypassing the pre-loader and play button without editing it or the
media-controller.swf in anyway. So all the scripting needs to be
done in HCIC_container.swf.
I know this is confusing, and its difficult to explain, but
if you look at the files it should make sense.
ActionScripting is far from my strong point, so I'm
definitely over my head here.
Thanks for your help.

Got my solution on another forum.
http://www.actionscript.org/forums/showthread.php3?t=146827

Similar Messages

  • I need help with these two crash IDs nsStyleContext::FindChildWithRules(nsIAtom const*, nsRuleNode*) and DFusionWebPlugin@0x86b5

    I need help with these two crashes...
    PL_DHashTableOperate | GCGraphBuilder::NoteRoot(unsigned int, void*, nsCycleCollectionParticipant*)
    DFusionWebPlugin@0x86b5
    The first one happened a couple of days ago, a few times and not on any specific website.
    The second one only happens on the site below.

    The second one indicates a problem with the DFusionWebPlugin that shows in your More system details list.
    # D'Fusion Web Plug-In for Safari 64 bits (3.00.13774.0)
    # D'Fusion Web Plug-In (3.00.13774.0)
    What you posted are crash signatures.<br />
    It might help if you post the actual crash IDs (bp-xxxxxxxx-xxxxxxxxx-xxxx-xxxxxxxxxxxx).<br />
    You can find the IDs of the submitted crash reports on the <i>about:crashes</i> page.
    See http://kb.mozillazine.org/Breakpad (Mozilla Crash Reporter)

  • Need help with FLV type SWF playback in flash movie

    Hi,
    I have three external SWF files from a client without FLA
    sources. The SWFs were done 3 years ago by someone else so there is
    no way to modify the existing SWF files. These contain no
    interactivity but may involve nested clips on the main timeline.
    They are AS1 or AS2 files so they need to be done with AS2
    scripting to keep it simple.
    I need to call these SWF files inside another flash movie and
    play them in a player window as if they were video files with
    play/pause, seekbar and volume controls. The needed functionality
    is similar to FLV players. My controls will use custom graphic
    buttons and sliders mimicking the look of CNN video player window.
    Does anyone know a good tutorial on how to script these
    controls for SWF?
    Most likely I think I will load it in a clip and I am
    thinking that I will need to get the duration of the loaded swf in
    order to set up the seekbar.
    Thanks in advance,
    Attila

    I think your professor, or somebody, gave you directions with ActionScript 2 programming. In AS2, what oyu have here would have worked just fine. But, in AS3, you need to use a fairly different approach. Your buttons, and their instance name, can remain the same. But now, in AS3, you have to add event listeners in the following manner:
    yourButtonName.addEventListener(MouseEvent.CLICK, yourListenerFunction);
    In your case, you can do one of two things - A) assign a unique listener function to each button, or B) assign the same listsner to both functions:
    A)
    start_btn.addEventListener(MouseEvent.CLICK, startPolygon);
    stop_btn.addEventListener(MouseEvent.CLICK, stopPolygon);
    function startPolygon(e:MouseEvent):void{
        polygon.play();
    function stopPolygon(e:MouseEvent):void{
        polygon.stop();
    B)
    start_btn.addEventListener(MouseEvent.CLICK, controlPolygon);
    stop_btn.addEventListener(MouseEvent.CLICK, controlPolygon);
    function controlPolygon(e:MouseEvent):void{
       if (e.target.name == "start_btn") {//Test for the name of the object that dispatched the CLICK event
          polygon.play();
       } else if (e.target.name == "stop_btn") {
          polygon.stop();
    When I'm using several buttons that do the same/nearly similar things, I favor approach B over A, as it keeps me to jsut one single function to deal with.

  • Need help with ext. SWF and XML

    I'm trying to create an External SWF to load into my main
    site (photography).
    Home | Portfolio | Published Work | Bio | Contact
    The SWF I want to load externally is Portfolio because it has
    5 sections
    Those 5 sections are:
    -Editorial
    -Adventure
    -Fly Fishing
    -Multimedia
    -Weddings
    I'm looking to keep this dynamic as possible, but I'm one of
    those guys who doesn't write code from scratch, but knows AS well
    enough to modify a base or a generic template if ever given. It
    would be easier to use one subsection as an example, which could be
    applied to all others.
    e.g. "Fly Fishing" 1-Main container; 5-10 thumbnails (1
    dyanamic thumbnailcontainer)
    - I don't know XML (but can modify it). basically having an
    ID tag for each image, possibly dynamically generate a thumbnail
    too. Also have a spot for dynamic text to load in (captions with
    multiple text lines for images upon onRelease - maybe this could be
    it's own MC that loads on top of the main photo container)
    - on (release) on a thumbnail: there would be a little
    information icon that would appear. If you mouse over, it would
    overlay a layer over that specific ID photo, and the text appear.
    RollOut it would fade out the layer above that specific ID photo.
    - Transition: FadeOut/Blur/Exposure Blur, something
    interesting to that nature.
    - Thumbnails: is it just easier to create thumbnail images
    manually, and just create a separate container?
    - Image folders: I would imagine each section would have
    it's own watch folder. For example "Fly Fishing" would be a folder
    "/swfImg_flyFishing/", but perhaps having one XML file.
    - XML file details
    id
    location
    caption summary
    title
    As you can see, if I had one template to build off of, I
    could repeat it self for the others. I need help and if there is a
    flash component (free or purchase) that does at least 70% of what I
    need, please share information. thank you!Portfolio

    I know doing a pushback to the client requires Flex Data
    Services, but since I don't use FDS I can't tell you exactly how.
    But look in the documentation about "pushing" data to the client.
    Once you've figured out how to do that, you can trigger that push
    once you've finished editing the xml file. You may want to ask over
    in the FDS forum.

  • Need help with loading child .swf into parent .swf

    Hello,
    I am having trouble with an external .swf that isbeing loaded
    into the master.swf. All of the files loads perfectly. However the
    .swf that has the contact form movieclip in it will not work. The
    combobox does that display any of the items listed and the form is
    not being sent to the server. Can anyone give me a hand with
    this?

    can you post your code

  • Need help with EXS24 "read velocity range from file name"

    I am trying to import 127 drum samples to a single key using the option shown here. The option says "Map to key dropped on and read velocity range from file name". I can find no documentation in the manuals on how to do this. What is the syntax required in the file name to make this work? I need to do several of these imports. The capability is cleary there, but I need help on how the file name should be formatted. My thanks to anyone who can help.

    Hi
    Not a direct answer to your question, but if you are doing a lot of sample mapping etc, you may want to check out Redmatica's KeyMap Pro or the simpler Keymap 1:
    http://www.redmatica.com
    CCT

  • Need help with Flash CS6 swf files

    I have upgraded to Flash CS6 from CS5.  My problem is now whenever I made an swf movie, install it into an html page then upload it is doesnt show up.  I didnt have this problem with CS5.  I run it in test and it works on my computer but when I upload it it doesnt.  I have uploaded the script folder so that wouldnt seem to be the problem.  I dont know what is going wrong.  Some help would be greatly appreciated.
    Thanks
    Brent
    http://baconball.com/index2013.html

    open your fla is flash pro.
    click file>publish settings
    tick swf and html wrapper
    click file>publish
    upload the newly published swf and html to your server.
    open the newly published server html using your browser.
    any problem?  if yes, post the url to your newly published html.

  • Need help with doing two things at once

    hey all!
    i'm trying to write a program where the user has twenty seconds to guess the houshold item. every five seconds the pc gives a clue, if the user manages to guess it in time, they win! else...
    anyway, my compiler comes up with nothing but when i execute it and press "go" to start the process, the program does what it is meant to exept for at the end where it always displays "you lose" regardless of anything that has happened.i'm not sure what i'm doing wrong.
    here's the code:
    import java.util.Random;
    import javax.swing.event.DocumentListener;
    import javax.swing.event.DocumentEvent;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.FlowLayout;
    import static java.lang.System.out;
    import java.util.Timer;
    import java.util.TimerTask;
    class Quiz extends JFrame implements ActionListener, ItemListener{
         public static void main(String args[]){
              new Quiz();
         String qp;
         int duh = 1;
         int funnum = 0;
         Timer othertime = new Timer();
         JLabel ql1 = new JLabel();
         JLabel ql2 = new JLabel();
         JLabel ql3 = new JLabel();
         JLabel ql4 = new JLabel();
         JLabel ql5 = new JLabel();
         JLabel ql6 = new JLabel();
         JLabel timelabel = new JLabel();
        JButton qlb1 = new JButton("go");
        JComboBox box = new JComboBox();
         public Quiz(){
         setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         setLayout(new FlowLayout());
         add(ql1);
         ql1.setVisible(false);
         add(ql2);
         ql2.setVisible(false);
         add(ql3);
         ql3.setVisible(false);
         add(ql4);
         ql4.setVisible(false);
         add(ql5);
         ql5.setVisible(false);
         add(ql6);
         add(timelabel);
         add(qlb1);
         qlb1.addActionListener(this);
         add(box);
         box.addItem("");
         box.addItem("shower");
         box.addItem("bed");
         box.addItem("spade");
         box.addItem("knife");
         box.addItem("book");
         box.addItem("rake");
         box.addItem("bookshelf");
         box.addItem("sink");
         box.addItem("bedside lamp");
         box.addItem("wooden spoon");
         box.addItem("'quiet' sign");
         box.addItem("baking tray");
         box.addItem("desk");
         box.addItem("toilet");
         box.addItem("compost");
         box.addItem("pillow");
         box.addItem("blanket");
         box.addItem("pan");
         box.addItem("study computer");
         box.addItem("tap");
         box.addItem("bookworms");
         box.addItem("duvey");
         box.addItem("bath");
         box.addItem("plants");
         box.addItem("cooker");
         box.addItem("trampoline");
         box.addItemListener(this);
         box.setEnabled(false);
         pack();
         setVisible(true);     
         public void actionPerformed(ActionEvent e){
         qlb1.setEnabled(false);
         int rndmnm = new Random().nextInt(10)+1;
         final int getnum = rndmnm;
         switch(getnum){
         case 1:
         ql1.setText("this is a kitchen item");
         ql2.setText("it is used for cooking");
         ql3.setText("it requires heat");
         ql4.setText("it needs greasy paper");
         qp = "baking tray";
         break;
         case 2:
             ql1.setText("this is a kitchen item");
             ql2.setText("this item has no food put into it to cook");
             ql3.setText("this item does not require heat");
             ql4.setText("it is used for mixing ingredients");
             qp = "wooden spoon";
            break;
           case 3:
             ql1.setText("this is a bathroom item");
             ql2.setText("it is used when washing");
             ql3.setText("it does not create foam");
             ql4.setText("it can be relaxing");
             qp = "bath";
                break;
                case 4:
                ql1.setText("this is a bathroom item");
                ql2.setText("it squirts water");
                ql3.setText("it is stationary");
                ql4.setText("temperature does not matter");
                qp = "toilet";
                break;
                case 5:
                ql1.setText("this is a bedroom item");
                ql2.setText("it is slept on top of");
                ql3.setText("all except the head sleeps on top of it");
                ql4.setText("it is not hard");
                qp = "duvey";
                break;
                case 6:
                ql1.setText("this is a bedroom item");
                ql2.setText("it is not hard");
                ql3.setText("legs generally never lie on top of it");
                ql4.setText("it is nearly as long as the duve");
                qp = "blanket";
                break;
                case 7:
                ql1.setText("this is a library item");
                ql2.setText("it is of great use");
                ql3.setText("it is material");
                ql4.setText("it stores much data");
                qp = "bookshelf";
                break;
                case 8:
                ql1.setText("this is a library item");
                ql2.setText("it is simple to use");
                ql3.setText("you do not nead to search much to find it");
                ql4.setText("it is not made of wood or other carpentry material");
                qp = "'quiet' sign";
                break;
                case 9:
                ql1.setText("this is a garden item");
                ql2.setText("it covers area");
                ql3.setText("it can crush plants...");
                ql4.setText("...but is also very useful to them");
                qp = "compost";
                break;
                default:
                ql1.setText("this is a garden item");
                ql2.setText("it requires heavy work to do");
                ql3.setText("and good looking after");
                ql4.setText("the outcome is surprisingly delicate");
                qp = "plants";
                break;
         othertime.scheduleAtFixedRate(new TimerTask() {
                   int otherval = 0;
                   public void run() {
                        switch (otherval)
                             case 1:
                             timelabel.setText("20");
                                  ql5.setText(qp);
                                  ql1.setVisible(true);
                                  box.setEnabled(true);
                                  break;
                             case 2:
                                 timelabel.setText("19");
                                 break;
                                      case 3:
                                 timelabel.setText("18");
                                 break;
                                      case 4:
                                 timelabel.setText("17");
                                 break;
                             case 5:
                                  timelabel.setText("16");
                                  ql2.setVisible(true);
                                  break;
                                       case 6:
                                 timelabel.setText("15");
                                 break;
                                      case 7:
                                 timelabel.setText("14");
                                 break;
                                      case 8:
                                 timelabel.setText("13");
                                 break;
                                      case 9:
                                 timelabel.setText("12");
                                 break;
                             case 10:
                                 timelabel.setText("11");
                                  ql3.setVisible(true);
                                  break;
                                       case 11:
                                 timelabel.setText("10");
                                 break;
                                      case 12:
                                 timelabel.setText("9");
                                 break;
                                      case 13:
                                 timelabel.setText("8");
                                 break;
                                      case 14:
                                 timelabel.setText("7");
                                 break;
                             case 15:
                             timelabel.setText("6");
                                  ql4.setVisible(true);
                                  break;
                                       case 16:
                                 timelabel.setText("5");
                                 break;
                                      case 17:
                                 timelabel.setText("4");
                                 break;
                                      case 18:
                                 timelabel.setText("3");
                                 break;
                                      case 19:
                                 timelabel.setText("2");
                                 break;
                             case 20:
                                 timelabel.setText("1");
                                 break;
                             case 21:
                                 timelabel.setText("");
                                 duh --;
                             if(duh == 1){
                             ql6.setText("you win!!!");     
                             } else {
                             ql6.setText("you lose");
                                  break;
                        otherval++;
                   } }, 1000, 1000);
           public void itemStateChanged(ItemEvent e){
                        box.setEnabled(false);
                        if(box.getSelectedItem() == ql5.getText()){
                        duh ++;
                        } else {
                      funnum ++;
      }as i say, the ending will always be "you lose".
    anyhoo, for those of you who want a question its "what am i doing wrong that prevents the user from winning?"
    thankyou for your help (if you do help).

    the point of the decremation is that duh is incremented if you get the answer right,
    public void itemStateChanged(ItemEvent e){
                        box.setEnabled(false);
                        if(box.getSelectedItem() == ql5.getText()){
                        duh ++;
                        } else {
                      funnum ++;
                   } and then duh is decremented, like so:
         case 21:
                                 timelabel.setText("");
                                 duh --;
                             if(duh == 1){
                             ql6.setText("you win!!!");     
                             } else {
                             ql6.setText("you lose");
                                  break;the point is that if the user gets it right, duh should be incremented, then in the switch statements decrements the value of duh. so if the user got it right, duh should equal 1. else duh will be decreased to zero
    hope that makes it more clear (i'm not very good with explaining stuff)

  • Need help with control system that reduces a flat output signal every time a certain input exceeds given value

    I'm having difficulty setting up a closed loop control system that reduces one of my voltage outputs (connected to a high voltage system) by 30% every time a measured voltage exceeds a certain threshold value.  I'm using a USB 6229 DAQ.  I've been trying to create a waveform that looks like a DC signal, but the only waveforms that I can seem to manipulate while my VI is running are the stock waveform types.  Also, I've tried to use a formula node or conditional structure to update the output value every time the measured voltage exceeds a given value, but everything I do reinitializes the output value every time it runs or won't store the previous signal value.  I'm using LabVIEW 8.6 and don't have the PID or similar express VI's.  I've attached the mess I've got working right now.  Can anyone help?  I'm really stuck!
    Thanks! 
    Attachments:
    HiV step down.vi ‏40 KB
    output control.vi ‏100 KB

    I'm sorry it's such a mess; I'm still pretty new at this.  These are both little driver programs for a larger overall control program. 
    Output control is meant to send a flat signal to the DAQ whose value can be manipulated while the VI is running.  I have the second activated segment merely to check the values being output.  I didn't realize I attached a version with a meaningless control...I had a control where the user would put in the stating voltage (the high voltage source has a 1V-100V setting for external control).  I've attached this slightly different but equally dysfunctional version.  Ideally, I would have liked something like the analog signal generator vi to come with an input wiring for offset on the DC signal.  Most of the code was diabled because it is copied from an example; it is largely rubbish.  I initially used the DAQ Assistant, but when things weren't working out I switched to putting in each step manually to try to troubleshoot.
    As far as HiV step down is concerned, I've tried something different with a nested case structure (if that's the right terminology?), and I've attached that file.  I think this problem has been solved, but you never know!
    Attachments:
    output control slightly different.vi ‏100 KB
    HiV step down w case structures.vi ‏44 KB

  • Need Help With Combining Two Variables For A Redirect

    Hello-
    <br />
    <br />In a different part of my site (built with ADDT) I have this script that creates a variable by combining two session variables, and then the new variable is submitted into a mysqul database table using a hidden form field:
    <br />
    <br />
    <form>
    <input type="hidden" name="exerreference" id="exerreference" value="<?php echo $_SESSION['kt_login_user']; ?><?php echo $_SESSION['kt_exer_reference']; ?> <br />" />
    <br />
    <br />There is also this part of the script in the header script:
    <br />
    <br />$ins_exer1-&gt;addColumn("exerreference", "STRING_TYPE", "POST", "exerreference");
    <br />
    <br />What I am trying to do now on another page is combine a session variable "kt_login_user" with a piece of dynamic text "AA" so that I can compare it to the field "exerreference" that was inserted into the database using the above script. If the two variables match, the idea is to have a redirect to another page.
    <br />
    <br />So in a hypothetical example, if the value of the session variable "kt_login_user " is "bestperson," and static text is "AA" then I need to create the variable bestpersonAA (because this is how the variables exist in the exerreference recordset). This variable bestpersonAA then needs to be compared to the recordset value exerreference and if they match, the page redirects to ../previous/portalpre.php. If the two variables do not match, then there is no redirect.
    <br />
    <br />Here is what I have so far:
    <br />
    <br />if (isset($_SESSION['kt_login_user']))
    <br />{
    <br />if ($_SESSION['kt_login_user'.'AA'] = $row_Recordsetexer1['exerreference'])
    <br />{
    <br /> header ("Location: ../previous/portalpre.php");
    <br />}
    <br />}
    <br />
    <br />The script doesn't work yet - it's redirecting regardless of if the two varibles match. Any ideas on the correct syntax to get this working correctly?
    <br />
    <br />Thanks
    <br />Dale</form>

    Hi Dale,
    if ($_SESSION['kt_login_user'.'AA'] = $row_Recordsetexer1['exerreference'])
    for checking whether two variables match, you´ll need the == comparison operator:
    if ($_SESSION['kt_login_user'.'AA'] == $row_Recordsetexer1['exerreference'])
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Need help with importing flash/swf into fireworks???? Is it possible???

    Hi, Is it possible to import a flash/swf file in to
    fireworks... If so... how..????
    Thank You for Your Help...

    can you post your code

  • I need help with combining two pdf files together but it won't let me in the latest Acrobat DC?

    Hi,
    I had two ai files, 11 by 17 on separate pages, and made them into pdf's. When I combine the files, it will let one out of the two files go through. The funny thing is that it will let the larger file go through than the smaller file. The file that went through had been in  ai, dropped it into photoshop and put it back into ai again. The file that won't go through is a quote with different text. What should I do? What does pdf/a, pdf/x, pdf/e and preflight mean?
    Thank you

    Make sure neither of the PDF have been secured in some manner like password protection, form rights or forms distribution.
    Forms created with live cycle cannot be combined by Acrobat.

  • HT4528 I am trying to sync iTunes and download ringtones from Apple store.  I am not able to on my iPhone.  need help with these two issues

    I am having issues with several areas on my iPhone:
    1. When I am trying to update my iTunes on my phone from my laptop I have trouble syncing to my iPhone. How do I get my songs from iTunes transfered to my iPhone?
    2. I am not able to purchase/download ring tones to my iPhone.  Am I able to purchase ringtones?
    3. My daughter has an iPhone also, and it appears that we have to share contacts?  My phone was populated with her contacts and vice versa.  How do I seperate the contacts?

    If it's an iPhone 4S or earlier, download iTunes 10.6.3. This requires Mac OS X 10.5.8.
    If it's an iPhone 5, you need to buy a Mac OS X 10.6 DVD, run the Mac OS X 10.6.8 combo updater, and then install iTunes 11.
    (80456)

  • Need help with an automating a "Message from webpage" click.

    Any help would be appreciated. I guess I would consider myself as a beginner with VB.NET.
    Basically - My program launches an internet explorer window. Points to a specific webpage that has records. Finds the "check all" and clicks it, then finds and clicks "delete".
    I am stuck at this part. A "Message from webpage" pops up wanting to confirm the deletion of the records. I have 50 records per page and an excess of 14,000 records each day that need to be deleted. I do not have time to click OK on every single
    page.
    I have tried to sendkey function, which worked for a while but for some odd reason, it quit working. Someone suggested using API, which I know nothing about. Please help me! I am desperate!
    Here is my code. I know the "threading.thread.sleep" isn't good to use but I need someway to pause. Like i said, I am a beginner, so please be easy!
    Public Class Form1
    Dim oInputs As Object
    Dim oWShell As Object
    Private Sub btndel_Click(sender As Object, e As EventArgs) Handles btndel.Click
    With CreateObject("InternetExplorer.Application")
    .visible = True
    .navigate("WEDPAGE GOES HERE!")
    Threading.Thread.Sleep(3000)
    oInputs = .document.getElementsbytagname("a")
    For Each elm In oInputs
    If InStr(elm.innertext, "(Un)Check All") > 0 Then
    elm.click()
    Exit For
    End If
    Next
    For Each elm In oInputs
    If InStr(elm.innertext, "Delete") > 0 Then
    elm.click()
    Exit For
    End If
    Next
    Do While .busy Or .readystate <> 4
    Threading.Thread.Sleep(2000)
    Loop
    End With
    Dim objShell = CreateObject("WScript.Shell")
    Dim Success = objShell.AppActivate("Message from webpage")
    Do Until Success = True
    Threading.Thread.Sleep(1000)
    Success = objShell.AppActivate("Message from webpage")
    Loop
    Application.DoEvents()
    AppActivate("Message from webpage")
    SendKeys.Send("{ENTER}")
    End Sub

    Hi msnyder1112,
    Thank you for posting in MSDN forum.
    Since this issue is related to the VB.NET, so we will move this case to VB forum:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral , you will get better support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Need help with the hover over images from small to bigger

    I read the tutorial about the hover over the small image shows a bigger image. I thought I would try it own my own but it did not work, do I need to make a link to the CSS file or do I need to do something different. Please help

    Here is the tutorial link:
    http://www.dreamweaverclub.com/dreamweaver-show-larger-image.php
    This is a pure CSS Image Swap without the need for JavaScript behaviors.
    It places the thumbnail image on a page with a "nolink" link or anchor so the  CSS hover rule can invoke the appearance of the larger  image inside  an absolutely positioned division (APDiv) layer.
    Paste the CSS code into the top of your page between the <head> and </head> tags.
    <style type="text/css">
    /**image to large**/
    #picture {width:100px; height: 250px; background-color:#ffffff;}
    #picture a.small, #picture a.small:visited { display:block; width:100px; height:100px; text-decoration:none; background:#ffffff; top:0; left:0; border:0;}
    #picture a img {border:0;}
    #picture a.small:hover {text-decoration:none; background-color:#000000; color:#000000;}
    #picture a .large {display:block; position:absolute; width:0; height:0; border:0; top:0; left:0;}
    #picture a.small:hover .large {display:block; position:absolute; top: 90px; left:150px; width:200px; height:200px; }
    </style>
    Paste the HTML code between the <body> and </body> tags:
    <div id="picture">
    <a class="small" href="#nogo" title="small image"><img src="small-image.jpg" width="125" height="83" title="small image" />
    <img class="large" src="large-image.jpg" title="large image" /></a>
    </div> <!--end picture-->
    Change small-image.jpg and large-image.jpg to your own.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

Maybe you are looking for

  • Travel costs not appearing in the sttlement and in standerd form prf0

    Dear Experts. i could'nt get travel costs in the settlement and in the prf0 -standerd form but i could get meals perdiem reimbursement and accomidation reimbursement. could u pls pass some information i have configured reimbursements for travel costs

  • Iphone 5s has been hung. Repeating Apple logo on the screen but not shutting down or not even restarting

    My Iphone 5s is neither restarting nor it is shutting down. Apple logo has been glowing and after each few minutes blue screen is coming for couple of second and apple logo is coming repeatedly.

  • [CS3 JS] Getting information about Photoshop images in InDesign

    Hello, Through an InDesign script I can get many pieces of information about an image such as the file name, resolution in PPI, dimension in inches, color mode, etc. What I am wondering is if it is possible to find out how many layers a Photoshop ima

  • Solution Manager Configuration

    Hi All, I want to configure Solution Manager for Support Activities and their reporting like creation of tickets by end user, resoultion time according to category. I need a documentation on the same if possible some configuration document. Help on t

  • Deletion from parent table

    Hi, Is it possible to delete parent records from parent table without deleting from child tables ? I can delete the records after disabling the constraints . But I couldn't enable the constraint on child table after deletion of parent records from pa