Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Fl.controls.list Crashes On 3rd Scene - No Skin Found?



Hello,I have been using a fl.controls.list object for awhile now, which is placed in an external .swf which I then load into my main .swf.Everything had been working fine until today. Today I rearranged the .swf and moved the list to the 3rd scene in the movie.Now whenever I get to that scene, the list crashes, with the following code. Is there something I need to to do include certain resources in that scene?TypeError: Error #2007: Parameter child must be non-null.at flash.display::DisplayObjectContainer/addChildAt()at fl.controls::BaseButton/drawBackground()[C:depotgamewillowsflashgamesrcflcontrolsBaseButton.as:538]at fl.controls::LabelButton/draw()[C:depotgamewillowsflashgamesrcflcontrolsLabelButton.as:600]at fl.core::UIComponent/drawNow()[C:depotgamewillowsflashgamesrcflcoreUIComponent.as:1198]at fl.controls::List/drawList()at fl.controls::List/draw()at fl.core::UIComponent/callLaterDispatcher()[C:depotgamewillowsflashgamesrcflcoreUIComponent.as:1379]



Adobe > ActionScript 3
Posted on: 03/21/2008 05:18:52 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

FLV Skin A/V Controls Not Showing Up
I've searched through all the books and can't find an answer for this one.

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!

?????

For example, www.dreamlogicpictures.com. If you click the TRAILER button, the video loads and plays, and my custom CLOSE button works, but the A/V controls, which are in the SWF, are nowhere to be found.

Trouble Embedding Skin Controls
Hi,

I converted a .mov file to a .swf file. In the folder on my website I have the skin, the movie and the flash video file. The movie plays, but I can't get the skin to show up. And yes, I changed the URL in the component inspector before I published the movie. Here's the current code I have, any help would be appreciated:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="

Fl.controls.TextInput Type Not Found
what is wrong with my class paths? how come i can't import fl.controls.TextInput?


ActionScript Code:
package{
    import fl.controls.TextInput;
    import flash.display.Sprite;
    public class Textbox extends Sprite{
        private var input_txt:TextInput;
        public function Console():void{
            init();
        }
        private function init():void{
            input_txt = new TextInput();
            addChild(input_txt);
        }
    }
}

error:

Code:
1046: Type was not found or was not a compile-time constant: TextInput.
1180: Call to a possibly undefined method TextInput.
1172: Definition fl.controls:TextInput could not be found.
please help, i couldn't find anywhere on google why anyone would not be able to import this package.

tia

Definition Flash.controls... Could Not Be Found
Hi everyone,

I can't figure out why I keep getting these errors "1172: Definition flash.controls:RadioButtonGroup could not be found." and "1172: Definition flash.controls:RadioButton could not be found."

Code:

import fl.controls.RadioButton;
import fl.controls.RadioButtonGroup;

Looks really straight forward but it isn't working.

I'm trying the tutorial on creating a Quiz using classes.

Thanks.

Flash Video Skin Controls Not Appearing On Web Page
Hi

I have a puzzle. I have some test movie clips that are operated (played) by pressing a thumbnail. All works ok in the resultinmg html and flash file that is produced, but when I import the flash movi into DW, the controls disappear, but the movie plays...

if you look at the link below you can see the flash movie controls in operation OK
http://www.chrisleslie.co.uk/new/flash/8movietest.html

but when the flash doc is inserted into the actual page the controls disappear......
http://www.chrisleslie.co.uk/new/Film.htm

(press thumbnail 2 to play the test movie)

any ideas would be greatly received...im at a loss here and heading for the vodka.......

Skin The List Component
Hi everybody

It 's my first post on the forum, nice to meet you ! ( i m french so my english is not so good !!! )
I would like to know how can i skin the list component ?
is ti dynamicly or passing by the librairy ?
Somebody can help me please

FMIS3: File.list() Crashes Core
Hi,
I can reproduce a crash of the core when using File.list() (with or without a filter function, it does not matter)

The problem appears after calling the function several times, not the first time.
The directory I list just contains some .flv files.
Calling list() in a loop makes the error appear earlier.
ulimit -c unlimited does not help. (I was suspecting lack of file handles or alike)

Has anybody else experienced a problem with File.list() ?

