Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8057493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T09:03:09+00:00 2026-06-05T09:03:09+00:00

UPDATE: ANSWERED! June 7th – I found the answer and accepted below. I am

  • 0

UPDATE: ANSWERED!

June 7th – I found the answer and accepted below. I am keeping this code so others can see what issues I had and maybe they can learn what works and what didn’t.


OLD POST:

I just figured out how to get as3 to call a jQuery function: as3 calling jQuery function

But now I want to know how jQuery can call an as3 function. Any thoughts?

UPDATE: Not fixed yet – WHAT AM I MISSING?

Here is the code in my jQuery

 function BeGone()
  {
      var flash = $("#BeauFullScreen");
      flash.myFunction();
       $("#Content").show();


  }

Here is my code in my as3

import flash.external.*;
function callMe() 
{ 

    var bParts = Beau.content as MovieClip;
    bParts.Beau.BeauBody.LeftWing.gotoAndStop(1);
    bParts.Beau.BeauBody.RightWing.gotoAndStop(1);
    bParts.alpha = .5;

} 
ExternalInterface.call("myFunction", callMe);

My Embedded Flash Object code:

<div id="flashContentABOVE">
            <object classid="33" width="100%" height="100%" id="BeauFullScreen" align="middle">
                <param name="movie" value="BeauFullScreen.swf" />
                <param name="quality" value="best" />
                <param name="bgcolor" value="#ffffff" />
                <param name="play" value="true" />
                <param name="loop" value="true" />
                <param name="wmode" value="transparent" />
                <param name="scale" value="noscale" />
                <param name="menu" value="true" />
                <param name="devicefont" value="false" />
                <param name="salign" value="" />
                <param name="allowScriptAccess" value="sameDomain" />
                <!--[if !IE]>-->
                <object type="application/x-shockwave-flash" data="BeauFullScreen.swf" width="100%" height="100%" id="BeauFullScreen">
                    <param name="movie" value="Jesus.swf" />
                    <param name="quality" value="best" />
                    <param name="bgcolor" value="#ffffff" />
                    <param name="play" value="true" />
                    <param name="loop" value="true" />
                    <param name="wmode" value="transparent" />
                    <param name="scale" value="noscale" />
                    <param name="menu" value="true" />
                    <param name="devicefont" value="false" />
                    <param name="salign" value="" />
                    <param name="allowScriptAccess" value="sameDomain" />
                <!--<![endif]-->
                    <a href="http://www.adobe.com/go/getflash">
                        <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
                    </a>
                <!--[if !IE]>-->
                </object>
                <!--<![endif]-->
            </object>
        </div>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T09:03:11+00:00Added an answer on June 5, 2026 at 9:03 am

    THE ANSWER THAT WORKED FOR ME!

    I had to add 3 important elements!

    1) Below is the line of code I needed for jQuery to communicate with as3 and call the function inside as3.

    function BeGone()
    {
    $("#BeauFullScreen").get(0).myFunction(); /// THIS LINE WAS THE KEY!    
    }
    

    2) I also needed to add the swfObject javascript:

    <script> src="swfObject.js"></script>
    

    3)** Finally I had to embed my SWF with JavaScript rather than the way Dreamweaver inserts the code as seen above in my question. Embedded JavaScript code below.

        <script>
        var flashvars = {
        };
        var params = {
            menu: "false",
            scale: "noScale",
            wmode: "transparent", // added this to no avail
            allowFullscreen: "true",
            allowScriptAccess: "always",
            bgcolor: "",
    
        };
        var attributes = {
            id:"BeauFullScreen"
        };
        swfobject.embedSWF(
            "BeauFullScreen.swf", 
            "flashContent", "100%", "100%", "10.0.0", 
            "expressInstall.swf", 
            flashvars, params, attributes);
    </script>
    

    I hope this helps someone. Thank you everyone for all your awesome efforts!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

UPDATE (spoiler): This question is answered (see David Carlisle answere below) and it looks
Update: this question has been answered (see below). I'll leave it up in case
I have not marked this question Answered yet. The current accepted answer got accepted
What the difference between the 2 queries below UPDATE This question is already answered
Update: This has been answered. It was my own stupidity, possibly not worth reading
This question have been answered. I recommend sumit_programmers solution below. For now, I've removed
Update - Answered by self I see one has to make sure that the
I have a query like this: UPDATE table1 SET status = 'ANSWERED' WHERE table1.number
* UPDATE: *I've already answered my question. But you can still give me advise
I've had a look around to see if this has been answered, and there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.