ActionScript 2.0 :: Put A Text In The Flash Base Website?
Nov 11, 2003i'm trying to work with flash, can any one tell me how to put a text in the flash base website do i have to use html?
View 1 Repliesi'm trying to work with flash, can any one tell me how to put a text in the flash base website do i have to use html?
View 1 RepliesI am trying to build a website completely in flash or in other words its complete but the problem is of linking. I can't build the entire website in one single flash file coz it is so heavy that it will take terrible time to load hence i decide to break them in different files so to make loading easy. Now the problem is it works great at my classes but when i try to do it some where else the links not work at all... Now a little about my project I am not using any complicated action script just simple get url
View 4 RepliesI have a method that converts an int to a base60 string (using 0-9, a-z, and A-Z chars), but can't work out how to convert it back again. Here is my method for converting base10 to base60:
public static function toBase60(value:Number):String
{
var targetBase:uint = 60;
[Code]....
Works well. But how do I get the base60 string back into a base10 int?
Its been a while since i touched flash, which is funny considering i started my web/development career here.Anyway, in PHP there is a nice little function called base_convert (http:url....) which will take any number in any base (e.g. base 10, decimal) and convert it to any base (e.g. base 16, hex).So base_convert (15, 10, 16) will output F, which is convenient.I am wondering, as i cannot seem to find, if there is any similar function in actionscript. I am trying to convert from base 10 to 16 and then base 16 to 36.
View 3 Repliesi have a site entirely built on flash. its basically an e-magazine with lots of textual data. i need to implement a full text search where the user enters search terms in a text field and i need to highlight the occurrence of this search term within the textual contents inside this e-magazine
in a way its similar to what you do within a browser search or pdf search where after typing your search term they highlight all occurrences of this search term within the webpage / pdf document
what is the best way to do this? any ready component / solution / code available?
I want to add a text box to a web site built in flash CS 4, but with AS 2. This is for users to be added to a annual newsletter, the user will submit their email address. (Enter address, click send)..
View 0 Repliesi'm trying to edit the text of a Flash project/website. The flash project structure is as follows:
- Main.fla
-- Section1.fla
-- Section2.fla
-- Section3.fla
-- Section4.fla
The Section3.fla file contains the text I need to edit. I notice that the text is visible inside the library:
"/Sprites/sprite 11" file
and
"/Text/text" 10 file
But when I try to edit the text 10 file I get the message: "This symbol is imported from a Shared Library. If you edit this symbol, it will no longer be imported. Do you want to continue?".
If I click Yes and edit the text and replace the Section3.swf with the new one, the website still shows the old text.
I've done my fair bit of HTML coding and work fairly well with CSS but i've never ever done a mouseover in flash.. Now, the website's text, all of it, is simply located on a text.txt file that the flash file reads and incorporates onto the website.. All text and images come from this text file. This is what I want to do.
Click on Enter site, then when it loads, click on the "Selling" tab at the top of the site. On the "My Listings" section is where I want to have the mouseover text and the "Market Analytics" section (which we'll be renaming) is where we'd like the image to actually appear. My question to you is can this be done within this environment and how so?
I can edit JavaScript somewhat, though its been a while.
[code]...
If i click to any Read More link the text opened in a new window is still available for copying What should i do to to DISABLE text copying in a flash website fully ?
I know people would have asked this question many times, but i have a different problem. I want to make a fullscreen flash website like now my design is a bit different, i want my background to be full screen (i don't mind if its not to proportion) but the text on it should not stretch in-proportionately
View 1 RepliesThis is because I use movie clips within other movie clips.
I wondered if anyone knew a workaround or trick that I could use to get text into google. I have a couple ideas but they're just ideas.
I would like to create an alternate page that is not flash, but a regular html page with all of the text I want google to read inside it. Somehow I use code to tell it that when a user clicks on the link, to redirect them to the flash webpage, but when a search engine sees it, to send the search engine/google to that regular html page, where it will gather all of the text and then that text will show up on google's page when you do a search and my site on google? Even if this was possible, would google frown upon this and ban me or something?
The other idea I have is to use invisible text at the bottom of my page. This will be regular html text that is the same color as my background. But I heard this can get you banned from search engines like google if you are using lots of keywords, but I wouldn't be using keywords. I'd be using the few sentences of content that their stupid crappy technology doesn't read, forcing me to bust my hump trying to find a workaround for. It sucks that google doesn't even use keywords in my metadata for rankings either. So I can't even use that with them.
This is because I use movie clips within other movie clips.I would like to create an alternate page that is not flash, but a regular html page with all of the text I want google to read inside it. Somehow I use code to tell it that when a user clicks on the link, to redirect them to the flash webpage, but when a search engine sees it, to send the search engine/google to that regular html page, where it will gather all of the text and then that text will show up on google's page when you do a search and my site on google? Even if this was possible, would google frown upon this and ban me or something?
The other idea I have is to use invisible text at the bottom of my page. This will be regular html text that is the same color as my background. But I heard this can get you banned from search engines like google if you are using lots of keywords, but I wouldn't be using keywords. I'd be using the few sentences of content that their stupid crappy technology doesn't read, forcing me to bust my hump trying to find a workaround for. It sucks that google doesn't even use keywords in my metadata for rankings either. So I can't even use that with them.
I was wondering if i can convert all my flash websites text into HTML so that flash can get it from external .html files.
View 6 RepliesI downloaded a XML based website flash template and made some modifications to it. With this template there was few fonts included in separate folder (I had to install them to view swf and edit fla correctly) after all my mods done I published it to swf file and opened local file with browser, everything was working perfectly at this moment. Then I asked my friend if it could upload it on his server to check if this website looks the same on the web. I noticed that text (which is written with custom font that was included) is either missing or misplaced
View 5 Repliesi'm gonna make a flash header in cs4 to be placed on the webpage of a friend. the flash header is going to contain some small images and some text, all this is easy to do, but i'm wondering about how to publish it to the web, is a swf file and the html file enough? i want to create a text document where my friend later can exchange the images and the texts for his webpage by himself, without him having to do this in a flash programme. is this possible?
here is an example of how i want the header to look like, when you have the mouse hovered over the one big image[URL]..
I have 2 websites both built entirely in flash.My problem is that I have created a button on 1 of the sites that has to link to a particular scene and frame within a different flash website.
View 6 RepliesI have a flash file(full link to flash looks like [url]... which loads mp3-file(link to mp3 I send with php through flashvars)
I've embed dynamically(with swfobject) this swf to my page. It's ok. Then I send ajax-request to script, which reloading div with flash. Div is empty.
Experimentally I found out that I've trouble with relative paths. Flash file embed with this address ./swf/audio/player.swf and mp3-address is ./media/audio/user/1/random.mp3.
I have this base class
package sevengames.miranda.front.res {
import flash.display.MovieClip;
import flash.text.TextField;
[Code].....
I then, in the Flash document, create a movie clip which has this class set as the "Base class" in the properties. However, if I then do this.updateText(); in the movie clip's frame script, it complains
TypeError: Error #1006: updateText is not a function.
at miranda_fla::MenuButton_3/frame1()
Why doesn't it work? I know the class is read and compiled, because I had an error there which was reported.
If I've already specified in the symbol's package which class the symbol's class extends, do I still need to specify the base class in the symbol properties dialog?
View 2 Replieswhen I create a new flash project, I would like to put the source files in /src/ folder.When I try to add the base class to my project, flash can't find it.I've added the folder "src/" to source paths, in flash preferences.
View 2 RepliesI have a class "BaseMenu", which, needless to say, is a base class to menus that have eventlisteners. When I trigger the function to remove the menu itself, I don't know how to remove these eventlisteners, since their respective functions are in the extended classes, not in "BaseMenu".
Code:
//...
public function BaseMenu() {
this.cacheAsBitmap = true;
alpha = 0;
y = 400;
[Code] .....
I want to use a flash preloader for my php website. I have seen some javascript examples; but I want something attractive and cool. So I want use flash preloader which will show the percentage of the website loaded.My website is kinda heavy(with lot of images). It looks bad when the contents load. So I want to show a flash preloader while the site loads.
View 2 RepliesI would like to test automate a flash video player (similar to YouTube player). Can you recommended tools/ methodology for it.
View 1 Repliesim having some problems trying to read a SQlite data base from flash using AS3. The data base was created with this php script:
[Code]....
As you can see, this creates a database like this: After this i need to read this database in AS3, using this very simple script:
[Code]...
So I know you can assign a base class to a library definition within the Movieclips library information field but If I have 30 items in the library and I change the Base class this becomes a pain in the ass, can this be done programmatically when I instantiate the library definition?
var new_shiz:MyItem1 = new MyItem1(); // Needs to have a generic base class of MyItem
Is there any provision to set the base attribute from flash for an external swf loaded by MovieClipLoader
View 2 RepliesFlash will be receiving a Base-64 encoded image (from a web service) and need to convert & display that image on the stage.
For conceptual purposes, I'm omitting the web-service aspect for now and just reading in a Base-64 string, generated from an online service.
Now that I have the data into Flash, how do I properly convert it to an image and display it.
For some reason Adobe doesn't allow us to change the size of the handle in the default slider component. This handle is small and hard to click on quickly. If you try to increase the size of it graphically it just gets resized back down to 13x13 pixels. I've looked into the Slider.as code found in:
Program Files(x86)/Adobe/Adobe Flash CS4/Common/Configuration/Component Source/ActionScript3.0/User Interface/fl/controls/Slider.as
And found that on line 803 there is the code thumb.setSize(13,13). I tried changing that to 60,60 but it doesn't change the size of the handle. I don't know much about classes and I didn't think you had to compile these. I thought that in Flash when you clicked on the Components button that it loaded these classes in at that point but I must be wrong.
ActionScript Code:
override protected function configUI():void {
super.configUI();
thumb = new BaseButton();
thumb.setSize(60, 60);
[Code] .....
How can I get different images to display base on the time in Flash?
View 12 RepliesI am creating a ping pong game. And I want to create the ability to control the direction of the ball based on the impact on the paddle. If the ball is coming down at vy = 4; vx = 4;
and the paddle is moving to the left at vx = -5; I want the ball to slightly change its course depending on how fast the paddle is moving. It would probably reduce the balls vx speed on collision, therefore making the ball move more straight (close to the Y axis) when it is moving back up.
I figure the solution for probably doing this would be to measure how fast the paddle is going. My problem is the paddle is controlled by the mouse and has no certain speed. I am trying to figure out how I can measure the speed of my mouse traveling on the x axis.
I am probably going to create a timer that fires every few seconds to determine where the mouse was and where it is at. figure the difference and that will be the speed