Crashing it several times seems to point to JS_SetElement() in all core dumps I produced.
OS: RHEL4 (32bit) or CentOS5 (64bit), it makes no difference.

List Component Skin Or Style Problem
I am building a scrolling list that pulls data from a xml file, and binds the data to a list component

I am trying to figure out how to change the look of the list component.
I need to create a rounded backgound for each list item and I would like to use a symbol for this.
I can't find a setStyle property to change this and if I try to adjust the HaloTheme.fla there is no List symbol to change.

How do I access the graphic being used by the list component?

Thanks for any help

Flash 9.0.28.0 Error "Skin Not Found" In FF
We've done quite a bit of investigation and have found that the FireFox browser (whether 1.5 or 2.0) has an issue when trying to play video. If using Flash Player version 9.0.28.0 the media player controls with skin displays within seconds and then disappears. Yet, the video itself continues to play (auto play) with an error message displayed on top of the video "Skin Not Found".

Our tests show that using Flash Player 9.0.16.0 this is a NONissue. We've not found this documented anywhere... Is there a patch available for 9.0.28.0 that would make it go away? Please advise, and thanks!
j

ContextMenu In List Controls
I have a context menu defined as such:

_menu = new ContextMenu();
_menu.hideBuiltInItems();
this.menu = _menu;

placed in the init method of a cell renderer. However, the normal context menu appears when right clicking on an item.

I can place this same code on the main movie clip and it the updated context menu will display, but I only want it for the items in my list control.

Is there any way to get a specific context menu to work on a specific movie clip which is a cell renderer in a list control?[





























Edited: 03/21/2008 at 02:00:45 PM by Ritteh

How To Print Fl.controls.List?
How can I print fl.controls.List that has a content scrollable for several pages? If I just add it as a page to a print job it only prints what is visible.

Is there a way to print all?

Fl.controls.List: Bug Or User Error?
Create a new AS 3.0 fla
Add a List component to the stage - name it "theList"
In the parameters panel, add 4 (or more) items.
Paste the code below in the actions panel:


Code:
import fl.controls.List;
import flash.events.Event;
import fl.accessibility.ListAccImpl;
ListAccImpl.enableAccessibility();

// I expected this line
theList.selectedItem = theList.getItemAt(2);
// or this line, to set the internal index to 2
theList.selectedIndex = 2;

theList.setFocus();
theList.addEventListener(Event.CHANGE, onListChange);
function onListChange(e:Event)
{
trace("You have clicked: " + theList.selectedItem.label + " in row " + theList.selectedIndex);
}
stop();
Run it.

The 3rd item (index 2) appears selected in the UI - all seems well.
Press the down arrow to go to the 4th item in the list. Oops, what happened?

Expect:
4th item (index 3) is selected.

Actual:
1st item (index 0) is selected.

Internally, it seems, the object thinks it's index is still -1 when the Keyboard event arrives.

So, how do you make sure that not only the UI looks correct, but internally, the component remembers it's selected index?

thanks,
Mark

HELP How 2 Direct User To New Scene Once All Objects Have Been Found
Hey Flashies,

I've got an inventory for my game. What I want to do is once the player has found all the objects in the inventory, to direct the player to the last scene in the game. How do I go about doing this?? All help appreciated (:

"Definition Fl.controls Not Found"
I can't find anything about this in the documentation, but when I put the command "import fl.controls.*" into my class package, along with the other import commands, it returns the error "Definition fl.controls not found".

Other classes I import work fine. The import of fl.controls works fine in another file, but not in the one I am currently working on.

What causes an import command to fail? I thought it was very straightforward.

On edit: this is weird. I tried actually placing a button instance on the stage in my project, and using the "import fl.controls.Button" command, on the assumption that, with a Button instance on the stage, the import command would be redundant, and I couldn't get an error message. This worked fine. Then I deleted the button from the stage and from the library as well. Now the movie works fine with the "import fl.controls.*" command. Is this just a bug?





























Edited: 01/09/2009 at 02:54:27 PM by MarkBorok

User Controls Button To Return To Previous Scene
I am needing a tutorial that will help me add actionscript to a button on a scene that will allow the user, upon clicking, to be returned to the scene they just left.

Could someone point me to a tutorial or give me some hints on how that can be done?

Thank you.

**Error** Scene 1, Layer 'actions', Frame 1, Line 664: 1087: Syntax Error: Extra Characters Found After End Of Program.
Scene 1, Layer 'actions', Frame 1, Line 664: 1087: Syntax error: extra characters found after end of program.
}

