ActionScript 3.0 :: Menu Doesn't Load To The URL
Jan 12, 2010
For some reason the menu doesn't load to the URL that I specify in my xml file. When I click on it, it showed up as text underneath the menu itself as Link clicked How can I make it so that the link will actually go to URL that I specify in my xml file?[code]
View 2 Replies
Similar Posts:
Oct 27, 2006
i created an application and it has a menu bar at the top of the stage it also has a loader component below it. i need the loader to load an swf when an item is selected from the menu. Does anybody know how to code this. I am using the following code:
[Code]....
View 1 Replies
Dec 5, 2009
I create a flash site with a XML MENU. When I publish the site the xml menu doesn't move when you scale the browser window, but when I use swfobject the xml moves when you scale the browser (not centered).
View 11 Replies
Jul 7, 2011
Working on an ActionScript 3 project in CS6. Following along with the "Flash Down Under" tutorial on the Macromedia website. In the tutorial, a pop-up menu shows up when the instructor types in part of the ActionScript command. I cannot get this function to work for me, even though the commands highlight when I enter the text in full. Anyone know how I can get the pop-up menu to display?
View 5 Replies
Jul 9, 2011
I purchased a template from template monster. I am tweaking it, trying to replace the flash picture slider with html. I want the flash menu to remain. When I replaced the slider, the menu tabs work but the tab doesn't highlight the page its on. I use flash pro 8 action with script 1.0 & 2.0 .http:[url]......Here is AS code:[code]..
View 9 Replies
Apr 11, 2012
url...In basic tutorial there is extra part of button where you add menu name "home, about us" etc.But I don't need this. I needed more simplier. From xml file I load an image or swf. And then you just mouse over it and it moves and it clicks. No extra 30 pixels for button space.If i change AS line ldr.x=0 to ldr.x=27 then it moves, but there is extra unnecessary empty space between content things. I don't need it. What should I do?
View 1 Replies
Mar 3, 2009
Im working on migrating an old as2 file to as3 and am stuck on a swapDepths issue--Havent had any luck with setChildIndex or swapChildren--Nothing is being dynamically added to the stage and as the clips are nested and consist of timeline layers of textfields and MCs Im not even sure what is a child of what. for some reason on mousing over the menu, the code I have for highlighting the button and showing the text that was appended(on long lines of item descriptions) due to size constraints of the component, is showing up as semi-transparent--I dont understand what is causing it to happen(although I resolved the issue previously with swapDepths)or how to resolve it. The code thats is the issue is in the menuButton MC timeline layer 13...
Here's the link to the file--see button 8--- [URL]
View 10 Replies
Feb 15, 2009
I have a command script (framesSelected.jsfl - the code isbelow) which outputs information about frames selected to theoutput panel, which I find very useful. With CS4 (Windows XP), whenI place the jsfl file in the (suggested in the manual) folder(C:Program FilesAdobeAdobe Flash CS4enConfigurationCommands)I expect it to show in the command menu as it did in CS3. Itdoesn't. Can anybody tell me why, and what I must do now to get itto show? (script follows)
var current_tl = fl.getDocumentDOM().getTimeline();
var selectedFrames = current_tl.getSelectedFrames();
var selectedRegions = selectedFrames.length/3;
[code].....
View 1 Replies
Feb 17, 2011
My FLVPlayBack integratino doesn't work : menu don't show, the video don't loop .
It's here :
[URL]
And the code generated by flash CS5 pro :
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="385" height="282" id="pic-du-midi-fevrier-2011" align="middle">
<param name="movie" value="videos/pic-du-midi-fevrier-2011.swf" />
[Code]....
View 2 Replies
Nov 9, 2011
I have a drop-down/multi-level CSS menu on a page. The menu however doesn't appear over a flash.i put <param value="transparent" name="wmode"/> I added wmode="transparent" to the EMBED tag then the expanded menu appeared but the color of flash image diaappeared also tried z-index in css.
[Code]...
View 4 Replies
Dec 5, 2011
I am creating a menu this way :
myMenu = Menu.createMenu( null, myMenuXMLListCollection, false );
and then showing it with :
myMenu.popup( 10, 10 );
but the menu doesn't disappear automatically when i click somewhere outside the menu.
Is there some way to make the menu disappear automatically when i click outside it ?
View 1 Replies
Sep 13, 2011
I'm using a template for a simple dropdown menu with tweening which was posted on this forum (sorry can't find post to credit contributor)I want a button on the menu to add to score when clicked (buttons.....I know.......couldn't figure how to do this with an mc). The button works outside of the menu but not once it is inside the menu mc.Attaching a demo fla in CS3.
View 2 Replies
Mar 22, 2006
i found this nice Mac OS X Dock Menu effect on [URL] (the second link from the top), the thing is, it only works when it is published for flash player 6 or lower... why it doesn't work when it is published for flash player 7...
View 14 Replies
Nov 23, 2009
I have a flash website, with two menu the main menu that loads by Loader class swf files with the respective content. And the secondary menu that changes the language of the site. How do u implement the action of having the site translation?
1)Passing params Load file.swf?langid=n then reading by loader info (this one is not easy to test since loading swf with params doesn't work in flash ide debug env.)or
2) on load complete cast the loader to a movieclip the accessng a main func with the task of translating the whole swf contents(the same func i should have at point 1)
View 0 Replies
Dec 4, 2003
Let's say I've got button 1, 2 and 3 as the main menu and button a, b and c as the submenu. The idea is: If I press on button1, buttons 2 and 3 moves to the right by 200 pixels. At the same time, the buttons a, b and c will appear between button 1 and 2.
Now, I got this working with Motion Tween, but that's not the way how I want to do it. I think it should be possible with AS too, right? I've tried with SetProperty and _x, but then it doesn't scroll to the new location.
View 7 Replies
Nov 7, 2010
I made a simple website with a flash menu, that opens internal links in an iframe. However, I have a few other (not included in the menu) external links, which open in the same iframe. And after I click on one of them and it loads in the iframe, the buttons on the menu stop working. I'm beginning to think it has something to do with the internet explorer, since it works on some computers. But I'm not sure... not very good at this.
View 5 Replies
Nov 24, 2009
I have a flash menu and two scenes. The first one is preloader with this code:
import flash.events.ProgressEvent;
function update(e:ProgressEvent):void
{[code]....
The second scene is for menu.The problem is, when this menu is loaded i can push buttons several times, then it doesn't react at all, but when i reload the page, it works again..
View 0 Replies
Mar 18, 2009
I must be missing a capital or something because this just doesn't work.
Code:
import flash.text.*;
import flash.display.*;
import flash.net.*;
[code]....
Note: No runtime errors. No nothing. The text shows up entirely unformatted. I even made an HTML document and imported the same exact css file into that, and it worked fine... It just doesn't work in flash.
View 2 Replies
Apr 7, 2009
My new player is 99% done, and works great in many browsers, but doesn't work in IE7 in parallels. It doesn't run any of the netstream functions and seems to stop completely, with my spinny progress bar going infinitely. I'm using the debugging player, but no errors are being thrown.
Here's a link: [URL]
I can post code on request. What does IE do differently related to netstreams that might be causing this?
Alternatively, can I post errors to a text box in the player to test?
View 2 Replies
Sep 20, 2010
I am trying to use URLLoader to load an XML file from server (same domain as swf). This should be too simple but I am getting Error #2032: Stream Error.If I trace the HTTP status event it just shows status=0 though I have read that Mozilla doesn't supply status codes to Flash Player so maybe it's not informative.I have sniffed the HTTP traffic with Charles and Flash isn't even trying to load the url - no request is made, so it doesn't even fail.I can browse to the url, which is on an internal url that looks like:URL...I have tried putting a crossdomain.xml in there (with and without a to-ports="8080"), though it shouldn't need one.Neither the onOpen nor onActivate events fire, just one HTTPStatus and then the IOError.I have copied the common URLLoader code from Adobe example, mine looks like this:[code]
View 2 Replies
Aug 24, 2009
The main problem is that the FLV doesn't load/play, which most likely causes the secondary problems, such as the bufferClip always visible and no way to test the video and audio scrubbers.[Code]...
View 2 Replies
Apr 28, 2006
I'm having a problem using the loadMovie action, I'm pretty sure I have everything I need, but when I click the button that should load my external SWF on top of my main movie, it doesn't load the external SWF & it just reloads my main movie.
View 13 Replies
Sep 29, 2006
I have a main swf [1] that loads an external swf [2] into it In the external swf [2] there is a movieclip that when pressed loads some information from an XML file when i try the external swf [2] it works fine but when i try it from the main swf [1] it doesnt work
here is the code for the movieclip
i tried putting _root. or this. but that didnt work
Code:
this.onRelease = function(){
portfolio_xml.load('xml/portfolio4.xml');
}
View 3 Replies
Oct 27, 2010
The title essentially is the question, how do I open the .swf without the browser's control bar junk? and maximize the window?
View 2 Replies
Aug 24, 2009
The main problem is that the FLV doesn't load/play, which most likely causes the secondary problems, such as the bufferClip always visible and no way to test the video and audio scrubbers.
[Code].....
View 5 Replies
May 22, 2010
I produced an ActionScript 3.0, Flash Player 10 swf in a newly downloaded CS5 (trial version). The file loads fine in both Chrome and Safari on my computer. But when I open it on another machine I only get five animated dots - ..... - in a "wait while loading" manner. The swf never starts. Same on my brother's computer.
My browser has Flash Player 10,1,52,14 installed along with CS5 (swf works). My other computer claims to have Flash Player 10,1,53,38 installed (swf doesn't work). My brother's computer has Flash Player 10,0,45,2 (swf doesn't work).I've tried various publish configs such as on/off xml meta data, on/off hidden layers, embed minimal or more of my font etc.When I configure for ActionScript 2.0 and/or Flash Player 9 my animation breaks totally.
View 1 Replies
Feb 5, 2011
I wrote a program in C# that, when a user press a button, opens a new form containing an embedded flash object. The flash application needs the user to be logged in, so i added to the source something like
swf.SetVariable("__ses", sid);
This works fine for 2 user testing the application, while the third one can succesfully open one table, while all the others appear "black", just like if the loader can't get past the loading step.
View 1 Replies
Dec 7, 2011
I am making a web app that uses MediaElement.js (ME.js) for playing audio and displaying video across different browsers. However, I am having trouble with IE8: When I instantiate the MediaElement with an <audio>element from the DOM, the flash object gets created and inserted in DOM but then the media does not get loaded. No errors are reported. Instead nothing happens.
Trying to debug it, I have created a small test page which also uses ME.js that tries to play the same audio file. Strangely, this page works fine. IE8 loads and plays the file. I have tried to look at what both of these pages output in the DOM to see if I could get a hint about what is going wrong.
[Code]....
Notice there's a difference: In the first snippet it says <PARAM NAME="Play" VALUE="-1">and in the second it says <PARAM NAME="Play" VALUE="0">. This seems significant somehow, but I have no idea how to interpret it. not that this is not the markup generate by ME.js but something that somehow gets generated when the .swf file has loaded. Not being any kind of a flash expert, I can't really explain how.
When I use Fiddler to monitor which assets get loaded, the difference between the two pages are that the first page loads the .swf file as the last thing and the second loads the .swf file and then loads the .mp3.
I should mention that the web app works in Chrome when I force it to use the flash plugin instead of native HTML elements.
View 1 Replies
Jul 12, 2009
So I'm guessing this is a security issue with Flash player 10, but I don't know how to get around it.
The swf works perfectly when I'm testing from within the IDE, but when I try to run the published one it gives me errors.
No such file/directory: [URL]
When in fact it does exist(the published swf is in "Posada"):
[URL]
So, I tried putting a crossdomain.xml in the same directory as the swf:
Code:
<xml version="1.0">
<cross-domain-policy>
<allow-access-from domain="*"></allow-access-from>
</cross-domain-policy>
[Code].....
View 1 Replies
Jun 1, 2010
There�s a great tutorial for sending and loading XML (in AS2) here:[URL] However, I�d like to have an equivalent in AS3. I�ve attached my attempt, but it doesn�t work � even though it doesn�t throw any errors. (PS: there are similar examples 'out there' for Flex but after buying the book 'Learning AS3', by Shupe/Rosser the example in Chpt 14 doesnt seem to work whilst I cant find anything of use in O'Reilly's AS3 essential book).
View 5 Replies