Gif Transparency Not Displayed Correctly In IE 6
Hello again to everyone,
when loading my current swf in a browser I get faintly visible borders with my transparent gifs. To be exact, the (supposed to be) transparent areas are rendered as slightly shaded grey (somewhat like a dither effect?). If anyone encountered this problem, too or could name possible reasons I'm eager to hear them.
Have a nice day
FlashKit > Flash Help > Flash General Help
Posted on: 02-24-2004, 10:44 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Some Characters Are Not Displayed Correctly (xml)
hello
i have an xml file and i'm reading it to display info in dynamic textboxes
some characters like á,é,í,ó,ú and Á,É... are not displayed correctly, they are shown as little squares, i've tried embedding the fonts but it doesn't work, after a while debugging i used this code to intercept the raw xml stream as the manual says:
xmlObject.onData=function(src:String){
trace(src);
}
and it displays the xml source but the squares are already there, so i think is something wrong with the transfer from the server to the flash swf???
what can i do to display them correctly?? i'm using this header in my xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
also tried setting the encoding to UTF-8 without results
thanks for your help
i will attach a file to show the squares, it must be an ó in the example
[HELP]My Flash Movie Isn't Displayed Correctly On Other Computers..
Hi guys!!! I really need ur help..
I've made an animation in Flash 8 with graphics made in illustrator CS2. When I publish the movie and open the html page, everything worked fine. But when some people opens the same html page on their computers, the flash movie isn't being displayed correctly. They can only see parts of the texts or graphics.
I've tried several ways to solve this problem:
1. I tried to export my flash movie as flash player version 7 or lower.
It didn't work cause the flash 8 output dialog tells me that some of the symbols or the effects in my movie are not supported in flash player lower than version 8.
2. I embedded the flash player detection script so i could make sure that everyone, who wants to see the movie, have the latest version of flash player and activated the JavaScript.
It didn't work either, cause some of my friends tells me that they still have the same problem viewing the movie.
Now i'm lost..i've tried googling, but couldn't seem to find a working solution for this problem. Can anyone help me??? please..please...
How Would I Get This Displayed ;/
Hey i recently was checking out a website and realised that it was pulling its content from a javascript on the page which looks like this.
Quote:
<script language="JavaScript">
window.document.movie.SetVariable('theLocation',"f rom Place");
window.document.movie.SetVariable('clientName',"Jo hn Doe");
window.document.movie.SetVariable ('gotoURL',"http://websitename.net/");
</script>
I was wondering how i could get these variables into my flash movie as i dont want to use a database to do it.
Thanks!
Some .jpg Are Not Displayed ... Help Here
Hi!
I am working on a Photogallery where I use
loadMovie
to load up my .jpgs. And normally it just works fine, but there are pictures that are not displayed in my Gallery. I added one really small photo, just to give u an example of what isn't loaded. I figured it out, that it has to have something to do with wether I modified the file in a certain manner or not.
E.g. if I change only the size, everything is just fine but when I remove redeyes than the pic isn`t displayed anymore.
Can anybody tell my why?
Thanks
Jan
SWF Not Displayed?
Hi,
I have recnetly noticed that on a site i did the main Flash intro doesnt load/come on at work, but the flash banner does. I tried changing the publish version to flash 5 (this is wot made the banner come on) but the intro doesnt. It has a preloader, so it shouldnt be a size issue?
All other sites viewed on there work ok?
any ideas?
www.a2-biology.cjb.net
Cheers
Once Loaded Twice Displayed
Hi all,
the senario...
I have created a flash movie with buttons on the main stage that link (loadMovie) to external swf's onto a place holder on the main stage. I have created a preloader in each of these external swf's. My problem is the user can bring in x number of movies and in going back and forth between movies I am getting a visual "flash" of the preloader in switching back and forth.
I guess what im looking for is some actionscripting that once the externals are loaded and cached into the users browser, the preloader will become disabled.
Any suggestions?
thx
Buttons Are Not Displayed
I've designed my website in flash 8 and I've just noticed that the buttons aren't being displayed on all browser/platforms. It works fine on the majority of them but I just went to a couple of places and accessed my page and the buttons are not shown at all. Anyone knows what can I do to fix this problem?
my website is:
http://www.threecellos.co.uk
Marcello
-No Response Displayed
Hi all,
I've implemented openamf with TOmcat 5.0.28 but when I run HelloWorld example on flash I couldn't get an output diplayed.
But I got the message that the service is successfully created.
and following also come up on tomcat server console.
Any help please I'm new to flash remoting.
- Venura
- Deserializing Message, for more info turn on debug level
Request message [AMFMessage: {version=0, headers={}, bodies={}}] |
- REQUEST:
- RESPONSE:
- Serializing Message, for more info turn on debug level
[AMFMessage: {version=0, headers={}, bodies={}}]
Listener When The FLV Is Displayed.
I'm creating a website with transprant videos, wich works fine.
But, as in used quiet often in players, i want a preview image of the first frame to be displayed before the FLV is loaded.
What i used to do is just load the video on top of the preview image so, once the video is displayed, the image won't be visible since the video is on top of it.
With Transparant video's that doesn't work out, since you'll still see the image that behind the transparant video so i'm gonna have to hide the image.
My question is, i can't figure out WHEN to hide the image, is there any way to find out when the first frame is displayed? When the movie has already been watched once, the buffer time is close to 0 seconds. when its the first time the buffer time is between 1 and 3 seconds, depnds on the internet speed..
Does anyone know what listener or anything you can use for this issue?
ps. I'm just usign the netstream thing from macromedia
Thanks
First Frame Of FLV Is Displayed, Nothing Further
Hi All,
Anyone faced this problem......
Just trying to work with the FlashCom Server so I have been developing a lot of sample and demo applications. This time I wanted to try Video Streaming. I created an FLV file, but for some reasons it did not work (may be some problem with encoding, but when I import the same file on the stage it works perfectly). Then I took sample FLV files from an article and tried to work with that......
Initially even with that file I could not get any output and then I learnt that I need to add a MIME type in Apache (which I did)....... afterwhich I could get to see the first frame of the FLV file....... The problem is that it does not work any further...... No output after the first frame.... tried everything..... nothing works.
This is the code:
Code:
#include "NetDebug.as"
stop();
nc=new NetConnection();
nc.onStatus = function(infoObject) {
trace(infoObject.level);
trace(infoObject.code);
}
nc.connect("rtmp://90.0.0.89/cinema");
NewStream=new NetStream(nc);
NewStream.onStatus = function(infoObject) {
text_txt.text += "NewStream Object"+newline;
text_txt.text += "Level: "+infoObject.level + newline;
text_txt.text += "Code: "+infoObject.code + newline;
}
NewStream.setBufferTime(2);
NewStream.play("timescape");
MyVideo.attachVideo(NewStream);
Can anyone please help.
Thanks
Sunil Bhatia
Fonts Displayed Different On Mac
Anyone had the issue where dynamic fonts displays wrond on Mac?
It shows the right font, just at the wrong sizes.
I'm using Silkscreen.
All is fine on PC, IE and Mozilla.
On mac it screws up.
Also I can't get a popup window to be the right size on Mac, it's fine again on PC-IE and Mozilla but on Mac it looks like it leaves space for scrollbars.
Ive tried using the scrollbars=no tag in the javascript but no luck.
Thanks in advance for any help
Webcams Displayed
I'm making and image map of valley here in Montana. It show roads etc. It also shows areas that have webcams. I want to be able to have the viewer click on the webcam icon, and then instead of loading a new html page, I'd like a small screen to appear that shows the webcam's image. This way I'm not opening a ton of new html pages each time the viewer click on a different web cam.
Simple, basic idea but I have no clue on how to do this univerally needed function.
TextField Not Displayed [AS 3.0]
Hi I downloaded and installed The Flash 9 authoring tool to learn AS 3.0.
I tried the following sample in attachment. I have taken this sample from livedocs AS 3.0 flash.text.TextField help file.
I Created the as file and saved the files as TextField_alwaysShowSelection.as
Then i created fla file and saved in the same folder as TextField_alwaysShowSelection.fla
In flash file i created the instance
var tf:TextField_alwaysShowSelection = new TextField_alwaysShowSelection();
No errors nothing but textfield didnot show up.
I tried putting up trace after
label1.alwaysShowSelection = true;
trace(label1.text + " - " + label1.x + " - " + label1.y)
It shows the correct values i tried visible property and a lot of other things like using border property the values return are correct but textfield is not displayed..
Can anyone help me solving this...
Attach Code
package {
import flash.display.Sprite;
import flash.text.TextField;
import flash.text.TextFieldType;
public class TextField_alwaysShowSelection extends Sprite {
public function TextField_alwaysShowSelection() {
var label1:TextField = createTextField(0, 20, 200, 20);
label1.text = "This text is selected.";
label1.setSelection(0, 9);
label1.alwaysShowSelection = true;
var label2:TextField = createTextField(0, 50, 200, 20);
label2.text = "Drag to select some of this text.";
}
private function createTextField(x:Number, y:Number, width:Number, height:Number):TextField {
var result:TextField = new TextField();
result.x = x; result.y = y;
result.width = width; result.height = height;
addChild(result);
return result;
}
}
}
XML Displayed In Flash
It seems there is a problem when displaying XML content in flash.
If for example I have
<text>line1
line2</text>
in the XML file, in flash it will be displayed as:
line1
line2
so it puts an extra line.
How can i solve this?
Thanks
Components Not Getting Displayed...
I am working on Flash 8, trying to place User Interface components (UI Scrollbar) on the stage. But when i do so and test the movie, only the border of the component is getting displayed. ( a thin rectangular box). I have added to nearly 12 layers and 4 frames.
Note: If i place a component in a new file (1 layer and 1 frame) it works perfectly.
Can anyone help me?
Need To Have First Movie Not Be Displayed
Hello all!
I have a problem I hope someone can help me.
I am trying to create an interactive map.
I don't want to just have a map that when one click on one area that part of the map zooms in. What I want is when I clcik on a an area of a map, a new map showing the details of that area appears.
I got the first part to work, that is a new map to appear when a spot is clicked.
My problem is I also want to add button that when clicked, I go back to the first map with a zooming out effect.
I tried using reverse frames, and the i have gotten the map to reverse or have a zooming out effect, but the map still shows in it original size and form as the map layer is still there.
Is there some way of hiding the first layer so it does not show until I click the button after the zooming out effect takes place?
Swf Displayed On Widescreen TV
I am creating a presentation using flash for display in a shop window. The TV that is displaying the presentation will be 4:3 standard widescreen format and has a 42" screen.
Can anybody provide me with helpful advice for this project? If somebody could tell me what movie settings would be suitable that would be good for starters.
many thanks in advance,
Alistair
Flash Does Not Get Displayed
Guys,
Having a bit of trouble with Internet Explorer.
Flash does not get displayed. Tried downloading Flash and it said it had been installed correctly. But the flash movie didn't get played. All that happens when you go to a site with Flash it doesn't display the .swf file and all you see is the outline of where it should be and the small image icon in the top left hand corner.
Can anyone shed some light on why it's doing this and what is the best course of action to rectify it?
Cheers,
Ash.
Random Movies Displayed
Does anyone know how to make random movies display within a movie when a user refreshes a page or goes to a different page with the movie in it? Sort of like ad rotation with flash movies?
How To Choose Which Picture To Be Displayed?
Does anyone know how to display a random picture on loading of a .swf file? I would like to do this by setproperty method where you can set the picture's x and y coordinates but it only seems to work with buttons' on (press) event. has anyone done similar things before?
XML Question: NULL Is Displayed...
I'm having a problem displaying the "name" field of my XML. I'm sorting through some XML to find a certain node and then passing it all to my passItOn variable.
When set my dynamic HTML text field equal to "display" it shows this: "NULL P19031"
The "NULL" should be "Magazine File - 2 pk".
What am I missing here? Can I not pull that from a variable?
code__________________
passItOn = <ans_id id="1"><sku no="P19031"><name><a href="http://www.link.com"><u>Magazine File - 2 pk</u></a></name><consumercopy>Need real copy here</consumercopy><featurelist><feature>Feature 1</feature><feature>Feature 2</feature><feature>Feature 3</feature><feature>Feature 4</feature></featurelist><descriptor> decriptors here!</descriptor></sku></ans_id>
display = passItOn.firstChild.firstChild.nodeValue + " " + passItOn.firstChild.attributes.no;
Text Displayed Once One Ends
Ok, I'm doing a band site for my friend and I have a news box posted on one side. I'm building it to have an admin area (using asp and an access database) so the band and myself can log in to change posts on the main page as needed without uploading the database everytime.
The problem is this: is there a way to get flash to detect when one post ends and another begins? I want them to appear with only one line between them.
i.e. the first post takes two lines, the second takes three and the third takes two. I want it to detect where the first box will end and start the second say, 10 pixels below. That way there's an even space between the first, second, and third posts.
I hope someone understands all this. Thanks in advance
Preloader Not Displayed Until 30% Loaded
I've got my preloader working now, but it won't display itself,or the percentage progress until it's reached about 28-33%. Before that it's just a blank page with the color specified in html. Any ideas?
Preloader With Logo Displayed
when i place a logo or image on stage with the preloader and test the movie the load bar is not smooth, it starts about 20% and runs ok after that. when i remove the logo or image and test the movie, the load bar starts at 1% and runs smooth. what can i do? thanks.
Borders Displayed Around .swfs In XP
G'day code gurus
I've created a .swf file and embedded it in a .html page and it works fine using MSIE6 and Windows 2000. Visit it at www.rickicoughlan.com/test. (Flash 6 required to view)
Problem is that users of Windows XP see a dotted border displayed around the .swf object when they roll their mouse over it. Some users have to double click on buttons in the .swf file too. If users press anywhere on the .swf object, the dotted line disappears but will reappear if they refresh/return to the page.
Can anyone tell me if I have my coding wrong, or if there is a fix for this?
Quiz Using AS 2.0 - Frame Not Displayed
hi,
I am facing a unique problem with my file.(File attached).
I am creating a simple quiz using AS 2.0, i am giving the facility of navigating back and forth between questions and the user can always change the options or answer as they wish.
I have completed this part and its working perfectly fine.
When i embed this script with my given UI interface, i am facing this problem, in the init part, i have given the script for navigating to the nextFrame().
function init() {
arrUserAnswer = new Array();
for (var i = 0; i<arrCorrectAnswer.length; i++) {
arrUserAnswer[i] = null;
}
nextFrame();
}
init();
i have kept total of 5 frames, frame 1 holds the script and navigation elements
from frame 2 to 5 i have placed 4 questions. and whenever i play the movie i should get the first question to be displayed automatically.
But i am getting just a blank screen instead of frame 2 in my case.
can anyone kindly check whats my problem ...
the same code is working perfectly fine without my UI interface with the same setup of 5 Frames.
cheers
saikiran
Flash To Be Displayed On LCD Screen
Hi there,
I need to create a flash file that is to run on a LCD.
Any idea as to what should be the size of that file (height /width) or any other safest way to display it so that the fonts or any other graphics are not squeezed or compressed.
Thanks in advance
Regards,
AB
How Do I Modify The Displayed Browser Url?
I have a site that consists of multiple html pages that parallel the flash site's pages - for SEO purposes. Both sets of pages use the same XML source (to avoid any appearance of cloaking).
I would like to modify the browser URL to reflect the currently displayed state. I've already got the other direction covered - when the user arrives via a deep-link URL, I pass in Flashvars using SWFObject.
I found SWFAddress, but it forces a "#" sign into the displayed URL, and there doesn't seem to be any way to turn it off. I realize it's intended to be used with named anchors, but that approach doesn't accommodate what I'm trying to do - I don't want just a single HTML page with all site content on it, using named anchors to jump around. That seems to me to be contrary to best practices - rather I should have a single HTML page for each state in my Flash site.
The approach I'm embarking on will actually use a single PHP page which will generate a custom HTML page when requested - e.g.
mysite.com/index.php?page=about
will load the "about" state text (if requested by Google) or direct to the "about" page of the SWF (if the user has Flash/javascript).
Is it possible to change th displayed browser URL through some method that's a bit more flexible than SWFAddress?
Input Displayed In The Output Box
Hi,
I simpy want to take what a user types in my INPUT box and display it in an output box, I thought this line of code would work
output.text = input1.text;
But for some reason it does not, I am using it in an if else statement, here is the full statement:
find_btn.onRelease = function() {
answer1 = input1.text.toLowerCase();
output = output
if (answer1 == "mr smith") {
output.text = input1.text;
} else if (answer1 !== "" && answer1 !== "mr smith" && answer1 !== "aarron") {
empty_mc.attachMovie("teacher", "newcross", 0);
_parent.roof2_btn._visible = false;
}
};
Can anyone help...it's driving me insane.
Thanks
Xml Tags Are Displayed Despite Of The Css File
Hi,
I am implementing a flash movie with external xml files and a css. The thing is that I'm using a code that I found in a tutorial of actionscript, the code is:
//init TextArea component
myText.html = true;
myText.wordWrap = true;
myText.multiline = true;
myText.label.condenseWhite = true;
//load css
kungFuStyle = new TextField.StyleSheet();
kungFuStyle.load("./textos/estilos.css");
myText.styleSheet = kungFuStyle;
//load xml
kungFuContent = new XML();
kungFuContent.ignoreWhite = true;
kungFuContent.load("./textos/noticias_es.xml");
kungFuContent.onLoad = function(success) {
if (success) {
myText.text = kungFuContent;
}
};
--------------------------------------------------
it works properly in all samples in which I've tried it. However, it doesn't work in the movie that I'm doing for a personal website. In this movie, the kungFuStyle is undefined and all Xml tags are displayed in the textField of the movie. Does someone know what it happens?
Thank you in advance,
Flash Displayed In Miniature In IE...
Hi..
I'm new here, and new to Flash, so I hope my question isn't annoyingly repetitive, but I've been online looking for this answer for some time now and no luck. IE doesn't seem to like displaying Flash movies, and I've found a way to get it to display and for the sound to play as well (*sigh* the client insists on having music on load.. he's a composer , and of course it works perfectly in FF etc, but ol' IE as usual has some tricks up its sleeve. So far I've used some free software employing javascript to get the darn swf to show up at all in IE, and then a CC to refer to an IE-only style sheet, but I STILL can't get it to look right. As of now, it plays the music and shows the movie as a TINY TINY thread-like worm (its a text-reveal banner) at the top of the page.
Here's the URL:
http://www.nujazzalternative.com
Here's my CSS for the IE-only style sheet: (*blush* this is my first CSS site) The DIV in question is #flashbanner.
Thanks a million for ANY help!
Della
================================================== =======
body {
background: #FFF;
}
#bgposition {
width: 99%; height: 99%; position:relative; left: 1px; top: 1px;
}
div #bgimg {
width: 99%; position: relative; z-index:1;
}
div#menucontainer { background-image: url(http://www.nujazzalternative.com/graphics/redbox1.jpg); background-repeat: no-repeat; height: 258px; width: 288px; position: absolute; top: 45%; left: 5%; z-index: 10;
}
a{
font-family: Arial, Verdana, sans-serif;color:#E02000; font-size:large; font-weight: bold; font-style: italic; text-decoration: none; margin-left: -15px;
}
ul {
list-style: none; line-height: 2em;
}
a:link {color: #E02000}
a:visited {color:#CC0000}
a:hover {color:#666699}
a:active {color: #F83820}
div#flashbanner{
z-index: 5;
position: absolute;
width:650px;
height:50px;
top:2em;
}
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-size: x-large;
font-weight: bold;
font-style: italic;
}
Font Is Not Displayed As Expected
Hi,
I am not familiar with fonts in general and don't know what kind of problem it could be. So please give me a clue how to solve this problem.
I have a Doulos SIL font downloaded from here: http://scripts.sil.org/cms/scripts/p...osSIL_download
Attached picture shows 3 views where this font is used:
1. flash during presentation - generated by htmlText flash function or dynamic text (doesn't look ok).
2. firefox html page (looks ok)
3. flash stage during editing (static text or dynamic) (also looks ok)
Please help
Can A Var Be Displayed In Between Html Tags
can a var be displayed in between html tags ?
fontz="hallo";//my var-frame 1
trace(fontz)//comes out hallo, good.
i have a text field with the var name "font2" for display
//i have 2 buttons to change font being display-system fonts-not embedded
see...
http://www.kirupa.com/developer/acti...nging_font.htm
but1.onRelease=function(){
font2 = "<font face="Times New Roman" >fontz</font>";
}
but2.onRelease=function(){
font2 = "<font face="Courier New" >fontz</font>";
}
when i publish flash print "fontz". i want "hallo" but am lost at this.
i want to display the variable VALUE! instead of retyping the content again and again in each button. is there a way around this?
Showreel To Be Displayed On A 42" LCD TV
I've been asked to create a flash projector looping showreel that will be required to play on a 42" LCD TV.
I'm unsure as to whether I should be setting my stage size to a specific ratio or not. Has anyone had a project like this before? And if so what size worked best.
Thanks in advance
Mike
Spanish Accents Not Displayed
Hi
When I receive xml that includes spanish accents using XMLSockets, the accents are replaced with a square eg. aqu�ra instead of aquÃpara.
I am trying to dispaly the xml in the trace window so it should not be font dependant. I can paste the accents into a text box in the swf and it displays correctly. I have tested the xml server using VB.net at both ends and the text appears correctly. It seems to be when Flash decodes the xml. Can you suggest a work around to this.
Cheers
Edited: 10/31/2007 at 03:06:23 AM by winetec
Changing XML Displayed In A Textfield
So my idea is to create a flash interactive that functions as vocabulary flash cards for online language courses. I would create a flash shell to display the vocab terms and definitions, which would be listed in an xml file. That way I have my .swf shell that I can recycle for any course, and just plug in a new xml file for a new class. I want it to have the foreign language term showing, you hit a button and the English definition appears under it. Then you hit a "next term" button and it loads the next term in the xml file.
I can get it to load and display the first term and definition, but I am clueless about how to get it to progress to the next listed term using a button. Here is my code and my cheesy xml:
Any help in figuring how to display the next term would be greatly appreciated.
Attach Code
//----section describing how to link to an external xml file----------
var testing_xml:XML;
var xmlReq:URLRequest = new URLRequest("testing.xml")
var xmlLoader:URLLoader = new URLLoader();
//--------end xml loading, plus the xmlLoaded function--------------------
var xml:XML;
var xmlList:XMLList;
function xmlLoaded(event:Event):void
{
testing_xml = new XML(xmlLoader.data);
lesson_txt.text = testing_xml.lesson1.@id;
term_txt.text = testing_xml.lesson1[0].term[0];
def_txt.text = testing_xml.lesson1[0].def[0];
/*xmlList = testing_xml.lesson1[0].children();
trace(xmlList);*/
}
xmlLoader.load(xmlReq);
xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded);
now to the xml:
<?xml version="1.0" encoding="utf-8"?>
<vocab>
<lesson1 id="This is the vocab for lesson 1">
<term>word</term>
<def>my annoying agreement</def>
<term>your mom</term>
<def>my stupid response to stupidness</def>
<term>tiredness</term>
<def>my general state of existence</def>
<term>I speak German!</term>
<def>Güten Tag ßäboön fäce!</def>
</lesson1>
<lesson2 id="This is the vocab for lesson 2">
<term>craptastic</term>
<def>sarcastic utterance of aggravation</def>
<term>allergies</term>
<def>spring has sprung</def>
<term>video games</term>
<def>what keeps me from going postal</def>
</lesson2>
</vocab>
[MX]: PNG From The Library Displayed In A Textbox?
Hello again.
I have an application that retrieves an XML file and displays it's content in a scrollable textarea. The text in there is HTML-formatted and it all works nicely.
Problem: I want to display tiny PNG icons (with transparent backgrounds) in there, too... I already found out that there's no way of loading them into the flash file dynamically... but even if I import them into the flash file / library, flash still doesn't seem to recognize them... or give me an option to export them for use in actionscript... only to im-/export them for common usage on runtime... but I don't know if that helps or how to do it.
Basically, in the attached screenshot (mock-up), you can see what it's supposed to look like. How would you handle something like this? The problem is that the PNGs need to scroll along with the rest of the text and I figured that's kind of complicated to do if I put them into movieclips and duplicate those or something...
Why is this not possible? Or the other way around- what am I doing wrong?
Thanks in advance...
~Me
Textarea Incorrectly Displayed
Hi,
Does someone know how could I prevent the G and the Y (and in fact every letter going under the writing line) to have its bottom cut in some zoom mode ?
I am using a single line dynamic text area. The problem is occuring with each font I have tried. It has the default height it had when created. Resizing the textarea only makes its content bigger and keeps the problem.
Thanks for your help,
Khaan
Preloader Not Displayed Initially
hi guys! I created a preloader for a website, but I cannot see it till around 60KB is loaded. Can anyone help me with this?
Thanks guys.
Webcam Displayed Size
hye there.i'm trying to do a webcam-motion-detection pong game (flash game) player will need to control the paddle by moving their hand, and wbcam will detect the movement and interact with the paddle. my problem here is that the displayed size is so small when i preview it on .swf...do anyone know how to set the size for the displayed vids? i really2 need help..thanksss
Quick Help...too Many Pictures Are Being Displayed
I really hope someone can help me, because this problem is freakin killing me! I created an XML gallery for some images I'm putting on my portfolio site. The gallery reads the images from an XML file, and lays them out in rows, with 3 images in a row. The problem I am having is that if I have any rows that have less than 3 images in them, it will display a placeholder movie clip where the image that doesn't exist is. For example: I have 5 images displaying, and they are layed out like this
[image][image][image]
[image][image][empty image]
Or as another example, if I have 7 images they display as follows:
[image][image][image]
[image][image][image]
[image][empty image][empty image]
What was supposed to happen (which seems to never happen they way you want to ) is that it will just display the images without adding extra empty movieclips.
Here's the code I'm using if anyone is willing to take a look at it for me:
Code:
var galleryPictures = gallery_xml.firstChild.childNodes;
var thumb_count = 0;
numRows = Math.ceil(galleryPictures.length/3);
thumb_holder = this.attachMovie("staticGal_mc", "staticGal_holder", 9500);
.....
for(var k = 0; k < 3; k++){
for(var l = 0; l < numRows; l++){
var currPicture = galleryPictures[thumb_count];
...
currThumb_mc = thumb_holder.attachMovie("static_thumb","thumbs"+k+l,200+thumb_count);
currThumb_mc.createEmptyMovieClip("thumb_container",280+thumb_count);
currThumb_mc._x = -500 + (k * 95);
currThumb_mc._y = -25 + (l * 75);
currThumb_mc._alpha = 0;
.....
currThumb_mc.thumb_container.loadMovie(currPicture.attributes.thumb);
thumb_count++;
I hope someone can help, I'm SOOOOOOO stumped!
edit: I'm placing the images negative because I ease them onto the screen, that code isn't in here though.
Type, Submit And Displayed For 6 Sec.
Hello there. Recently I saw a website where you could WRITE something in a text field, and as soon as you click the button SUBMIT, it will appear in some DISPLAY box. Many people writting and being published right away. Each message last about 6 seconds, and then it shows the next.
Sorry for my english, does anybody knows how to do it???
Quiz Using AS 2.0 - Frame Not Displayed
hi,
I am facing a unique problem with my file.
I am creating a simple quiz using AS 2.0, i am giving the facility of navigating back and forth between questions and the user can always change the options or answer as they wish.
I have completed this part and its working perfectly fine.
When i embed this script with my given UI interface, i am facing this problem, in the init part, i have given the script for navigating to the nextFrame().
function init() {
arrUserAnswer = new Array();
for (var i = 0; i<arrCorrectAnswer.length; i++) {
arrUserAnswer[i] = null;
}
nextFrame();
}
init();
i have kept total of 5 frames, frame 1 holds the script and navigation elements
from frame 2 to 5 i have placed 4 questions. and whenever i play the movie i should get the first question to be displayed automatically.
But i am getting just a blank screen instead of frame 2 in my case.
can anyone kindly suggest me whats my problem ...
the same code is working perfectly fine without my UI interface with the same setup of 5 Frames.
cheers
saikiran
What Can't Be Displayed From A Text File?
Hi,
I am using actionscript to load random quotes from a text file into a dynamic text box. Essentially this works fine - I press the button and a random quote is pulled from the text file. However, occasionally a little box with a question-mark in it will appear along with the text when I play the swf. I assume this means that somethings within the text file are not recognised. Generally these are "..." "'s" "'v" "-" although this doesn't occur in every case which is why I am confused.
Does anybody know why this occurs in some cases and not others?
Also, out of curiosity, is there a way to put an extra 'return space' into the quotes without messing up the code? like right now they
appear
like
this
but I was wondering if they could
appear
like
this
because some of them are fairly long and it gets slightly confusing sometimes, in terms of readability.
Anyway, I've uploaded the text file - any help would be really appreciated - been trying to get this quote page sorted for days ;p
(if it helps the actionscript I used is below - but I'm fairly sure that's working fine now).
Quote:
ranQuote = new LoadVars();
ranQuote.onLoad = function(success) {
if (success) {
RanNum = Math.ceil(Math.random()*620);
ran = ranQuote["quote"+RanNum];
quote_txt.text = ran;
}
else {
quote_txt.text = "Sorry, the quotes appear to have been eaten by a giraffe, please try again later ^^";
}
}
ranQuote.load("quotes.txt");
stop();
Combo Box Values Not Being Displayed In New MC
okay so i have a combo box which has 4 values and/or selection. The combo box movie works fine, but when the movie is loaded into my main timeline, the first selection (set in AS) shows up, but none of the others.
Can anyone explain. here is the code that sets the combo box and the code that loads the movie
ActionScript Code:
// assigns valuefunction initCombo(){ drop.addItem("Funky 80'ss Music", 0); drop.addItem("Your Body is a wonderland", 1); drop.addItem("FireStarter", 2); drop.addItem("Stop the Music", "Stop"); trace("stop it stop it"); drop.setChangeHandler("comboHandler"); clearInterval(doable);}// loads moviefunction getMP3Playa() { createEmptyMovieClip("playaContent", 49); loadMovie("smallMC_music.swf", "playaContent"); playaContent._x = 98; playaContent._y = 750;}
Status Bar Displayed Via Flash?
Is there a way to affect the status bar of the browser from flash? The reason I ask is because when you mouseover a flash link, it doesn't display the link in the status bar. is it possible to make this happen somehow?
|