I am new to importing classes and I have been practicing making a photo gallery. I am stuck and I want to know if someone can help me with the error I am getting.

If it is convenient, you can download and test my .zip at www.dhtmlguy.freeservers.com

Thanks in advance!

"Scene Could Not Be Found" But It Exists
Hi there,

I am having a bit of a trouble with AS3. On stage I have a movie clip which is a menu containing drop down buttons created with just animation, not much action script(on roll over playhead goes to specific frame label where are the submenu buttons and on roll out it goes back to the beginning of the timeline of the movie clip itself). In one of the frames inside this movie clip I have put code which is supposed to tell flash to go to different scene in the site (or I could direct it to a frame label on the main timeline). This code will execute when user clicks on one of the sub menu buttons. It has to be there (the code) because this buttons don't exist anywhere else in the movie but there. So my code goes like this:


Code:
Introduction.addEventListener(MouseEvent.CLICK, clickIntro);
function clickIntro(event:MouseEvent):void
{
gotoAndStop(54,"Home");
}
Introduction is the name of the button from the dropdown menu.
Scene Home exists and it's spelt exactly the way i call it in the code "Home". I tried to send the timeline to another scene at first to make things easyer but it still said that this scene was not found.
I have done the same thing in another site but calling the scene from a button placed on the main stage (not in movie clip like here) and it worked perfect. Also this fla does weird things like sometimes it wouldn't test the movie, it doesn't do it no mater if I press the shortcut or from Control/Test Movie, restarting computer doesn't make a difference-only the progress bar for exporting a movie appears and then nothing, also the swf file dissapears from the directory where it was. And it tests it whenever decides it wants.
Can anybody please help me. I don't know why is it doing that and how to fix it.

Regards
ananda

2 Player Game. Moving Cars Controls Help With Controls
hi i have the controls for car number 1 that would be the arrow keys if

