Add  C or assemly code into Director

Hello:
Is possible to use (or add) C or assembly language code into
Director?.
thank you

You can also package your code as a dll and then link to it
using an Xtra.
Check out:
http://www.mediamacros.net/customer/product.php?productid=32
http://www.ravware.com/glu32.htm
Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

Similar Messages

  • How can I add advertisement code into flash game?

    hi mates,
    just want to ask about loading advertisement code!
    How do you add the advertisement code (adsense) into flash games??
    my site Funny Games have over 5k games but they are getting from others sites thus I have no original files. How can I add more code into the current files?

    Unless the games were pre-made to allow you to specify some variables in the page code or some external file, you won't be having any luck... you cannot add code to the games unless you have the source files, which you apparently don't have.

  • How to create a text file or XML file  and add content through  code into it...

    Hi Everyone,
    How to create a text file and add content through the code to the text file eform javascript ......orelse can we create a text file in life cycle designer...
    Else say how to create a new XML file through the code and how some content like Example "Hello World".

    You can create a text file as a file attachment (data object) using the doc.createDataObject and doc.setDataObjectContents:
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.450.html
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.528.html
    You can then export the file with the doc.exportDataObject method:
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.463.html
    This won't work with Reader if it hasn't been given the file attachment usage right with LiveCycle Reader Extensions.

  • How to enter printer code into new eprint acount. first acount was deleted. (photosmart 7510)

    I eneterd my printer code into my eprint account, then mistakenly deleted the account. I set up a new account, but now I can't add the printer. I get the message "invalid code". The printer is a photosmart 7510.

    You may need to disable and then enable Web Services from your printer to get a new printer code and then register that code.
    I am an HP employee

  • How to restructure this code into separate classes?

    I have C# code that initializes a force feedback joystick and plays an effect file(vibrates the joystick). I have turn the console application into library
    code to make a dll so that I can use it in LabVIEW. 
    Right now all the code is written under one class, so went I put the dll in LabVIEW I can only select that one class. labVIEW guy told me that I need to
    restructure my C# code into separate classes. Each class that I want to access from LabVIEW needs to marked as public. Then I can instantiate that class in LabVIEW using a constructor, and call methods and set properties of that class using invoke nodes and
    property nodes.
    How can I do this correctly? I tried changing some of them into classes but doesn't work. Can you guys take a look at the code to see if it is even possible
    to break the code into separate classes? Also, if it is possible can you guide me, suggest some reading/video, etc.
    Thank you
    using System;
    using System.Drawing;
    using System.Collections;
    using System.Windows.Forms;
    using Microsoft.DirectX.DirectInput;
    namespace JoystickProject
    /// <summary>
    /// Summary description for Form1.
    /// </summary>
    public class Form1 : System.Windows.Forms.Form
    private System.Windows.Forms.Label label1;
    /// <summary>
    /// Required designer variable.
    /// </summary>
    private System.ComponentModel.Container components = null;
    private Device device = null;
    private bool running = true;
    private ArrayList effectList = new ArrayList();
    private string joyState = "";
    public bool InitializeInput()
    // Create our joystick device
    foreach(DeviceInstance di in Manager.GetDevices(DeviceClass.GameControl,
    EnumDevicesFlags.AttachedOnly | EnumDevicesFlags.ForceFeeback))
    // Pick the first attached joystick we see
    device = new Device(di.InstanceGuid);
    break;
    if (device == null) // We couldn't find a joystick
    return false;
    device.SetDataFormat(DeviceDataFormat.Joystick);
    device.SetCooperativeLevel(this, CooperativeLevelFlags.Exclusive | CooperativeLevelFlags.Background);
    device.Properties.AxisModeAbsolute = true;
    device.Properties.AutoCenter = false;
    device.Acquire();
    // Enumerate any axes
    foreach(DeviceObjectInstance doi in device.Objects)
    if ((doi.ObjectId & (int)DeviceObjectTypeFlags.Axis) != 0)
    // We found an axis, set the range to a max of 10,000
    device.Properties.SetRange(ParameterHow.ById,
    doi.ObjectId, new InputRange(-5000, 5000));
    // Load our feedback file
    EffectList effects = null;
    effects = device.GetEffects(@"C:\MyEffectFile.ffe",
    FileEffectsFlags.ModifyIfNeeded);
    foreach(FileEffect fe in effects)
    EffectObject myEffect = new EffectObject(fe.EffectGuid, fe.EffectStruct,
    device);
    myEffect.Download();
    effectList.Add(myEffect);
    while(running)
    UpdateInputState();
    Application.DoEvents();
    return true;
    public void PlayEffects()
    // See if our effects are playing.
    foreach(EffectObject myEffect in effectList)
    //if (button0pressed == true)
    //MessageBox.Show("Button Pressed.");
    // myEffect.Start(1, EffectStartFlags.NoDownload);
    if (!myEffect.EffectStatus.Playing)
    // If not, play them
    myEffect.Start(1, EffectStartFlags.NoDownload);
    //button0pressed = true;
    protected override void OnClosed(EventArgs e)
    running = false;
    private void UpdateInputState()
    PlayEffects();
    // Check the joystick state
    JoystickState state = device.CurrentJoystickState;
    device.Poll();
    joyState = "Using JoystickState: \r\n";
    joyState += device.Properties.ProductName;
    joyState += "\n";
    joyState += device.ForceFeedbackState;
    joyState += "\n";
    joyState += state.ToString();
    byte[] buttons = state.GetButtons();
    for(int i = 0; i < buttons.Length; i++)
    joyState += string.Format("Button {0} {1}\r\n", i, buttons[i] != 0 ? "Pressed" : "Not Pressed");
    label1.Text = joyState;
    //if(buttons[0] != 0)
    //button0pressed = true;
    public Form1()
    // Required for Windows Form Designer support
    InitializeComponent();
    // TODO: Add any constructor code after InitializeComponent call
    /// <summary>
    /// Clean up any resources being used.
    /// </summary>
    protected override void Dispose( bool disposing )
    if( disposing )
    if (components != null)
    components.Dispose();
    base.Dispose( disposing );
    #region Windows Form Designer generated code
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    public void InitializeComponent()
    this.label1 = new System.Windows.Forms.Label();
    this.SuspendLayout();
    // label1
    this.label1.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
    this.label1.Location = new System.Drawing.Point(8, 8);
    this.label1.Name = "label1";
    this.label1.Size = new System.Drawing.Size(272, 488);
    this.label1.TabIndex = 0;
    // Form1
    this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
    this.BackColor = System.Drawing.SystemColors.ControlText;
    this.ClientSize = new System.Drawing.Size(288, 502);
    this.Controls.AddRange(new System.Windows.Forms.Control[] {
    this.label1});
    this.Name = "Form1";
    this.Text = "Joystick Stuff";
    this.ResumeLayout(false);
    #endregion
    /// <summary>
    /// The main entry point for the application.
    /// </summary>
    [STAThread]
    static void Main()
    using (Form1 frm = new Form1())
    frm.Show();
    if (!frm.InitializeInput())
    MessageBox.Show("Couldn't find a joystick.");

    Imho he means the following.
    Your class has performs two tasks:
    Controlling the joystick.
    Managing the joystick with a form.
    So I would recommend, that you separate the WinForm from the joystick code. E.g.
    namespace JoystickCtlLib
    public class JoystickControl
    private Device device = null;
    private bool running = true;
    private ArrayList effectList = new ArrayList();
    private string joyState = "";
    public string State { get { return this.joyState; } }
    public bool InitializeInput() { return true; }
    public void PlayEffects() { }
    private void UpdateInputState() { }
    So that your joystick class does not reference or uses any winform or button.
    btw, there is a thing which is more important than that: Your polling the device in the main thread of your application. This will block your main application. Imho this should be a job for a thread like background worker.

  • I embedded some HTML code into adobe Muse but not displaying when the pages are Exporting to HTML

    I embedded some HTML code into adobe Muse and when I published the remote site on business catalyst the (Add This widget) HTML code shows up but when I exported the site to HTML pages and view the index page in the browser (Safari, Chrome, Firefox) the (Add this widget) HTML code wouldn't display on any of the pages. I've used this code before on other Muse sites not sure what could have happened. Thnx!!!

    Hi,
    Please take a look at this post for a similar discussion : Re: When i export my muse website my youtube video links stop working. Why is this?
    Regards,
    Aish

  • Inserting externally purchased code into Muse.

    I purchased code that I would like to use in my site. How do I use it with Muse? I understand how to place HTML, but right now I have CSS and JQuery files. Is there any way to get it in there?

    It's hard to give a useful answer to that question. There's a wide variety of HTML widgets out there with lots of different requirements...
    Generally speaking, CSS files usually contain styling info, to control how some HTML elements look.
    JS files are scripts that usually attach behavior to certain HTML elements.
    Usually you'd also have some HTML to insert so the CSS has something to style and the JS has something to attach behavior to.
    Muse has a few features that may help you integrate this fabulous thing into your Muse layout.
    1) Insert HTML allows you to insert a bit of HTML which Muse will export along with the rest of your page.
    2) The page properties dialog metadata pane allows you to insert HTML code into the <head> of the exported HTML page.
    3) The 'Add files for upload' menu item allows you to tell Muse to upload additional files to your website. They'll be uploaded into a folder named 'assets'.
    Depending on what you have, you might be able to use some of these features to get your wonderous thing into Muse without editing any of Muse's output.
    If these features aren't sufficient for your use case, you may have to edit the exported HTML as suggested by iamDK. Note that if you do this, you'll have to re-edit the exported HTML every time you export/publish/ftp upload from Muse, as Muse does not preserve any edits made to the generated HTML.

  • Setting to break up the html code into small piecces?

    i was told that there is a dreamweaver setting or command where you can make your html generate break up the code into smaller pieces but i dont know how that can happen. anyone to help me? i appreciate it

    no what I am saying is that an email campaign IS an HTML page.
    add your html, choose your recipients, press send - it shouldn't be any harder than that.
    and if the program you are using will not allow you to add anymore than 300characters then it is rubbish and I would not use it.
    in anycase there should be no need to "break up" an HTML email into 300char blocks. And as far as I know, I cannot see any point as to why DW would include that, not to mention the fact that you cannot get much out in 300chars

  • Integrating tracking codes into iweb.....

    I was so successful in solving a problem I was having here last night that I thought Id throw another question out that has been baffling me, not hard to do I might add, how do you integrate tracking codes at the beginning of each page so that Google analytics for example can track the traffic on your iweb sites??
    This is also a requirement if you are using some affiliate programs so it is really very important to do. Any help anyone out there can give is VERY much appreciated! This is without a doubt the best information forums I have ever read!!....Thanks again in advance for any help on this subject!!...Matt
    http://www.rdeal4u.net

    Google Analytics code (ga.js) required the script to be added into your page source to precisely track the page; Step 4 in the following:
    http://www.google.com/support/analytics/bin/answer.py?answer=66983#0.1.1_step3
    adding GA code in HTML Snippet will cause the code to track widget markup pages, which will give inaccurate results.
    that at this time there is no way to enter tracking code into the pages.
    This is true, because they don't know iweb inner working bits.
    But I can prove them wrong, here is example of HTML code inserted in my page:
    http://hdl.50webs.com/Test/
    the floating nav bar and I have urchin.js loaded from google are coded directly to the page (you need to look at Safari Activity window)
    They suggested I go to www.apple.com/feedback then select the appropriate product (iweb) and seen in a message on the subject directly to the engineers.
    I suggest all that are having a problem with this go ahead and send a message to them as well, you know what they say, the squeaky wheel gets the grease!!
    It's a good idea.

  • Created my own subscription box in animate, how to embed the mail code into the symbols?

    So i think  I am on the right track, I am trying to embed my mailchimp code into my animate site, and I decided to build my own text box and button in animate and convert them into symbols. Both text box and button or inside of a bigger symbol so that they stay in a responisive design. however when I tryin and plug in the mail code it just puts the subscription box behind my symbols. Is this because html code doesnt work in animate or am I just really stupid and am doing it all wrong? Ha probably the second part, . Any help would be great!.
    Animate CC code
    <div id="Stage_Center2_Subscription">
                    <div id="Stage_Center2_Subscription_subscribe"></div>
                    <div id="Stage_Center2_Subscription_Submittbutton">
                        <div id="Stage_Center2_Subscription_Submittbutton_Submitbutton">
                            <div id="Stage_Center2_Subscription_Submittbutton_Submitbutton_RoundRect2"></div>
                        </div>
                        <div id="Stage_Center2_Subscription_Submittbutton_text">
                            <div id="Stage_Center2_Subscription_Submittbutton_text_Text">Join</div>
                        </div>
                    </div>
                    <div id="Stage_Center2_Subscription_Textbox">
                        <div id="Stage_Center2_Subscription_Textbox_textbox">
                            <div id="Stage_Center2_Subscription_Textbox_textbox_RoundRect"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </body>
    </html>
    Mailchimp code
    <!-- Begin MailChimp Signup Form -->
    <link href="//cdn-images.mailchimp.com/embedcode/slim-081711.css" rel="stylesheet" type="text/css">
    <style type="text/css">
              #mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
              /* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
                 We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
    </style>
    <div id="mc_embed_signup">
    <form action="http://kandied.us3.list-manage.com/subscribe/post?u=4525b320bd81872705a48ea05&id=4743a970b 1" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
              <input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>
        <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
        <div style="position: absolute; left: -5000px;"><input type="text" name="b_4525b320bd81872705a48ea05_4743a970b1" value=""></div>
              <div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
    </form>
    </div>
    <!--End mc_embed_signup-->

    Hi, Kyle-
    What's happening is that you're inserting static HTML into the base HTML of your current project.  We treat any third party static HTML as underneath all managed elements.  You can find out whether or not it's being treated as static by hovering over the element in the elements panel:
    One thing you can do is to dynamically insert your mailchimp code into a div by changing the html() property of that div using jQuery.  So, something like this:
    In compositionReady:
    sym.$("myDiv").html("INSERT MY FORM CODE HERE");
    Hope that points you in the right direction!
    -Elaine

  • Pulling fla source into director

    Does anyone know how/if you can pull a flash movie(s) into
    Director and edit them within Director?
    Here's the situation. I have three flash movies that I have
    the source for (fla) that make up a preloader, the main movie and
    an exit scene. I have been asked to convert the intanet web page
    into a CD for distribution. Is there any way that I can pull the
    FLA's into Director and be able to edit them from within the
    Director console? I do not just want to import the swf. I would
    like to be able to convert a Flash file into a dir file.
    Any help would be appreciated.

    I appreciate your help, Sean. So I can't pull the source into
    Director. I guess it's off to Amazon to pick up a Director Book.
    A (very) short overview:
    I have three swf movies that comprise a preloader screen
    (zipping images and whizbang text) that fades into the main
    interactive movie. The main movie is basically an in-depth web page
    (all 17mb of it) with images, text, and animations. When you click
    exit, you are directed to a third credits movie. This was all
    developed in Flash a while ago and has been periodically updated.
    Now, the 'boss' wants to be able to market what we've got
    when she's at conventions, meetings, etc. She likes the intranet
    page so much that she wants the content put on CD for distribution.
    I need to take out some of the proprietary stuff and add a few
    other links, e-mail addresses, change around some text and add some
    video clips.
    After researching, it seems that Director is a better way to
    go for this purpose than Flash. I guess I can still make the
    projector in Flash but the more that I read up on Director, the
    more that I am impressed with it's ability to easily distribute
    this kind of media.
    Not only that, but I guess that I am kind of proud of my
    creation. I like the fact that Director is so much harder to
    decompile than Flash.

  • Can you embed HTML code into a Captivate project?

    Hi there.
    Is it possible to embed HTML code into a project? I can't find any options to do it. I'm using Captivate 7.
    Thanks.

    Yes I am talking about the play button when the course launches.  If you modify the index.html to look like this, the course will automatically play instead of showing the play button.
    function initializeCP()
                    function cpInit()
                                    document.body.innerHTML = "
                                    cp.DoCPInit();
                    if((typeof InitAppPackager !== "undefined") && (typeof InitAppPackager === "function"))
                                    InitAppPackager(cpInit);
                    else
                                    cpInit();
                                    cp.movie.play();
    The part in read is the command that I add to the index to make it autoplay.

  • Inserting Script code into HTML - possibly using snippets?

    I am using Robohelp 7 and I need to insert some tracking script code into the HTML.
    The location needs to be right before the body close code.
    I have multiple pages and would love to use a snippet so that it would be easy to update as necessary.
    When I create the snippet code and drop it on the design page, it shows the code.
    I cannot get it to drop into the HTML.  Any suggestions?
    If it can't be done with snippets, is there a way to mass import code into the HTML of ALL pages?  I'm talking hundreds of pages.

    Hi there
    I doubt you will want to use snippets for this. Why? Well, if you use Snippets, you will need to edit all your pages so they include the snippet!
    So here's how I might approach it.
    Open the Project Set-up pod. Create a Topic Template. Inside the Template, add a Footer. Insert the script into the footer. Save the template and apply it to all your topics. You do this by selecting all topics in the Topic List pod, right-clicking them and choosing the Template. Whoosh! The template is associated and all topics now have a footer (with the script inside).
    Hopefully this helps... Rick
    Begin learning RoboHelp HTML 7 within the day - $24.95!
    Click here for Adobe Certified Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • Pasting Code into this forum

    Hi, I'm a noob. How do I paste code into a discussion, and have it actually look like code.
    Thanks!

    The {code} block doesn't wrap long lines, but it does add a scroll bar if the line gets too long (really long).
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 480px;
    color: #000000;
    background-color: #B5FF6C;
    overflow: auto;">
    I use an AppleScript that's been tweaked over time to add various formatting</pre>
    - it uses an HTML <pre> block. The script has several options, including the color and size of the block (I like to keep messages relatively small) - it is available here.
    rccharles also posted a script in the User Tips Library with similar ideas (and a message reply link formatter I borrowed).

  • How do i enter a sony tv wireless pin code into airport extreme?

    How do I enter a sony tv wireless PIN code into airport extrme / time capsule?

    If you have upgraded to Lion 10.7.3, you will need to download and install AirPort Utility 5.6 for Mac OS X Lion
    If you are still using Leopard or Snow Leopard, you can use the version of AirPort Utility that is already installed on your Mac
    Open Macintosh HD > Applications > Utilities > AirPort Utility
    Select the AirPort Extreme
    Click Manual Setup
    Shift the focus of your eyes away from the window in the center portion of the screen and move the focus all the way up to the very top of the screen where the Help, Window, Settings menus are located
    Click on the Base Station menu
    Click Add Wireless Clients and proceed

Maybe you are looking for

  • External FW hard drive does not boot

    I purchased an Accomdata 160 GB exernal hard drive...has one USB and two firewire ports. I use the firewire ports only. Installed OS X to make it bootable (I have already another bootable FW harddrive). When ever I start my "bootable" HD, Mac's grey

  • Purchase Requisition Date before SC Creation Date

    Hi We have a odd situation with a shopping Cart where Purchase Requisition Date (REL_DATE = March 11 2009) before SC Creation Date (March 31 2009). Any comments/suggestions? Nikhil

  • Unix Script in Process Flow

    Hi I have created Process flow which calls Unix Script and deployed the Process flow successfully. But it is giving error when i execute the process flow saying required scripts are not deployed. Do we need to deploy the unix scripts? if yes, could s

  • One or more applications using itunes scripting?

    Whenever i close itunes it always says one or more itunes applications are using itunes scripting? please help

  • Why am I being asked to reset my Apple ID Password every day or 2??

    Every day or 2 I am being told my password is invalid and I am receiving e-mails from Apple saying my password has been reset.  It is getting rather annoying have to enter a new password every 2 days!!  Any help???