ActionScript 2.0 :: Data Not Showing Up?
Jul 3, 2007if is ctrl+enter in flash and view the swf it works fine. but if i publish it and view it in html page nothing displays.
View 6 Repliesif is ctrl+enter in flash and view the swf it works fine. but if i publish it and view it in html page nothing displays.
View 6 RepliesI have a page.php with a flash banner embeded. banner.swf loads, but displays nothing because it is not getting its data from data.xml which is in flash/lighter/data.xmlIt only works if the banner.swf and data.xml and the banner_images are all in the root directory. That's not possible and totally unacceptable. So I did get some info here about setting a parameter like this :: :: which is exactly where the data.xml file resides. I figured that had to be the solution. Still no data gets loaded.... unless I have the data.xml, banner.swf, banner_images, all in the root directory where page.php which contains the object code resides. How can I make this seemingly easy thing work
View 1 RepliesI am connecting to sqLite to retrieve some data, unfortunately it gives me undefined values, heres my code
[Code]....
I want to extend AdvancedDataGrid to show a Waterfall Chart in one of its columns.
To do that I already created custom cell render that shows bars as I need.
Now I have a little challenge: I have to pre-process data to show my Waterfall Chart properly. I have to do it before my grid is show. So, I assume that I have to extends AdvancedDataGrid and overwrite some methods.
I've been doing an active net connection checking for my project, once it loads it should jump to my other scene which contains datagrid populated by an xml(php) from a mysql server, but when i run it the data grid remains empty. I've tried it before with out the jumping to another scene and the datagrid is ok..
View 0 RepliesWhenever I output the xml data, it still brings out the xml tags but on the second row it shows the elements.
//First Row Load
<item>images/1.jpg</item>
<item>images/2.jpg</item>
<item>images/3.jpg</item>
<item>images/4.jpg</item>
<item>images/5.jpg</item>
<item>images/6.jpg</item>
//Second Row Load
images/11.jpg
so on and so forth....
The AS I used is this:
//Loading of Images
if(rCount > 0 && index < rCount) {
var i = index;
index++;
var adThumb = qAds[i].*;
trace(adThumb);
I've tried using the "toXMLString()" and the "toString()" but still the same thing continues to output.
when iam trying to publish an flash project containing a dynamic xml menu as html file ,the menu is not showing although it is showing in the accompannying swf file,any body knows the problem??
View 1 RepliesI have a Flash Datagrid component being populated by data from Robotlegs services. However as the datagrid needs to show more and more rows of info I need to implement a way of loading the data as it is needed. Ideally this will be as the user scrolls down the list, I have seen this in Flex examples but I could do with a pure AS3 solution.
Here is the Flex example: [URL]
I am loading data from xml file.There is 12 XML nodes (in this case)I don't want to show all xml data in Flash by default.I am attaching one button on the stage for every 5 xml nodes (depends how much data I want to show per one page, let's say 5)So every time user clicks on one of this buttons, the data from startIndex to endIndex of this button is shownFIRST: I have a problem clearing the attached data every time user clicks the buttonSECOND: I have a problem with the last button's endIndex variable. it should be 12 not 15 (in this case)
View 1 RepliesMy Flash Website isnt showing data from my XML file im loading..
View 2 RepliesI've made a header with navigation for my site. I have an html file that the header is inserted into, and I inserted it just like I always have using Dreamweaver.
View 4 RepliesI did this on my flash pageFor some reason of HTML view I can't see the scroll bars but under flash preview I can.
View 1 RepliesOn my website on the portfolio page[url]...
the flash on the right hand side is not showing in IE6?
This is the very simple code for the page, I have stripped out the restof the code just to get to the bare minimum code to show the .swf. It works fine with firefox but nothing is shown in IE. The .swf name (front.swf) is lowercase.How can I show the swf in IE ?
Code:
<div id="contenttabs" style="padding-left:10px; margin-top:0px; padding-top:0px;">
<div style="padding-left:10px; margin-top:0px; padding-top:0px;" class="box">
<object type="application/x-shockwave-flash" data="front.swf" width="523" height="450">
<param name="movie" value="front.swf" /></object>
</div>
The title & copyright text of my animation don't show up in the swf unless I break up the words to letters then to shapes. (This also occurs for the feedback of one of my games.) It's a 2.5 minute animation which puts my computer to the limits so that may be the problem. Obviously I'd rather not convert this text to shapes for size & flexibility reasons.
View 7 RepliesI have a png file dropping into a flash background and I am getting a black line around the png. Anyone thoughts on how to get rid of it. I also made the png bg to 1111111 the same as the fla file background
View 12 RepliesI have a wordpress theme I'm adapting to a clients needs, but I can't make the sidebar ads, which are 125x125px, show a same sized swf instead of a image. If I insert a swf link, it show a broken image thumbnail.[url].....
PHP code
<?php if(get_theme_option('ads_125') != '') {
?>
<div class="sidebaradbox">[code].........
This page appears in all browsers by Firefox 2. It validates and uses swfobject:
[URL]
I have a couple of video clips loading to the stage via loadExternalMovieclip. The video clips were imported FLV's, given skin styles, and exported as SWF's. When I open the SWF's directly in FLash Player, all is well -- the controls appear and work fine. But when they are loaded into an empty, placeholder MovieClip, the skin does not appear![url]...
View 10 RepliesI am making something that requires me to have a key pressed. I tried using the Code: if (Key.isDown(Key.thekey) But the key I want does not show up. I want to use the a,s,d,f,g,h,j,k,w,e,t,y,u, keys but they don't show up so I don't know how to make that happen. on a letter keypress. I also would like to know how to make it do something on the key release. I am using flash CS3 and ActionScript 2.0
View 3 Repliescheck my code below and let me know if i am doing something wrong in getting the alternate flash which is the .net control in the same Div.
Code:
<script type="text/javascript" src="Javascript/swfobject.js"></script>
<script type="text/javascript">
[code].....
I am trying to use a magnifing glass to sweep over an image and actually show the image underneath as the enlargement rather than just increase the pixels of the original image. Is this possible? is flash the place to do it?
View 2 RepliesWhen I'm working on the .fla I don't see anything unexpected, but when I view the .swf or export it there's a little red square in the animation. It moves with some of the stuff I have moving in the animation like they're attached somehow, but I can't find it in the fla to get rid of it.
View 1 RepliesAll my symbols disappeared. they're still there, and when i click into them to edit, i see everything, and also when i publish the movie i see everything. the layers are not invisible, and there are no masks. this happens to every symbol. i quit, closed, restarted, same thing. now it's happening with everything i open in flash.
View 1 RepliesI have read all there is to read about windows/ native windows in air.
In addition to the main auto-added window, I am creating and (trying to) open two windows when the app starts. It works fine when I test it in flash CS4, but when i publish/install and run it, the windows added through code do not appear.[code]...
I'm getting a list of movieclips with attached scripts to display, but when I try to put them on the sceen nothing shows up.I can trace the elements in the list and it will tell me there are elements there.I can trace getChildAt(numChildren -1) and it will tell me there is something there but nothing is visible.If I generate the list in the constructor of the class that handles the displaying it does show them, but when I try to load them when they are actually needed they don't show up.Here's a simplification of the code(its a small part of a larger project and I can't put all of it up somewhere public)This code does what it should do(unfortunately that is not what I need done)
Code:
package foo.bar
{
import flash.display.MovieClip;
import flash.display.DisplayObjectContainer;
[code]...
The traces all show up so I know its running the method, the traces tell me it adds stuff the the screen, but what I see on the screen remains completely stagnant, as if nothing is being added.
I have everything ready to bring to the next stage and so i checked online to see what it's going to look like (expecting it to look the same as what it does on my desktop):Notice the words at the top there (they appear after you roll your mouse over the word menu).Now when it is uploaded it looks like:I made sure to have everything uploaded onto my serverspace and I don't understand why those little words disappear?
View 1 RepliesI have a flash video that don't show up.
Here are my steps...
1. Create new page and chose Flash File (ActionScript 3.0)
2. Imported mp4 video to stage
3. Selected Load External Video with playback component
4. Then File/Export Export Movie then File Publish Preview/HTML
.swf or html showing video on source machine but on another machine (All files copied into one folder) I do not see it.
This other machine is using Firefox 3.5.6 which has Flash Player 10.0.42.34 installed. It doesn't matter if I click on the .swf or html I still see no video. Only player control and some sorta working animation.
I just made these quick flash banners for a client but he's saying that the text isn't showing up for him.I have the banners hosted here - http:[url]...........And any idea why it wouldn't be showing up for him? I'm assuming he's running on an outdated version of Flash but I know if that's the case he's going to worry about other people being on the same outdated version he's on and they won't be able to see the text.
View 2 RepliesI want to know what is going on with my flash document where more of the document is showing than the document size. despite the little white box showing the size, if i set scaling to 100% it starts reaching past the boundaries. how can I get my flash doc to scale without viewing what is essentially outside of the frame?I am experimenting with getting my flash website to scale. I have tried a few things like SCALE="default" in the html and such. I want to try and keep the aspect and scale, but have a minimum size. For this I have been trying swffit.
View 2 Replies