How to enable special characters in var txt:TextField = new TextField();
in action script 3.0.
var tf:TextFormat = new TextFormat();
tf.font = "Verdana";
tf.size = 12;
tf.bold = true;
tf.align = "left";
var txt:TextField = new TextField();
txt.text = _label;
txt.embedFonts = tr...
i use Adobe flash player in my site, and now i need to increment some filed in database, when user click on player.
here is the script
<div id="conteiner" style="text-align: center;" ></div>
<script type="text/javascript">
var s1 = new SWFObject("player.swf","ply","420","380","9","#FFFFFF");
s1.addParam("allowful...
Working on a website that has an image of a sticky note which will change text somewhat frequently (every month or so) as new "todo" items are created on it.
Font I'm currently using is not Web Safe and the text is slightly angled to match the skew of the sticky note as well.
Now I'm a pragmatist, and in situations like this I would no...
Hey i wanna do something like this:
i=2;
_root.("process" + i)._x = var_Process_Pos_x;
how it is possible?, correct syntax please.
...
I have a web site that displays a column of flash videos. The page is w3c-valid.
The problem is that the page loads very slowly and sometimes crashes my web browser. Until the page is fully loaded, the videos are slow to respond and play. Is there a way to make these videos load their preview images only? What should I do to speed the p...
I have movie clip that i added to the main scene. If i open the clip itself i can play it in preview. However if i want to play the entire scene, it is not played. If i test the movie then its fine.
Is this a bug or what?
...
All,
On the main stage I have a button that is highlighted on rollover. I am using mx.managers.CreatePopUp to create a dialog box that pops up and takes user information. When the dialog box appears above the button, mousing over the dialog box triggers the highlight for the button beneath it.
Can you provide some suggestions as to wha...
This is quite often seen on video sites(to insert some advertisements),
the newly inserted frames should be dynamically generated from the web server,
how to implement it myself?
...
Hi, I have a requirement like when I type 2 characters in email field if that email id exists in DB then I need to show remaining emails starting with those characters needs to display in dropdown list. Like Tags part in stackoverflow.com site,
Is it possible in flex this functionality?
Please suggest me thanks in advance
...
Could somebody explain to me the architecture behind chatroulette?
I was thinking about a similar project that would only implement Audio
support (for starters). Is the best way to set this up a flash server?
If so, how should I go about getting into flash, will I need flex 4? I
have some beginner experience with c++, c# and java but I h...
and is flash being replaced by another standard like html 5 completely?
...
Anyone know this kind of tutorial or examples, which is flash image-scroller with buttons and click image get lightwindow efect ?
...
I have a few swf's that are loaded into a base file using levels. These clips can be cycled through by means of a setInterval function or when the user clicks the next or previous button. However, when the user hovers over a defined 'hit' area which is ultimately a blank movie clip, the setTimeout call is then canceled. This works fine, ...
I want to put shortest int in shortest:
shortest = 500;
for(i = 1; i <= _global.var_process_count; i++)
{
if(_root["process" + i].process_time_original.text < shortest)
shortest = _root["process" + i].process_time_original.text ;
}
what's wrong with above lines of code?
...
I'm using the SWFOBJECT 2 Generator. But the swf just never gets loaded. In the folder I have
swfobject.js
bridge.swf
expressinstall.swf
bridge.html
This is the code in bridge.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtm...
I have a Width and Height parametr. I have been given an array of colors in such format: [r, g, b, a, r, g, b, a, r, g, b, a... etc]
Data can be acsessed by something like this
for(var y = 0; y < height; y++)
{
for(var x = 0; x < width; x++)
{
r = data[y*width + x + 0]
g = data[y*width + x + 1]
b = data[y*width...
I'm using the following code. It works fine with getElementByID but if I use a OS detection function it stops working.
function getFlashMovie(movieName)
{
var isIE = navigator.appName.indexOf("Microsoft") != -1;
return (isIE) ? window[movieName] : document[movieName];
}
getFlashMovie('myId').sendToActionsript(str);
The above...
I want to broadcast Video from a web cam, over internet. The problem is, the Video will be viewed live by more than 20,000 people (expected).
I have a very little experience with Red5 Broadcasting. I did some broadcasting using Red5 and Flash. It works fine for 1 or 2 viewers i.e. it is great for personal chatting/ video conferencing app...
i'm trying to call a method inside a flash movie from js, every time the mouse leaves the "div".
It works on Internet Explorer, but not in firefox. any ideas?
here is the html script:
<script type="text/javascript">
window.onload = function(e){
init();
}
function init(){
document.getElementById('div').on...
In a rails project how would I create a picture slideshow? It could be generated as flash or use prototype or something else.
I just want a series of images (as a sub-part of a web page, not be the whole page) to fade into each other, and to advance manually if clicked. It would be nice if I could do things like slowly zoom into the ima...