(Key.isDown(Key.RIGHT)) {
this._rotation += manuverSpeed;
} else if (Key.isDown(Key.LEFT)) {
this._rotation -= manuverSpeed;
}
if (Key.isDown(Key.UP)) {
if (speed<speedMax) {
speed += accel;
}
} else if (Key.isDown(Key.DOWN)) {
if (speed>-speedMax) {
speed -= accel;
but how can i make controls for car 2 ... i wann use wasd but i cant figure out how the key.a doesnt work.

Drag Controls Override All Other Controls On Movie?
I have a movie that loads into the main timeline and can be dragged around using:


on (press) {
startDrag("");
}
on (release) {
stopDrag();

}

That works great except that to close that movie again I've added a little button to say on press, unload movie.

Problem is none of the buttons or links on that page will work while it is being dragged around. How can I make the links and buttons work but still make the movie draggable?

Player Controls For Swf Similar To The Flv Player Controls Component?
Is there a component that is similar to the flv component that will control playback of a swf? or can this component also be used for a swf? I tried to create a player that uses loadmovie to load a swf, which works, but when i tried to create play, pause, forward (next scene), rewind (previous scene) etc it doesnt work and the audio and playback of the animation doesnt follow the controls when i click on the buttons. t hanks

Load Xml Data(list Of Names), Use List As Buttons In Flash Possible?
Hi, basically I have a quiz game that I made, the quiz is done but I want to keep track of how many times a person has failed the quiz. I have an XML file that has a list of names. I want to take those names, put them in a quiz game (at the beginning) as a "list" of some sort and let the user be able to choose their own name (which is of course already in the XML file). This name will be used to keep track of how many times they have tried the quiz.

I have successfully loaded the XML file (names) into an ARRAY in Flash but how can I output them to the screen AND let the user be able to choose those from the list? as a button? This will add the count after they clicked their name to +1 and then save it to somewhere(where is best?). I will attach the zipped files (there are 4, the fla,swf,2 XML files[quiz/names]). If anyone can help me ASAP it would be awesome.

Chnage The Font Of Selected Item Color In A List Mx:List
Hi,am Trying to change the font (bold and color) of a selcted item in List..But it is changing the complete list's font..

Here it is my code..
<mx:List id="businessFunctions" left="10" right="10" bottom="10" top="208"
dataProvider="{processList}"
itemClick="select();"
horizontalScrollPolicy="auto"
labelField="@name"/>


ActionScript COde:
private function select():void
{
businessFunctions.setStyle("textSelectedColor","#D 3E9F5");
businessFunctions.setStyle("fontWeight","bold");

var page:XML = businessFunctions.selectedItem.page[0];
var pageID:String = page.@id;
var processID:String = businessFunctions.selectedItem.@id;

server.submit(pageID, processID, RequestMessage.BEGIN);
}



Here i need toc hange the selected item color only..

Separate The List Items With The Separator And List Is Dynamic
Hi,
I am getting the list items dynamically ,and hv to draw a separator after the every group of list items.For this I have to embed a script function after every group.How can i do this Actionscrip 3.0 Any help?

Ex:

Group 1:

ABC
DEF
GHI

TODO-----Here we need to draw a line
Group 2:

123
456
789

TODO-----Here we need to draw a line
Group 3:


abc
def
ghi

Here I have da code:

for each(var group:XML in event.responseMessage.rawXML.group)
{
var pageSection:PageSection = new PageSection();

pageSection.text = group.@name;
pageContents.addChild(pageSection);
trace("***********Group Name: "+group.@name);

// once the section has been added, iterate through it's children and render each field.
// for each(var field:XML in server.currentPage..field)
for each(var field:XML in group.field)
{
var formElement:FormElement = AppCode.FieldRenderer.renderField(field, pageSection);
/* check for null, if for some reason we encounter an unknown control type
* the formElement will not be instantiated so we should skip over it.
*/
if(formElement != null)
{
/* formElement.field = field;
pageSection.addChild(formElement); */

formElement.setRuleDetails = this;
formElement.communicator = this.communicator;

if(event.responseMessage.pageType == PageType.UPDATE || event.responseMessage.pageType == PageType.ADD )
formElement.readOnly = false;

fieldList.push(formElement);
}


}
//Add Separator b/n groups

TODO...Here we need to call a function which draws a line.....}


Plz help me if u have any idea?

Debug > List Objects + List Variables ...
I am testing my flash movie within the flash application. I go up to the toolbar while testing and select 'Debug > List Variables' and then 'Debug > List Objects'. This displays all the variables and all the objects in the trace window. Fairly straight forward!

What I want to do is access these variables and objects at runtime while viewing my flash movie within the browser. So I can make a text field in my movie and populate it with these variables and objects BUT how do I access these from the flash movie ? There must be a way to get the output from 'Debug > List Variables' and 'Debug > List Objects' at runtime and dump it all into a text field on screen.

Can anyone assist please,
Thanks,
Stephen.

Converting Bulleted List To Numbered List
I'm trying to put out a list of questions for a test. I'm also using a stylesheet to format the way the text is displayed. This is the way the list should look like:

1. question#1 text.............................................. ......

2. question#2 text.............................................. ......

If more than one line of text per question, it continue on the next line indented. The text for each question needs to be looking like a block of text. The same way a bulleted list displays.

This format can be created by using the <ol>, <li> tags in HTML. But Flash doesn't recognize any style formats for the <li> tag. Only a bulleted list is printed out. How can I format that list into a numbered list? or if not how can I create the same output, keeping in mind that I have to use a stylesheet? Thanks.

Debug > List Objects + List Variables ...
I am testing my flash movie within the flash application. I go up to the toolbar while testing and select 'Debug > List Variables' and then 'Debug > List Objects'. This displays all the variables and all the objects in the trace window. Fairly straight forward!

What I want to do is access these variables and objects at runtime while viewing my flash movie within the browser. So I can make a text field in my movie and populate it with these variables and objects BUT how do I access these from the flash movie ? There must be a way to get the output from 'Debug > List Variables' and 'Debug > List Objects' at runtime and dump it all into a text field on screen.

Can anyone assist please,
Thanks,
Stephen.

(Flash MX Or 8) List/List Component Issues
Hello all.

I recently completed Kirupa's "Creating a Listbox" tutorial, (http://www.kirupa.com/developer/mx/listbox.htm) but have been having a difficult time modifying the event attributes of each list item. Basically, I want to click on an item and have an object on the stage move to a unique xy coordinate. I can get the object to move already (object._x = object._x +10, but unfortunately ALL items on the list execute this script command. I've tried fooling around with the code to get each item to do a unique movement but...well, clearly I haven't succeeded yet.

I'm a Flash nooby and help in the form of specifics would be greatly appreciated. If you can provided modified code from the tutorial to move an object to a unique positions that's even better.

Thanks.

David

List Component. Help. Looked Everywhere. Button And List.
Trying to use a list component and a button. When user selects something from list component and clicks button it takes them to new page, if user doesnt select something from list and hits button, (this is where my question lies) I want it to do nothing and setFocus to list component.

Here is how I am going about it now: New if statement (however it still transfers user if nothing is selected from list component) How can I get it to not transfer? I have tried rewritting this many ways, searched all over the nets, and Nada.


Code:
var arUrl:Array=["/browsecategory.aspx?cat=1","/browsecategory.aspx?cat=2","/browsecategory.aspx?cat=3","/browsecategory.aspx?cat=4"];

var provider:Array=[{label:"Option 1",data:0},{label:"Option 2",data:1},{label:"Option 3",data:2},{label:"Option 4",data:3} ];

mcList.dataProvider=provider;
var obj:Object={};
obj.click=function(eo:Object)
{
var count:Number=mcList.selectedItem.data;
getURL(arUrl[count],"_blank");
trace("count="+arUrl[count]);
}
but.mcSubmit.addEventListener("click",obj);/////here is where I am sending off
if(mcList.selectedIndex == undefined) {
setFocus.mcList;
}
So this thing works perfectly, however if user hasnt selected anything how can I get it to not transfer and setFocus?

I have tried setting if to check it for - 1 (since starts at 0) set to 0? Any ideas please help. Thanks in advance MT

MAC OS X Crashes
Is anyone experiencing crashes with Flash MX on the MacOSX? i have plenty of memory and no fonts in the file, yet it decides to shut down sometimes. the raw file is 1.4 MG..large, but cretainly not bad.
TY,
JC

IE7 Crashes With SWF
Hi All,

I would be grateful for some help. 4 weeks ago I knew nothing about web design. I got dreamweaver and managed to get my site up. There is one page where I market my backing tracks. The page works fine when I preview it in IE7 browser but when I put the page up to the remote server it seems that the swf files crash it (not immediately it loads more and more slowly until eventually it freezes. The page loads if I delete adobe flash player). The page works alright with firefox. It's a friggin mystery.

Here's the first 1/4 of the code the rest just gets repeated.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
background-color: #000000;
}
-->
</style>
<link href="home page.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style1 {font-size: 14px}
.style3 {font-size: 12px}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<body onload="MM_preloadImages('mainPageImages/homeDown.jpg')">
<div align="center">
<img src="mainPageImages/header.jpg" width="700" height="200" />
<table width="700" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFF99">
<tr>
<td width="350" class="bold">Lesson Backing Tracks </td>
<td width="350" class="bold">Freestyle Backing tracks </td>
</tr>
<tr>
<td valign="top" class="bold"><p>Rock and Roll Ain't noise Pollution Backing </p>
<p align="center">
<embed src="swfs/Rock and Roll backing track.swf" width="317" height="21"></embed>
</p>
<p align="center"><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_cart_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="mattsguitarschool@googlemail.com">
<input type="hidden" name="item_name" value="R&R Backing">
<input type="hidden" name="amount" value="1.00">
<input type="hidden" name="shipping" value="0.00">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="tax" value="0.00">
<input type="hidden" name="lc" value="GB">
<input type="hidden" name="bn" value="PP-ShopCartBF">
</form>
<p>Shine On You Crazy Diamond Backing </p>
<p align="center">
<embed src="swfs/Shine On backing.swf" width="317" height="21"></embed>
</p>
<p align="center"><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_cart_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="mattsguitarschool@googlemail.com">
<input type="hidden" name="item_name" value="Shine Backing">
<input type="hidden" name="amount" value="1.00">
<input type="hidden" name="shipping" value="0.00">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="tax" value="0.00">
<input type="hidden" name="lc" value="GB">
<input type="hidden" name="bn" value="PP-ShopCartBF">
</form>
<p>Another Brick Pt 2 Backing</p>
<p align="center">
<embed src="swfs/Another Brick Part 2.swf" width="317" height="21"></embed>
</p>

FMS Crashes
Hi guys, any help or thoughts on this. We have a text chat app that alows for many to not so many chat (IM CHAT0. We are seeing that when we hit 700 connections to the server (even though we have a 2500 user license), the server crashes and we have to restart it.

We run on one server at th emoment.

So, first, any view on this. And secondly, I was thinking we could use 2 intel quadcore machines, load balanced so that if 1 fails, ther other take sover. But we have never done that before.

Any thoughts and guidance would be really useful. We are trying to handle at least 5000 people connected all at once and chatting.

Thanks in advance

FME 2.5 Just Crashes
The 2.5 encoder just crashes whenever i launch it - it worked for about an hour. then i tried to load a profile,and it all went to hell. i uninstalled and reinstalled it, with no luck. I'm running vista ultimate with sp2.

VB Crashes
Hi,



In my application the Splash Screen contains a Flash Movie. It accepts UserID and Password for the application. I pass that information to a function in another form called frmLogin. Every thing works fine except when the pointer leaves the subroutine sfMain_FSCommand VB crashes. I am getting the below message:




Quote:





The instruction at “0x048aebf5” referenced memory at “0x04a37244”. The memory could not be “read”.










Code:


Option Explicit

Private sUserId As String

Private sUserPass As String



Private Sub Form_Click()

Unload Me

End Sub



Private Sub Form_Load()

'lblVersion.Caption = "Version " & App.Major & "." & App.Minor & "." & App.Revision

'lblProductName.Caption = App.Title

Me.sfMain.Movie = App.Path & "IBBA.swf"

Me.sfMain.SetVariable "AppVer", "Ver: " & App.Major & "." & App.Minor & "." & App.Revision

End Sub



Private Sub Form_Unload(Cancel As Integer)

Set frmSplash = Nothing

End Sub



Private Sub sfMain_FSCommand(ByVal command As String, ByVal args As String)

Dim iRet As Integer



Select Case LCase$(command)

Case "user"

sUserId = UCase$(args)

Case "password"

sUserPass = args

iRet = frmLogin.iValidateUserLogin(sUserId, sUserPass)

If iRet = 1 Then

Unload frmLogin

Set frmLogin = Nothing

Unload Me

End If

Case "cancel"

End

End Select

End Sub

VB Crashes
Hi,



In my application the Splash Screen contains a Flash Movie. It accepts UserID and Password for the application. I pass that information to a function in another form called frmLogin. Every thing works fine except when the pointer leaves the subroutine sfMain_FSCommand VB crashes. I am getting the below message:




Quote:





The instruction at “0x048aebf5” referenced memory at “0x04a37244”. The memory could not be “read”.










Code:


Option Explicit

Private sUserId As String

Private sUserPass As String



Private Sub Form_Click()

Unload Me

End Sub



Private Sub Form_Load()

'lblVersion.Caption = "Version " & App.Major & "." & App.Minor & "." & App.Revision

'lblProductName.Caption = App.Title

Me.sfMain.Movie = App.Path & "IBBA.swf"

Me.sfMain.SetVariable "AppVer", "Ver: " & App.Major & "." & App.Minor & "." & App.Revision

End Sub



Private Sub Form_Unload(Cancel As Integer)

Set frmSplash = Nothing

End Sub



Private Sub sfMain_FSCommand(ByVal command As String, ByVal args As String)

Dim iRet As Integer



Select Case LCase$(command)

Case "user"

sUserId = UCase$(args)

Case "password"

sUserPass = args

iRet = frmLogin.iValidateUserLogin(sUserId, sUserPass)

If iRet = 1 Then

Unload frmLogin

Set frmLogin = Nothing

Unload Me

End If

Case "cancel"

End

End Select

End Sub

Won't Change Scene...neither With Actionscript,neither From Scene To Scene
I have a big problem...why won't my movie change from my intro to scene one...I built my intro, i built my scene one but it won't skip from one to another. At the begining i had a loop problem on my intro,and it would never go on to the next scene,and now even if i build a new page it won't change to another scene either....HELP PLEASE!!!

Friggin Crashes Bah
Ive been having a lot of problems viewing some Flash content lately and I can't put a finger on it. While viewing flash projector files and even testing scenes from within flash, audio suddenly drops or, the movie will spontaneously restart itself or, the movie or projector i'm viewing will just simply generate a "Flash.exe has generated errors" or "Projector.exe has generated errors" message. It even happens viewing some content on other websites eg. http://www.campchaos.com or http://www.mondominishows.com. Could the fact that my machine sports dual processors have anything to do with it or the fact that the content i'm viewing contains large amounts of audio? Please let me know if you have experienced this and if so, have found a solution.

Thanks

Flash Crashes?
i have a button that opens up another browser window with a html file, but it crashes the flash movie that calls it. the actionscript for the button is:

getURL ("javascript:window.open('GuestDJ.html','PopUp','h eight=450,width=500,top='+((screen.height/2)-225)+',left='+((screen.width/2)-250)+',toolbar=no,scrollbars=no,resizable=no,menub ar=no')");

weird thing is, it seems to work fine on macs but crashes on PCs. The original flash file that calls this turns white and displays <object>. What gives...

the site is http://www.soundexpress.net/

Projector Crashes Help
I am currently creating a training CD which demonstrates how to use a web based tool. I have imported lots of screenshots as JPGs (upto 30) and have created scenarios which work fine on my PC. I am using stream option on sound to sync the sound to the mouse actions and the sound file can be upto 15minutes long.(Screen Resolution is 750x555)
The file works perfectly on my system (750Mhz Athlon 512MB) problem is when I try this on a lower spec machine e.g. Pentium II 300 MHz the projector crashes.
Symptoms are voice crackles then the picture freezes or the projector may just restart from the beginning.
I have tried to recompile with various settings to the sound/Jpegs with not a lot of luck.
Should flash do this?? Can anybody help with a simple fix??.

IE6 Crashes When Loading Mp3
hi there,

hopefully, you can help me with this:
i've written a MX-movie which at runtime loads mp3-files from a certain location (given by an ini-file). it really works absolutely fine when starting the flash on my local machine (stand-alone player and plugin work fine). but as soon as i upload it to my webserver and start it, IE6 crashes, meaning nothing happens any more and the browser doesn't react on any mouse-klicks, so i have to kill the task (win2k).

(you can have a look at the flash at http://www.wierzbicki.org/autumn/stage.swf, but be careful, the browser might crash!)

the mp3-files are about 500k of size (for testing, later they might be much bigger) and are supposed to be loaded in streaming-mode.

is this a known problem? is there a solution or workaround?

thanks, stevie.

AS Menu Crashes IE
Hi,

I am working on a menu for a site I am doing. It is done allmost entirly in AS and it works great.... except it seams to crash IE when you click on a link.

Here is a link to the AS file.

http://dak.daksoft.com/hot931/swf/menu.as

The menu can be seen here.

http://dak.daksoft.com/hot931

Any idea on why this is happening?

thanks,

Flash Crashes IE
on http://www.sporta.be I placed a dynamic Flash-navigation which causes problems on older pc's. The error: "error in flash.ocx" occures and crashes Internet Explorer. This problem only happens the second time any page on the site is loaded.

Does anyone know what causes this problem ? Or somekind of a solution for it ?
I already tried the search function, but couldn't find any solid solution.

I use flash mx.

Copy Then Crashes
Hi,
I am working with MX Profetional and today the aplication began crashing after I press the copy command. I am an animator and I work with large png. files but never had this problem before. My platform is OS X

Has any body encountered such problem and how did you solve it?

Thanks for your replyes.

IE Crashes (flash.ocx)
Hi.
I've been doing a banner with a video streaming. I've made several banners before with the same streamin-code, but now, after a while playing the banner, IE reports an error with flash.ocx.

Banner URL: http://www.bacardiaward.dk/stream/banner712x201.html

Screenshot:

Streaming code:


Code:
// Create a NetConnection object
var netConn:NetConnection = new NetConnection();
// Create a local streaming connection
netConn.connect(null);
// Create a NetStream object and define an onStatus() function
var bnetStream:NetStream = new NetStream(netConn);
bnetStream.onStatus = function(infoObject) {
status_txt.text += "Status (NetStream)" + newline;
status_txt.text += "Level: "+infoObject.level + newline;
status_txt.text += "Code: "+infoObject.code + newline;
};
// Attach the NetStream video feed to the Video object
ba_video.attachVideo(bnetStream);
// Set the buffer time
bnetStream.setBufferTime(5);
// Begin playing the FLV file
bnetStream.play("MY URL");

MX Randomly Crashes
I've been searching all over the internet for answers, and have even read some earlier posts here for answers.

I am using Windows Vista and have already tried uninstalling MX to no avail.
Is there any way to fix this issue yet?

Flash has frozen several times and I have lost many great animations, it is NOT possible to remember to save every 2 minutes.

[CS3] Crashes On Save
hi i wondered if anyone can help

i am having problem saving my FLA file if i make changes it get to 16KB and the flash crashes this is the case on any computer in which i try this on but only happens to this FLA

can any sugest anything

Regards

Lee

if anyone needs to FLA file to test please let me know as i can not upload it on here due to size

IE Crashes Because SWF Executes Js
now - dear moderator, DON'T MOVE THIS TOPIC INTO JAVASCRIPT, javascript works, actionscript has issues!!!

ok, here it comes: had an idea of creating swf-s something, that "back,forward,refresh" buttons recognize... so i came up with this:

http://www.mixib.com/temp/lan/


NB: the black squares are links, click on them, then try back-forward (not refresh yet)

try it in firefox or netscape - works... still buggy but it does
in IE - crashes

why?!

cause: the javascript i run from inside the swf makses it crash!!! whatever i try: call a function, call location.href, call element.click().... nothing....

solution: <write here >


here's the code:


Code:
<script language=javascript>

function setPage(id) {
oldHash="#"+id;
location.href="#"+id;
}


function change() {


document.getElementById('asd').innerHTML='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="1" height="1" id="sender_final" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="sender_final.swf?id='+window.location.hash+'"><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="sender_final.swf?id='+window.location.hash+'" quality="high" bgcolor="#ffffff" width="1" height="1" name="sender_final" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>';


}

oldHash=window.location.hash;
function tseki() {
if(oldHash!=window.location.hash) {
//document.write(window.location.hash);
//alert(window.location.hash);
oldHash=window.location.hash;
change();
}
}

inter=setInterval('tseki()',500);
</script>

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="550" height="400" id="getter" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="getter_final3.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="getter_final3.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="getter" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
<div id="asd" name="asd">

</div>



and as executes like this:

getURL("javascript:setPage('"+this._name+"');","_self");

plz, help me with it!?

main question - why is it if i run a js function from js, it works, but from swf it makes IE to crash?

PS: also tried executing with both: loadvars.send and getURL - no success

IE6 Crashes - MovieClipLoader?
Hi guys,

I currently have a problem with IE6 (Firefox is completely fine!), and it's hugely maddening!

Version info: Win XP, Flash 8, AS2.0, IE6.

Firstly I created a little test application, for a dynamic font loader. This works just fine! Perfectly infact. I then tried to implement this into my main application which is about 150kb in size. The moment I try to load a font, the whole browser crashes! I'm unsure of what steps to take to debug this issue, nor have I any idea what is causing this. It's rather infuriating!

Has anyone any ideas or suggestions at all?

Thanks guys,

Dave.

Safari 2.0.4 Crashes
I built a videowall and when you click on a thumbnail it takes you to a particular video on another page only in Safari 2.x.x. it crashes. It seems to be a PPC issue related to swfObject though that is unclear at this point. I've been able to duplicate this problem even on an intel mac using an old version of safari.

Flash Crashes
i am experiencing this automatic flash crash:

if i run this code on frame 1 everything is ok(this is a simple function that scale a clip):


ActionScript Code:
function one(){
    clip.scaleX+=.01
    clip.scaleY+=.01
    var _timer=setTimeout(one,1)
    trace(_timer)
    if (_timer==135){
        clearTimeout(_timer)
    }
   
}
one()

if i make a keyframe at frame 15 for example and cut and paste this code , flash will crash, anyone have an idea why?

Copyright © 2005-08 www.BigResource.com, All rights reserved