ActionScript 2.0 :: Cross Frame Menu In Flash?
Aug 28, 2003I need to know if u can make a menu on flash which resides on the top frame and then can cross over to the adjoining frame.
View 2 RepliesI need to know if u can make a menu on flash which resides on the top frame and then can cross over to the adjoining frame.
View 2 RepliesI have 4 pics cross fading.Each pic distributed on 4 layers. For example, image 2 starts fading in, 10 frames before image 1 fades out. How can I keep this cross fading between the last frame of my scene and its first frame ? A simple gotoandplay(1) does not give me the expected result.The cross fading effect is lost.
View 3 RepliesI am All Programmer when it comes to anything including flash. I got into making games not to long ago and some people use frames to navigate from the main menu to the game screen and so on (which I have no idea how to do). and some people encapsulate the game inside of a class and call it from the document class and add and remove it when please
View 4 RepliesI am have an issue with getting my xml file to point to a specific frame in my flash movie. Below is the code I used for my action. The xml menu is simple there are a list menus buttons ie.<menu7 name="CONTACT" url="Contact"> I labled the frame contact and get nothing.
ActionScript Code:
on (rollOver) {
thestate = true;
[Code].....
I have build a hybrid site where the navigation at the top is Flash, and the bottom is html. On all the pages, I have used straight html with no frames. That's all fine, but the client has one page that must be loading an external page into a frame. So I have a frameset where the top frame has the Flash navigation and the bottom frame loads the external link. This works fine, but then when I click to one of the other links in the Flash navigation, it loads that page into the frame where the Flash movie (nav) is. I tried to set the links in the Flash nav to the window being _self, and _top, and this just loads it in a new window.
View 1 RepliesI downloaded a basic flash menu from iStock to use on a site I am making... but I am having an issue: Basically the component will let me drag instances of it onto the stage... , but when I try to edit any aspect of the component... it changes every one I have on the stage. All I want to do.. is to be able to script each instance to gotoandplay on a certain frame... the scripting is as follows:
this.onRollOver = function() {
this.mouseOver();
}; [code].....
I did some searching on this topic and couldn't find anything relevant. My problem is basically that I have build a hybrid site where the navigation at the top is Flash, and the bottom is html. On all the pages, I have used straight html with no frames. That's all fine, but the client has one page that must be loading an external page into a frame. So I have a frameset where the top frame has the Flash navigation and the bottom frame loads the external link. This works fine, but then when I click to one of the other links in the Flash navigation, it loads that page into the frame where the Flash movie (nav) is. I tried to set the links in the Flash nav to the window being _self, and _top, and this just loads it in a new window. Does anyone know a workaround for this?
View 1 Repliesso I have created a basic flash navigation menu bar for my website. I have added the bar into a frame on my dreamweaver page. I was just wondering if it was possible to link the buttons on my flash bar to open the pages into a different frame, the main frame below, my navigation bar? The code I have at the moment for my "home" button is the following:
[Code]...
and this is opening the "home" page in a new window. Is it possible to make it open it in my main frame (called mainFrame)? When I change _blank to _self it opens the page in the same frame where the menu bar is, not the mainFrame below it.
I have this code in my html
function open(direccion, pantallacompleta, herramientas, direcciones, estado, barramenu, barrascroll, cambiatamano, ancho, alto, izquierda, arriba, sustituir){
var opciones = "fullscreen=" + pantallacompleta + [code].....
And I call it from as3 like this:
var request:URLRequest = new URLRequest("javascriptpen('+ prop.link +',0,1,1,1,1,1,1,800,500,0,0,1);");
navigateToURL(request);
But when I click to open the new url.. chrome brings me this log error "Ignoring cross-frame javascript url load request by plugin"
Is it possible to use HTML frames with Flash? For example, I want to make a flash menu system on my site, and have the click of the menu buttons open up an HTML page in a different frame.
View 14 Repliesi need to know how do i make a menu on flash but i dont want to load a hole new site evry time i go to a section so i wana get the codes for that
View 1 RepliesI'm creating a drop down menu and when I addEventListeners to check the clicks on the invisible buttons on frame 19 of the "menu" movieclip, it gives me an error. T really hate doing rollover with actionscripts. The download link for the fla can be found in below. Sorry for posting an external download link as the file is 7mb+! [URL]
View 2 RepliesMy swf works fine when previewed locally but because of flash cross domain issues (link below) doesnt work live. [URL] Ive used a 'crossbrowser.php file to .load in xml but am not having success with the sendAndLoad command. [URL]
View 3 Repliesi want to add new Menu in flash IDE and i want to add inside the adobe flash menu. How i can add new menu in menubar and new menu item inside the help menu. is it possible to do this things if yes then which language i have to use for this. what is way to start development and what is the .MXP file and how to create this .MXP file.
View 1 RepliesI'm trying to make browser game and I was wondering if this is possible.99% of the game is html/php/mysql but I wanted one little mini game to be in flash.after playing the flash game if you win you get +1 of whatever to your account. So my question is can someone program that cross over of flash back into php?
View 2 RepliesI have a movie with a document class (Main.as) wich load 2 SWF:
private var mainContainer:Sprite = new Sprite();
addChild(mainContainer);
var loaderx:Loader = new Loader();[code]....
Now I need to access some var/objects in PhotoLoader from PhotoViewer but anytime I compile PhotoViewer the compiler complains:
trace(root.loaderx.dbFields);
1119: Access of possibly undefined property loaderx through a reference with
static type flash.display:DisplayObject.
Notice I need communication between the 2 loaded SWFs, not from the movie that loaded them
I have two swf files hosted on different domains [URL] and [URL]. a.swf is loading b.swf and trying to cast it to some interface. When both of these swf files are under the same domain everything works fine. But when they are under different domains I'm getting null after casting b.swf to the implemented interface IComponent. Both of these swfs are compiled with use-network=true and with the same IComponent.as.
[Code]...
I was looking around but couldn't find it where can I add the cross domain policy of Adobe in Apache server. Because without it, its not letting me access my XML on another server.
View 1 RepliesAs you might know, browser's security model does not allow a script loaded in a page from http:[url]... to make cross-domain requests (no AJAX calls to any other domain other than url...).The Javascript file itself could have been served from a different domain altogether (url....) and that is irrelevant. This is the Same-Origin Policy.
Flash also has something similar? But does Flash treat the origin to be the HTML page where the .swf file was loaded or origin is the domain which served the .swf file?
So http:[url]... loads a .swf file from http:[url].... Now .swf can load resources only from [url].... or only [url....? I'm assuming there are no cross-domain.xml files setup on either [url]....
I'm running a rails3 project with an external asset host for all javascript, images, swfs etc. This is on a completely different domain. So know I tried to embed some SWFs using swfobject. In development (same host) everything works fine, but in production (different hosts) it doesn't start the flash (firebug shows the file is loaded but nothing appears on the page). I already put this crossdomain.xml file in the root of the asset host but it does not change anything at all.
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" />
[code]....
What can I do to make it work? The SWFs I'm using are not developed by me, so I cannot change them. Some are simple sounds, others are videos and small "apps". I don't want to have to make rails serve the swfs.
I have a flash accordion embedded using SWFObject. The SWF and related XML file are hosted on one domain. I have about 10 sites embedding this SWF from it's hosted location, both the SWF and the XML. The accordion links to various pages of my domains. The domain in which the SWF and XML file are hosted, the links work as expected. The other domains that the SWF is not hosted on, the links do not work at all. I verified it's a cross domain issue by placing the SWF and XML files locally on each domain and they worked, but this is not how I want it setup. I attempted to use crossdomain.xml and allow access from all hosts but that didn't work either.
View 1 RepliesI want to create a block game where you can drag blocks. I'm looking for the friendliest drag behavior. It should only move horizontal or vertical, and 1 block position only. It should snap (ease to desired target position), cause you cannot release it in the middle (in between blocks). It should kinda behave like an iPhone switch button, but in a cross. I have tried to do it by check the angle of the mouse to the original position of the block, to check which direction it should move. I want it always to go move through the center (original position). I mean; it cannot animate from the left position to the upper position, it should animate to the center first.The blocks are top-left aligned and there is spacing between the blocks.
UPDATE:This is my current code. It currently moves into upon the direction, but doesn't animate to the point.
package nl.stroep.games.behaviors
{
import flash.display.DisplayObject;
import flash.events.Event;
[code]....
I'm working on a project in which I am writing code on a PC and someone else is creating graphics and animation on a Mac. We need to have embedded fonts to work w/xml and CSS. Is there a way to embed fonts so they work inside the fla on both platforms?
View 0 RepliesI recently uploaded my website graphicdesignnz.co.nz onto the server and noticed that the external swfs were not being loaded into the site� first I thought I had a linkage problem but then my friend tested the site on Opera and it worked fine!
View 4 RepliesThe update to Flash 10.1 kills my cross-domain. Formerly, my file looked like this:
<?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"><cross-domain-policy>[code]......
I updated to this based on what I read on this site:
<?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM [code].....
We are using SAP Business Objects Xcelsius, which creates the .swf file that users are using to access our environment. So, I do not have any control over the code base itself.
Is there a cross-browser solution to making a flash players background invisible? I have a swf movie that I want to sit on a faintly stripped background. I could place the same background in the Flash movie and sit it with CSS - using hacks for i.e. to make the backgrounds match up, but wondered whether there was a simple way of turning the background off?
View 1 RepliesLets say I have a PHP application using very cheap shared hosting. What is the best way to stream audio/video (mp3/mpeg) that is tens of megabytes to hundreds of megabytes in size. I am thinking of a PHP based cross-domain proxy that uses caching. Is there something wrong with this approach?
View 1 RepliesI have a SWF file which is on suppose [URL] and I have an cross domain file
[Code]...
I dont know that happend. When I user Firebug, the swf is looking for [URL] it is present there. But [URL] is not there(I can't put any corssdomain file there, because I dont have any access). The issue is image from (SESSION 1) is resizing and image from (SESSION 2) is not resizing on the COMPLETE Event.
I have an application I built in Flash that runs with no problems on Windows and OSX. I'd like to extend it to mobile platforms and I want to be able to call programs written in the native language of each platform.
I understand that Flex can be used on mobile platforms and that it can call native code, but I'm a little confused by what I've read about Flex. Can I use the Adobe Flash development environment to build Flex applications? Will our users need the Adobe Air runtime to run the programs? And what the heck does Air add to the capabilities? We need strong audio and video capabilities, a built-in database is not a requirement.
We have a Flash application that is running within an HTML file.For one page we call a legacy reporting system in ASP.NET that is within an IFRAME. This page then communicates back to the Flash application using cross-domain scripting (document.domain = "domain" is set in both pages. Now the kicker. Flash has history tracking enabled.This loads the history.js file that created a div tag to store page changes so the back and forward buttons work in the browser.Which works for Firefox and Chrome as they create a div tag.In Internet Explorer, history.js creates another IFRAME (instead of a DIV) called ie_historyFrame.When the ScriptResource.axd code attempts to access this with:[code]At my wit's end on this one.We have users who need to use IE to access this site. They are big clients who we cannot tell to just use Firefox.
View 2 Replies