How to use Flash to create an interactive diagram

Hi all.
I am an extreme newbie. I would like to create an interactive diagram and somebody said I should use Flash to do it.
The idea is to create an organisational chart (like the ones you can produce in MS Word 2010). Each position will have its own box or button. When a user clicks on that box or button, a Word document or internet link will be activated and take the user to this other resource.
Is it possible to do this in Flash?
The reason why I am choosing Flash is because I would like to make alot of these diagrams and they have to go into Moodle. Apparently Flash is the only program I should use to import the diagram into Moodle.
Can anybody please help me with some advice on how to do this?
Thanks
Sharyn

For the diagram end of things... start by creating the diagram in Flash.  Whatever you intend to use as clickable items, create them as movieclip symbols so that you will be able to assign instance names to them.  You assign instance names by selecting the object on the stage and entering a unique name in the Properties panel where it says <Instance Name>.  That name will be used in the code you will use to create the clicking/linking functionality.
The the linking end of things, start simple... create a diagram that has just one item to click and get that one item working.  What you learn from that can be applied to the larger version.  The same as stated in the first paragraph applies.  The only additional info you need is creating the actual code.  To help with that you need to decide which version of Actionscript you will be using, which might depend on which version of Flash you are using.  AS3 is the most recent version of Actionscript, and it first came into being back with Flash CS3.
The first thing you need to do to make a movieclip useful code-wise is to assign it a unique instance name.  So you drag a copy of it out to the stage from the library, and while it's still selected, you enter that unique instance name for it in the Properties panel... let's say you name it "btn1"
In AS3, to make a movieclip work with code, you need to add an event listener and event handler function for it.  You might need to add a few (for different events, like rollover, rollout, clicking it, but for now we'll just say you want to be able to click it to get a web page to open.  In the timeline that holds that button, in a separate actions layer that you create, in a frame numbered the same as where that button exists, you would add the event listener:
btn1.addEventListener(MouseEvent.CLICK, btn1Click);
The name of the unique function for processing the clicking of that button is specified at the end of the event listener assignment, so now you just have to write that function out:
function btn1Click(evt:MouseEvent):void {
   var url:String = "http://www.awebsite.com/awebpage.html";
   var req:URLRequest = new URLRequest(url);
   navigateToURL(req);

Similar Messages

  • Do you know how to use Flash? can you help?

    hi all,
    Do you know how to use Flash?
    I have been trying for months to find someone who can use
    flash, who can help me, with no luck.
    I need my links on my website updating, just a couple of them
    need the text changing as i need
    to change the name/title of some pages. I have tried to do it
    myself (using a trial version of flash,
    as i dont have flash). the site was made using dreamweaver.
    the files are .FLA
    and before anyone says 'get the person who made the site to
    do it'....He wont, ive tried.
    when i tried to change them myself i cocked them up and now
    they dont work at all, see my
    website and you will see; www.stevenallenphotography.co.uk
    so, if you can use flash please can you help me? all i need
    doing is the file updating with some
    of the link titles/names changing, i.e. one link is
    'exhibitions' which needs changing to 'published work',
    please get in touch if you can help.
    thanks,
    steven.

    I used divx in my site once its really very nice! but i use it in different host not .mac...try this divx web player with video selector code --------<object id="ie_plugin" classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616"
    width="640" height="480"
    codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab">
    <embed id="np_plugin" type="video/divx"
    width="640" height="480"
    pluginspage="http://go.divx.com/plugin/download/">
    </embed>
    </object>
    <script type="text/javascript">
    // This code detects which browser we are
    // running into (IE or others) and assigns
    // the correct element (object or embed) to
    // the "plugin" variable, that we will use.
    var plugin;
    if(navigator.userAgent.indexOf('MSIE') != -1)
    plugin = document.getElementById('ie_plugin');
    else
    plugin = document.getElementById('np_plugin');
    // This is a local JS function used by our form
    // element to call the plugin functions using
    // the "plugin" variable that we defined above
    function openNewMovie()
    var url = document.forms['videoSelector'].movie.value;
    if(url != '')
    plugin.Open(url);
    </script><form name="videoSelector">
    Choose a video to play:
    <select name="movie" onChange="javascript:openNewMovie();">
    <option value="" selected>Video Selector
    <option value="http://www.yourdomain.com/folderdivx/name.divx">title1 divx
    <option value="http://www.yourdomain.com/folderdivx/name.divx">title2 divx
    </select>
    </form> ---------------------
    Hope this help!

  • How to use SNRO to create daily number range?

    Dear all,
    I would like to know how to use SNRO to create a daily number range.
    We would like to have the following sequence. The first 8 digits are date and the last 2 digits are number sequence. Each day, the last 2 digits will start from 01 again. i.e. <8-digits date><2-digit sequence>
    For example, today is 22 May 2006,
    2006052201
    2006052202
    2006052203
    Tomorrow will have sequence like this:
    2006052301
    2006052302
    2006052303
    Thanks!

    Thomas,
    I don't there is a automated way of doing as the dates do NOT follow a numbering sequence. What you can do is to create a number range for getting the last two digits every day and manually concatenate the date with the serial number.
    However, as you have to reset the counter every day that might be a issue.
    Regards,
    Ravi

  • I was wondering how to use Dreamweaver to create joomla template? Any ideas or useful resources.

    I am embarking on a new project to create a joomla template. I need your ideas on how to use Dreamweaver to create the template. TQ

    It's pretty much the same procedure with all your open source CMSs (WordPress, Drupal, Joomla!...)
    Start with this 4 Part Tutorial:
    http://www.adobe.com/devnet/dreamweaver/articles/dw_wordpress_pt1.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How to use Flash Builder  for Eclipse Luna ( is it possible??)

    How to use Flash Builder  for Eclipse Luna ( is it possible??)

    Yes. I have Flash Builder 4.6 and 4.7 running in different Eclipse Luna installs.
    More details at http://forums.adobe.com/message/4527443
    On Mac, I had to have the 32bit version of Luna for 4.6, and the 64bit version of Luna for 4.7 (and  I recently started using  4.7 with Eclipse Mars).
    For 4.6 you need to first download Eclipse 3.6 and install the Flash Builder 4.6 plugin to that Eclipse install. For 4.7 you need to download Eclipse 3.7 and install the plugin to that Eclipse install. Once it's installed in the 3.x version, you can then copy the fb*.link files from the Eclipse 3.x dropins folders into your Eclipse Luna's dropin folder.
    There is an issue where something in Flash Builder 4.7 won't work right when using it as a plugin, not sure but it might be something with building ANEs.

  • How to use CSS to create horizontal nav bar in Dreamweaver CS6

    How to use CSS to create horizontal nav bar in Dreamweaver CS6

    One of the ways to do it is this: Tryit Editor v1.9
    You can also use floats to get something to the same effect.

  • How to use the dll  created by c++ but not write a jni wrapper around

    how to use the dll created by c++ but not write a jni wrapper around through a java program. now I can't access that dll like this directly from java.

    Your question is unclear. (You haven't said what dll you are talking about.)
    But:
    If you are talking about an existing dll, then the only alternative to writing a wrapper is to use one of the wrapper generators floating around. Do a search on JACE.
    If you are talking about a dll you are writing, then run jah and get the interface to match java right away; then you won't have to write a wrapper.

  • Should i use flash to create/edit an swf interactive online book?

    Hello I'm new to Flash; as Indesign limits what I can do in terms of sound for interactive swfs (specifically I need an mp3 player/controller that would allow a reader to control a number of sound files from any page of the swf), would flash be a suitable program for creating such a book? The aim is to upload the final swf to a website for viewing online.

    Just a follow up if you don't mind... My main issue is with an mp3 file I placed in indesign, opting for a floating controller; the problem is that the controller is huge and the file stops playing on page turn, and I can't change either of these things from indesign. Can I make these changes in flash or flash builder while preserving the swf document as it is? Or should I restart the project from within flash? Ideally I'd like to use indesign to create ebooks with interactive audio, and edit them in flash to give them an interactive transcript feature that indesign can't do. Is this a reasonable workflow?

  • How to use a session, created in a jsp page, in a php page

    Hello, forgive me for the newbie question.
    Here is my problem:
    I want to have a jsp page create a session, set some session variables and then redirect to a php page which will access those same session variables.
    I have the redirection worked out, but I can't seem to find out how to use the jsp session in my php script.
    Is this possible at all, and if so, how does it work?

    Note that javascript runs on the client side, and JSP runs on the server. JSP and the session objects are NOT available to javascript in reaction to the user.
    If this function is called only when the page is first created, not when the user interacts with the page, or if you want that value to be constant with respect to the javascript, then you can do this:
    <%
      String someValue = (String)session.getAttribute("theAttributeName");
    %>
    <script type="text/javascript">
         Calendar.setup({inputField:"f_date_dfFirstPmtDate",
                                              button:"f_trigger_dfFirstPmtDate",
                                             singleClick:true,
                                              ifFormat:<%=someVale%>});
    </script>

  • Can i use flash for ui and interact with c++ builder for the rest

    i know flash can be used in c# in visual studio but i dont remember a thing of this interaction.
    is it possible to interact with c++ builder and how?
    the scenario is simple
    use flash for UI (showing-viewing data) maybe for a kiosk or something without mouse simply with touch input,
    use c++ builder for the rest , database connection data proccessing etc
    any info will be greatly appreciated
    thanks

    I would advise proper punctuation and grammar on a public forum, but to answer your questions, yes, yes you can! Flash can be used to produce any commercial imagery or animations for the purpose of making profit, as long as you have a valid license you purchased from Adobe. You bought it, you can use it for whatever you want.
    By "book", I assume you mean the "tutorial" book series made by Adobe? If so, the name of the series is "Classroom in a Book", there's one for each versions of Flash. Personally it hasn't been of much use and I would advise simply practicing by yourself and getting familiar with the tools. Look for online tutorials and publicly available projects and see how they work.

  • How to use Flash buttons/animation in a Swing/Applet?

    Hello,
    I want to use flash button as like as JButton that we use in Swing/ Applet. How can I do So?
    Please help me.
    Thanks-

    [http://java.sun.com/docs/books/tutorial/uiswing/misc/timer.html]
    Or maybe just...
    import java.awt.*;
    import java.net.*;
    import javax.swing.*;
    public class Blinky {
        public static void main(String[] args) {
            EventQueue.invokeLater(new Runnable(){
                public void run() {
                    URL url = null;
                    try {
                        url = new URL("http://www.gifanimations.com/GA/image/animations/bodyparts/eyes/eye-01.gif");
                    } catch (MalformedURLException e) {
                        throw new RuntimeException(e);
                    JFrame f = new JFrame("Blinky");
                    f.getContentPane().add(new JButton(new ImageIcon(url)));
                    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                    f.pack();
                    f.setLocationRelativeTo(null);
                    f.setVisible(true);
    }

  • How to use Flash Lite 2.1 as ActiveX component in WM application

    How to embed Flash lite 2.1 as an ActiveX component in
    Windows Mobile application(in C#)?
    From where can i include the supporting flash lite 2.1 dll's.
    Thanks in advance.
    Waiting for your reply.

    I'm having a similar (or the same) problem: I want to embed a
    flash lite (2.0) as an ActiveX component into Windows Mobile. I'm
    using Visual Studio 2005 (VC). For the desktop it works pretty
    well, but for the mobile emulator, the flash component shows no
    video. No errors are thrown.
    could you solve your problem, kts_82?
    Thank you.

  • How to Use iSetup to create new environment in copy of clean master.

    Hi,
    I want to use iSetup to create a complete new environment. No manual setup has been done yet in the copy of the master (no Business Group, No OU, no Chart of Acc: nothing). Source environment is being setup rightnow by functional consultants
    Can one please provide me with a manual or guideline how to start this challenging job. Maybe a best practise can be used ?
    In the end we want to setup an environment based on a clean master.
    ( practical data: eBS 12.1.2 on linux )
    Thanks in advance
    Guido

    Hi Guido,
    You can get in touch with [email protected] who is the product manager for iSetup. He would able to assist you to go forward in the right direction.

  • How to use Flash recovery area only for flashback database feature

    I would like to use flash recovery area only for flashback database feature, which means, flash recovery area will store only flashback logs.
    I dont want to use that file system for any other files, like archive log files, database backups, control file copies, multiplex redo log, etc
    is it possible? I want to use this feature only for flashback database option and hence i dont want to disturb any existing configuration in my database
    including backup jobs. Is it required to store archive redo log files also in flash recovery area to use the flashback database feature?
    I certainly can't afford to have a copy of entire database in this file system as size of my DB is more than the flash recovery area file system I have.
    Thanks
    Sarayu

    user13312943 wrote:
    Aman,
    I think i was not clear in my question. Let me try again
    My only requirement is to use flashback database feature (or be prepared to use if required). I dont want to create a large file system to use this FRA to store all these files. Out of all the files being stored here copy of data files seems to be consuming more space. I see these files are classified as transient and permanent files. I am okay with permanent files. I fear that this file system may consume more space if i store backup files on disk. I want database backups to go to tapes, not to the FRA disk. Is it possible?
    Thanks for your reply
    Okay, well in that case you can use RMAN and push the backups to the tape drives. FLB logs would be stored on the FRA.
    Aman....

  • How to use BAPI_PROJECT_MAINTAIN to create network activities under WBS elements ?

    Hello ABAPers,
    I have been using BAPI_PROJECT_MAINTAIN to create Project and WBS elements and I have done them without any errors.
    Now I need help on how to create network activities.
    Can anyone share on how to pass data to I_NETWORK table and I_ACTIVITY table and a brief description on what they are ?
    Thanks in advance,
    Kiran

    Hi Kiran,
    Do the following steps
    1.pass the following to i_method_project
    method_project-refnumber = lv_refnum.
    method_project-objecttype = 'NETWORK-ACTIVITY'.
    method_project-method = 'UPDATE'.
    concatenate aufnr(network nr) vornr(activity) into method_project-objectkey.
    2.Into i_activity
    activity-network = aufnr.
    activity-activity = vornr.
    3.i_activity_update
    activity_update-network = 'X'.
    activity_update-activity = 'X'.
    It should work.If not let me know.
    Rgds,
    K.S.

Maybe you are looking for

  • Zen Vision M 30GB - How to edit more than one tag at once

    Hello, I?m looking for a comfortable way to edit the tags on my player. I?ve installed ZEN Vision M Series Media Explorer, but I can only add one file at once. I?ve tried a normal tageditor, but I can't see the player in the device list. Does anyone

  • How can I draw image in a vbean?

    How can I draw image in a vbean? this is my code : import java.awt.BorderLayout; import java.awt.Image; import java.awt.Graphics; import java.net.MalformedURLException; import java.net.URL; import com.sun.jimi.core.Jimi; import oracle.forms.handler.I

  • ODBC driver could not be loaded due to system error code 1114

    Hi! We have an application with an ODBC connection. The ODBC connection is working properly in my developer machine, via remote desktop and using it directly, in my test machine (virtual machine, accessed by remote desktop), and in the far test place

  • Endeca SearchAdjustments cartridge and Dimension Search Results cartridge

    Hi In Endeca Discover demo, if search word is 'codac' SearchAdjustments adjusts 'codac' to 'codec' (it doesn't adjusts to 'Kodac' ) Dimension Search Results find 'Kodac' dimension. Can anyone explain each logic ? Where can I configure these behavior

  • Change employee name in the future

    If you change an employee's surname to take effect from a future date, the system shows this change with immediate effect in the PA30 and PA40 screens. The users want to see the name as of the system date. I have seen this issue before quite a few ye