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 6082573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:18:16+00:00 2026-05-23T11:18:16+00:00

I am a little new to flash and ActionScript and I have this persistent

  • 0

I am a little new to flash and ActionScript and I have this persistent problem with security I think.

The problem is that. I try to use code for a button in ActionScript 2.0 (i must use 2.0)

on(rollOver)
{
    getURL("javascript:someFunction();","_self");
}

This code is supposed to work, it worked for other people =)

Before you say that i am placing it in some wrong place. I place it in the button. Moreover it does work fine, when i try the movie in Flash CS5, using CTRL + ENTER. But when i embed my .swf I get a message something like

the aplication is trying to access page...see parameters for flash player

Sorry for a bad translation.

I also tried this code:

on(rollOver)
    {
        getURL("http://www.something.com","_self");
    }

and it worked.

the embed code:

        <object width="100%" height="60">
                <PARAM NAME="quality" VALUE="high">
                <PARAM NAME="wmode" VALUE="opaque" >
                <PARAM name="AllowScriptAccess" VALUE="always" >
                <EMBED src="small.swf" width="100%" height="60" wmode="opaque" quality="high" AllowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
                </EMBED>
                <noembed></noembed>
        </OBJECT>

I should add, that I don’t have any power over where the swf file is going to be hosted or anuthing of the sort. It really is not my swf file. All i can do is manipulate it via JAVASCRIPT and for that, I need to get the exact code to work.

  • 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-05-23T11:18:17+00:00Added an answer on May 23, 2026 at 11:18 am

    I think the problem is simillar to this http://board.flashkit.com/board/archive/index.php/t-652586.html

    As I know, the problem happens only when SWF is loaded from local folder. Try to put it on webserver and crossdomain issue should disappear.

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

Sidebar

Related Questions

I'am new to Python 3 and could really use a little help. I have
I'm a little bit new to Actionscript, but I can't figure this one out.
I want to create a custom button in ActionScript. This is my code: import
I have a little project to do in flash and I am new with
i have a problem with Action Script 3. I use Flash CS5. I want
I'm thinking about making a networked game. I'm a little new to this, and
am new to Json so a little green. I have a Rest Based Service
I'm new around here and i have a little problems with a C# application.
i'm new to c++ and having a little problem understanding about c++'s casting. According
I have an application that needs to render about 100 flash graphs (as well

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.