ActionScript 3.0 :: Browser Title Bar Name Messed Up
May 24, 2010Spaces in title bar are replaced with 20% when i try to run certain html (which embedds flash) in firefox or internet explorer.[code]...
View 0 RepliesSpaces in title bar are replaced with 20% when i try to run certain html (which embedds flash) in firefox or internet explorer.[code]...
View 0 RepliesI need to change browser title via flex.
How can I change the broser title with flex in execution time?
I'm setting the title like this:
<mx:Application (xxx) pageTitle="ConfigApp.getTitle()}" (xxx) >
how to change the title at the top of the browser via actionscript? I was thinking you could link to it through javascript in the same page as the swf but I don't know how to do that
View 5 RepliesI cannot seem to get the following to work:
In flash (as2):
Actionscript Code:
getURL("JavaScript:changeTitle('Hello!')");
in browser:
PHP Code:
<script language="javascript">
<!--
function changeTitle(t){
[Code]....
The result is - the page title stays the same, there are no errors - but i do get an alert that says "changed! Hello!" So the function is being fired, and the variable is being sent. It just will not change the page title.
If i call the function in javascript - so just under the function add - changeTitle("good") - it works fine, changing the title.
i'm using BrowserManager.setTitle to try to change the browser's tab title but it's not affecting not chrome and not firefox. any workaround known?
View 1 RepliesI was wondering if anyone knew of any code that would load a page title when a SWF file was pulled into a browser without any HTML code. Is this possible?
View 1 RepliesI'm using swfaddress which creates a page title in the browser based on what page your on in the flash site. The title comes from the name of a frame label. For example i have a frame label called "About Us" I've capitalised it and put a space between the words because this text is what's used in the page title on the browser and i want it to look good and to be able to be read properly.When the page is refreshed it comes up as: "about%20us" as the page title on the browser.
View 3 Repliesis it possible to change the icon and the title in the title bar? are there any opensource or low cost ways (prehaps software with a education licence) to change the apperance of the projector window.. like for example itunes, breaks out of windows xp standard UI
View 2 Replieshow can i load large image? i used a Zoomify for solve this problem but there are another problem that i don't like to use it. can i do it in as3? like loading image title to title?
View 2 RepliesI'm trying to edit a Flash file, that get it's data from and XML file.Now when you click on one of the menu items, the page + page title should change, but somehow the page title remains the same. (at least for the first 3 menu items) But when you go to the last menu item and then back to one of the first 3 menu items, the correct page title is shown.I'm no flash / AS expert, so I can't really find out what the problem is, but it seems like it has something to do with this function
Code:
_root.getCurrentText(thisText0, _parent.num);
I have a "Dynamic Text" element called "output_txt". In my action script code, I have this line:
output_txt.text = "I am thinking of a number between 1 and 100";
But what actually gets displayed in that element, after that line runs is:
"thinin o ne etween n 00"
Some of the letters are randomly getting dropped. Any ideas on what could be going wrong?
(I'm using Adobe Flash Professional CS5.5 version 11.5.0.325.)
This isn't actually related directly to the AS programming language, but to the AS editor in Adobe Flash CS3 Professional. I think it happened after pressing a certain combination of keys by accident. I haven't been able to solve the issue since.
There seems to be lots of arrows (where tabs are) and the letter P facing the opposite direction at the end of each line.
I have created a neat little function that produces several buttons and inserts labels into each one from an array. It works great until I try to stick the sucker under a mask. When I do that, the labels disappear. I need this mask, but I also need the labels - can't have buttons without labels, now, right?Here's the code I am using:
Code:
var mcPosY:Array = new Array();
for(var i = 0; i < 14; i++){
[code].......
I tried looking around at some drag stuff in the forums but nothing helped me and Senocular's code scared me
Ok so I have these 2 sexy little scale + movement functions on my movie clip[code]...
I am following the XML/Flash Photo Gallery with Thumbnails [URL] Everything works great except the thumbnails. The first few thumbnails (the ones originally visible) are fine, but then the rest are all smashed up on top of one another. Is this a problem with my code? The pictures aren't all exactly the same width, so that might be the problem.
View 1 RepliesMy flash movie is made competely in actionscript. Now, when i pick "play" from right-click menu in a browser, everything gets just.. very wrong I suppose there needs to be additional code in the first frame to delete all scene objects?
View 2 RepliesIt seems that the getters and setters for the height are all botched up when the DisplayObject has any rotation applied to it at all.The getter for the height returns the total height of all the bounds.The setter for the height sets the height regardless of rotation.If you set the same value for height several times in a row, you will get about 3 different results until it stays at the same result.If the heigt's getters and setters are different, imagine the ramaflacations involved, first and foremost setting properties via "+=".Just posted up a quick example: (ZIP with SWF is attached - FLA can be made available upon request)The properties "width", "height", and "rotation" are applied in that order as listed, but setting them in a different order will affect the result differently, but I don't have the time for that.
View 3 RepliesI bought this template see it here http:[url]......everything works great until I want to customize it and open it up in CS3. Once thats done it doesn't work right.it will open but when you have it fill the full screen it doesn't go all the way to the left. and cuts off the last quarter of the site.If I have it where the screen is only half or collapsed, it will fill the page as necessary.So here is the errors I am getting in Adobe flash.Error opening URL 'file:///C|/Users/April/Documents/300109930/html/data.php?main_page=1'
705
1676
Error opening URL 'file:///C|/Users/April/Documents/300109930/html/data.php?main_page=1'
The file is in that folder.Here's the script for the data.php document
PHP Code:
<?
include('init.php');
define('LF', chr(10));[code]..........
I don't know what I did while working in a CS3 Flash document, but I cannot view the frames up in my timline bar. All I can see is the layers there - they take up the whole area and when I try to grab and drag the timeline to shorten the layers nothing happens. I must have hit something by accident
View 4 RepliesIf I run the page locally on my machine, the banner looks fine no matter the browser. however, on the free hosting service server, size and position of certain movie clips are messed up in IE, safari and opera. they overlap in places, and u can see the corner of something that's supposed to be off the stage. why? note: the hosting service put some junk after my </body> tag... [URL]
View 4 RepliesSo i've been toying around with the built in bitmap collision detection, seeing as it was pixel-perfect collision testing. I've tried so many times to get it to work, but it hasn't prevailed yet. All the tutorials i've found look like timeline code, but i'm using OOP, however, this should not effect it in any way. I eventually broke down an downloaded a pre written class, but even then, i could not get it to work. Basically, when the two objects are supposed to be colliding, the ground has a red glow, but after making it draw points while colliding i saw that the actual collision shape is some messed up thing.
[Code]...
I've built a drawing application. Because I've programmed the option to insert symbols (new movieclips), I needed to create a new movieclip each time I start drawing. The problem is that I now completely messed up my lineTo and moveTo sequence, and it just draws from coordinates which I don't understand where is gets them from.The code section is basically:
stage.addEventListener( MouseEvent.MOUSE_DOWN, startDrawing );
stage.addEventListener( MouseEvent.MOUSE_MOVE, drawer );
function drawer( e:MouseEvent ):void[code].....
I have a main lineDrawing movieclip into which i'm creating a new shDrawing each time the mouse moves. The problem is, because it starts a new movieclip each time - it messes up the coordinates of the line drawing.(btw, I can solve this if I could only do some kind of "lineTo" function on a movieclip, so that it "lines-to" from mouse down to mouse up seamlessly, regardless of the speed of moving the mouse.
so im almost finished my first site! very excited. its for my dads business, hes a screening contractor. actually i doubt he will get any business out of it, even once we get our real domain name and everything because i don't even know how to get Google to like it. its OK though, its mainly just a practice site for me anyways before i make a resume site for myself. anyways, it consists of 3 divs, an html content area, and a flash banner and a flash menu, which stretch depending on the window size to keep their aspect ratio. everything works exactly as planned in Firefox, chrome, and pure flash player. but in IE, safari and opera, the size and position of things are way messed up! (only really care about IE). the edges of dynamic text are slightly to the left or right and hanging behind things because of it, same with some movie clips. and when i didn't want things to appear on the stage i set their x position to be the length of the stage, BUT IN IE U CAN SEE THE EDGE!
View 2 RepliesI have created drawings in Adobe Flash and saved them as .fla files. However, when I try to save the files as JPEGs beyond a certain resolution (such as 4000x4000 pixels), the image gets altered. Essentially, it get's cropped, but some background is left in the remaining pixels.
Original image (.fla)
Jpeg image (with the saving problem):
I am using a titleWindow as a container for a popup (flex 3.5). I want to set the title of the window using a variable.
View 2 RepliesI was wondering if anybody knew how to create the title animation as seen in 10 Things I hate about you opening credits.URL...
View 1 RepliesI am editing a flash intro template and I am trying to keep text on the screen longer... how do I extend the amount of time it stays up before flying off the screen?I am a novice obviously, and I am sure there is a very easy solution. Also, when I do figure out how to extend the amount of time a title or text stays up before fading away or flying off, will I have to extend other layers as well to sync everything back up or does it do it automatically
View 1 RepliesI have the 3dwall feature - but i don't know how to add a title/description to the image. I have followed the instructions, - I don't understand what it is asking me to do.
View 3 RepliesI have an .xml file which is one I downloaded and modified. I'm trying to get flash to read the Title and display it in txt field inside a movie clip.
Here is my xml code:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<gallery path="Portfolio: Music/">
<image title="1 - Thomas Spencer-Wortley Concert 28-11-2008"
[Code]....
I'm making an interactive video and the title screen isn't working. Instead of waiting to start until the play button is hit the video just plays the 1 frame screen and startsThis is what I have:
play_btn.addEventListener(MouseEvent.CLICK, clickPlay);
function clickPlay(event:MouseEvent):void
{
[code].....