Problem: Strange Problem With Components
Hi.
I have this strange problem, I put a dateField and a TextInput components in my library and I linkage them to the stage. I used createobject(...) to the components and from that moment I can't use the removeMovieClip() method for removing and existing movie clip from the stage, the strange thing is if I delete the components then I can use the removeMovieClip() method..... very strange, ....if this weird case had happened to anyone...please help me....(sorry for the bad english).
Thanks
{ps. I can send the .fla file}
FlashKit > Flash Help > Flash ActionScript
Posted on: 09-23-2004, 03:52 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Strange Interaction Between Components And TextField Focus
It is very easy to reproduce the problem.
> Create an input TextField dynamically (see attached code). Clicking on the text allows the user to edit it. Clicking away from the text makes it lose focus. All is fine.
> Now, just drag a UIScrollBar component to the Library (the same problem appears with other components as well) and try doing to the TextField what you did before: Click on the text and edit it. Clicking away from the text does NOT remove focus. Or, to be more precise, the TextField loses focus and instantly regains it!
Any thoughts? Is this a known issue?
Attach Code
var mc:MovieClip = this.createEmptyMovieClip("mc",this.getNextHighestDepth());
var tf:TextField = mc.createTextField("tf",mc.getNextHighestDepth(),0,0,0,0);
tf.autoSize = "left";
tf.text = "a string";
tf.selectable = true;
tf.type = "input";
Strange Strange For Loop Problem
i have the following for loop within a private constructor in a class:
PHP Code:
// Place season choice buttons for (i = 1; i <= numSeasons; i++) { thisSeason = setSeasonVar["Season"+i]; var mcName:String = "MC_seasonChoice"+i; var depthToUse:Number = 1001+i; var seasonChoiceXPos:Number = 100 + (i*60); // Add season choice seasonNavHolder.attachMovie("MC_seasonChoice", mcName, depthToUse, {_x:seasonChoiceXPos, _y:67, txt_seasonChoice:thisSeason}); // Give season choice button actions seasonNavHolder[mcName].onPress = function():Void { trace(thisSeason); } }
everything works except the "trace(thisSeason)" line of the script. Here, it seems that the script is no longer in the for loop. Each onPress event traces the last value of the array.. the last value to be returned from the query and placed into the loadVars object...
is this a scope thing?
Use FCS Components In Flash MX 2004. Components Already Installed. Help
Hi,
I have Flash communication server 1.5 insatlled and Flash MX 2004 too. When I create new fla file and want to use Flash components, I don't find them to use. I dont see any panel etc to use them. Some one tell me how to list the components to add them in my Flash fla file please
Thanks
Removing Components From The Components Panel
This seems like a stupid question, but I can't seem to get my old components out of my Components panel!
I put some custom made components, just for a try, into the folder
C:Program FilesMacromediaFlash MX 2004enFirst RunComponents,
found them in the Components Panel, but wanted to get rid of them immediately. Deleted the components from the folder, but they don't seem to disappear from the panel! I have no idea where they come from, since I should not have them even on my hard disk anymore!
Cheers!
Flash Components Vs. Flex Components
I know almost nothing about Flex. Just wanted to establish that at the outset.
A client sent me an API component - an swc file - to use in a project I'm doing. I installed it in my Flash folders, but it didn't show up in the Components panel when I launched Flash. When I queried the client about it, he said that it was actually a Flex component.
My question is, what's the difference between a Component written for Flex and one written for Flash ? Can a Flex component be adapted for use in Flash ? In that what I received is a .swc, I'm assuming it has to have been written in ActionScript.
Any help would be hugely appreciated. Many thanks.
CS3 Missing Components Or How To Use Flex 2 Components In CS3
Does anyone have a good resource for how to use Flex2 components in CS3?
I found an install that said it would install Flex2 components in CS3, but all it added waas the UIMovieClip for packaging Flash MC in swc's for Flex.
Right now I am specifically trying to solve the missing dateField component in CS3.
But I would like to find out if anyone has found a good resource for alternatives to all missing components in CS3.
I'm hoping the answer is not to build them from scratch.
Thanks,
Hunter
Components Inside Components (Flash 8)
Hi,
I have an Accordion component which needs to contain a number of small forms, each of which is built as a MovieClip containing TextInput, Button, ComboBox, etc.
So, I build my little forms in Flash, make them into MovieClips, give them a linkage identifier and assign them the AS2 class "mx.core.View", as the documentation says.
Then I use ActionScript to attach these to my Accordion control, using my_accordion.createChild(). OK, fine. Works nicely.
The problem is that in the next few lines of code I also want to be able to populate the TextInput and ComboBox components which reside inside my accordion. I can't do it. Trying to do so fails silently. Tracing out the path to the Components shows that they are "there", but if i put some content into, say, one of the TextInputs up-front (i.e. in the Properties panel inside Flash) and then try to trace... my_acc.my_form.my_textInput.text... i get undefined.
So, it looks like the components inside the form inside the Accordion aren't yet "initialised" when I am trying to get/set their values. I've seen similar behaviour before, but it's not clear in the documentation how to get around it.
Anyone help? What is the correct way to use components inside components like this? I don't want to have to call a second function or put any code on the timeline or anything like that!
Many thanks,
Andy
Components Inside Components (Flash 8)
Hi,
I have an Accordion component which needs to contain a number of small forms, each of which is built as a MovieClip containing TextInput, Button, ComboBox, etc.
So, I build my little forms in Flash, make them into MovieClips, give them a linkage identifier and assign them the AS2 class "mx.core.View", as the documentation says.
Then I use ActionScript to attach these to my Accordion control, using my_accordion.createChild(). OK, fine. Works nicely.
The problem is that in the next few lines of code I also want to be able to populate the TextInput and ComboBox components which reside inside my accordion. I can't do it. Trying to do so fails silently. Tracing out the path to the Components shows that they are "there", but if i put some content into, say, one of the TextInputs up-front (i.e. in the Properties panel inside Flash) and then try to trace... my_acc.my_form.my_textInput.text... i get undefined.
So, it looks like the components inside the form inside the Accordion aren't yet "initialised" when I am trying to get/set their values. I've seen similar behaviour before, but it's not clear in the documentation how to get around it.
Anyone help? What is the correct way to use components inside components like this? I don't want to have to call a second function or put any code on the timeline or anything like that!
Many thanks,
Andy
Flash Components Vs. Flex Components
I know almost nothing about Flex. Just wanted to establish that at the outset.
A client sent me an API component - an swc file - to use in a project I'm doing. I installed it in my Flash folders, but it didn't show up in the Components panel when I launched Flash. When I queried the client about it, he said that it was actually a Flex component.
My question is, what's the difference between a Component written for Flex and one written for Flash ? Can a Flex component be adapted for use in Flash ? In that what I received is a .swc, I'm assuming it has to have been written in ActionScript.
Any help would be hugely appreciated. Many thanks.
Communication Components Do Not Appear In Components Panel
Hi! I've installed Flash MX and Flash Media Server. I would like to use the communication components in flash MX however, I can not see it in my communication components panel in flash MX. I've already added the communication components.fla to my ---Flash MX/First Run/Components directory under the
Macromedia Flash MX installation directory and updated the ASC files
in my /scriptlib/ directory.. But after adding this, only four components (audio conference, av presence, chat and connection light) appeared in my component panel. I need to use other components but its not available. What should I do? Any help will be appreciated.Textcommunication components
Add On To Using New Built Components Or For Building Components?
My version of Flash won't even let me use components created by other people... Is there a plug-in or an add-on that I have to get to use components that didn't come with Flash? Is there something else I need to get to build my own components? If so.. Where can I get it? Is there a homepage I may purshase it from? Where? How much?
GotoAndStop? Strange, Strange
I have an instance of a movieclip my_mc linked to a class file in the first frame of the maintimeline.
The movieclip my_mc has two frames, the first of which calls a function on the maintimeline:
Code:
_root.myfunction();
myfunction is defined thus:
Code:
function myfunction() {
trace("function called ok");
_root.my_mc.gotoAndStop(2);
}
The 2nd frame of the my_mc has a trace.
The problem is this: The call to the function from the first frame of my_mc works fine... the trace shows up. But, the call to gotoAndStop(2) doesn't work.
The strange thing is, when I remove the linkage to the class file (deselecting "Export for ActionScript" in Properties for the movieclip) it works fine - the movie goes to frame two of my_mc.
Anyone any idea what's going on?? Any help greatly appreciated. Already wasted half a day fiddling around with this.
Can Components Be Put Inside Components?
Does anyone know if components can exist and function properly within other components??
For example, I have a large form with radio buttons and checkboxes that is in a movie. This movie then shows up in a scrollpane and doesn't function at all.
Just curious if that is a limitation.
Thanks.
MX Components V MX2004 Components
Appreciate any help to this problem.
I'm working on a project using MX2004 and my business partner is working on the same project using MX only. I design and he codes. He has created a form in MX using a few components such as the Combo Box. However, when I recieve it, although it works fine I cant seem to swap the components to MX2004 - when I try I get a blank box/boxes!
Is this a known issue? He can't afford to upgrade to MX2004 at this stage or else we probably wouldn't have this problem!
Thanks, Steve
FMX Components Vs. FMX2K4 Components
Hi,
I would like to export movie clips as components and let other developers use those to create applications.
I have very little experience with components; I did use FMX components in the past.
I would like to let users change the components features, for instance, totally redo the animation of a button's components rollover effect.
1.Can this be done with FMX2k4 components (I think not).
2.Can this be done with FMX components?
3.Can I export FMX components with FMX2k4 IDE?
4.What effect will components have on file size and performance?
Thanks in advance,
DMZ
UI Components V/s Flash MX UI Components
I am having a problem with traceing a combobox using UI Components. I am tracing the value of the selected combobox using a combobox with the UI Components. I prefer the UI Components because they have the glow, rounded corners and are more attractive. the code works fine with the Flash MX UI Components. However, when I use the UI components it doesnt. The combobox populates however I can not trace. Does anyone have any suggestions? I use the following code to trace the value of the combobox:
myCombo.setChangeHandler("myFoo");
myFoo = function(myCombo){
trace(myCombo.getValue());
I also used this code:
myCombo.setChangeHandler("myHandler");
function myHandler(obj)
{
trace (obj.getValue());
trace (obj.getSelectedItem().label);
}
The code for the entire section is:
function getStateArray(){
myStates ="AL,AK,AZ,AR,CA,CO,CT,DE,FL,GA,HI,ID,IL,IN,IA,KS,KY,LA,MA,MD,ME,MI,MN,MO,MS,M T,NC,NE,NV,NH,NJ,NM,NY,NC,ND,OH,OK,OR,PA,RI,SC,SD,TN,TX,UT,VT,VA,WA,WV,WI,WY";
myStatesArray = new Array();
myStatesArray = myStates.split(",");
return myStatesArray;
}
myArray = getStateArray();
myArray.unshift("--");
myCombo.setDataProvider(myArray);
myCombo.setChangeHandler("myHandler");
function myHandler(obj)
{
trace (obj.getValue());
trace (obj.getSelectedItem().label);
}
Please help. Thanks in advance for any help.
Justice
Components Inside Components
I have built a custom component which I call 'VComboBox'. This component is composed of a single label and an instance of Macromedia's builtin ComboBox 'FComboBoxSymbol'. I named the instance of the FComboBoxSymbol to 'comboObject'.
Now when I drag a copy of my component onto the stage and in ActionScript I use the following code:
_root.myVComboInstance.comboObject.addItem("red", 0);
It works and adds the item into the combo box inside my custom component. However when I dynamically create an instance of my VComboBox it does not work at all, like below:
_root.attachMovie("VComboBox", myNewCombo, depth++);
_root.myNewCombo.comboObject.addItem("red", 0);
The combo appears but however no item is added. And when I click on the arrow for the combo to drop-down nothing happens. I am trying to find out what I am doing wrong? Is there a way to make this work? Also why is my custom component acting completely different based on whether it was created at design-time, or whether it was created dynamically at run-time? Any assistance would be greatly appreciated.
Flash UI Components V/s Flash MX 2004 Components
I am using Flash MX 2004 Professional. I am having a problem with traceing a combobox using UI Components. I am tracing the value of the selected combobox using a combobox with the UI Components. I prefer the UI Components because they have the glow, rounded corners and are more attractive. the code works fine with the Flash MX UI Components. However, when I use the UI components it doesnt. The combobox populates however I can not trace. Does anyone have any suggestions? I use the following code to trace the value of the combobox:
myCombo.setChangeHandler("myFoo");
myFoo = function(myCombo){
trace(myCombo.getValue());I also used this code:
myCombo.setChangeHandler("myHandler");
function myHandler(obj)
{
trace (obj.getValue());
trace (obj.getSelectedItem().label);
}
The code for the entire section is:
function getStateArray(){
myStates ="AL,AK,AZ,AR,CA,CO,CT,DE,FL,GA,HI,ID,IL,IN,IA,KS,KY,LA,MA,MD,ME,MI,MN,MO,MS,MT, NC,NE,NV,NH,NJ,NM,NY,NC,ND,OH,OK,OR,PA,RI,SC,SD,TN,TX,UT,VT,VA,WA,WV,WI,WY";
myStatesArray = new Array();
myStatesArray = myStates.split(",");
return myStatesArray;
}
myArray = getStateArray();
myArray.unshift("--");
myCombo.setDataProvider(myArray);
myCombo.setChangeHandler("myHandler");
function myHandler(obj)
{
trace (obj.getValue());
trace (obj.getSelectedItem().label);
}
Please help. Thanks in advance for any help.
Justice
Strange
i have a movie with 2 scenes(pre , scene1).In pre i want to add a percentage preloader.I have one frame with stop action on it and i put a MC(instance=preloader) with 11 frames showing the percent bar.I put anther mc in the main scene with two frames having the action<If frame Loaded, scene1, 1, goTo, _root.preloader, Frame 1 and stop. and simailarly if frameloaded scene1 frame 2 goto tell target _root.preloder and stop 2 and so on..>when I
preview it in flash player it says [target not found _root.preloader,]why??? i even tried to put ../preloader,_parent.preloader,_pre.preloader but nothing seems to work???why? Or any other way to put percentage preloader ???
thanx!
Very Strange Please Help
Ok, here is the problem: I have a movie, the 1st frame in the timeline is empty except for a preloader graphic...For some reason, when I test the movie, the preloader doesn't start until at least 3K of the movie has loaded. The preloader script is in the 2nd frame, so it can't be the preloader that is holding it up...What could it be???
It's A Strange 1
Right i wiil see if i can get this right.
"Main.swf" has a button that loads another movie into it "login.swf". The movie "login.swf" is located in another folder on the server "loadMovie folder/login.swf, _level1"
Now as i said the "login.swf" movie is located in another folder and also in that folder are php scripts to work with the login.swf.
My question is:
When i click on the login button do I call the php script from the folder that contains the "login.swf" movie or since the login.swf movie is in that folder already can i just call them in as:
Code:
on (press) {
loadMovie("login.swf", _level1);
}
or
Code:
on (press) {
loadMovie("adminlogin/login.swf", _level1);
}
jst a thought
Anyone
Cheers
A Strange One
I have made a small form with a invisible button off stage to Tab through the fields in order
actionscript as follows
tabOrder = new Array();
tabOrder[0] = "Name";
tabOrder[1] = "Email";
tabOrder[2] = "Telephone";
tabOrder[3] = "Subject";
tabOrder[4] = "Entry";
on (keyPress "<Tab>") {
if (index<tabOrder.length-1) {
index++;
} else {
index = 0;
}
Selection.setFocus(tabOrder[index]);
}
it worked fine until I needed to publish in wmode=transparent
now its gone barmy, any ideas why, or a decent workaround?
are transparent bg swfs more trouble than they are worth?
be interested to hear anyones thoughts (or strange behaviours encountered) whilst using this method.
a very confused JB
Strange
i give a movie clip this action :
onClipEvent (enterFrame) {
if (Key.isDown( 37 )) {
this._x = this._x - 5;
}
}
Then when i press left he's goes to the left and thats fine.
but i also want it to change frame so i put in this
onClipEvent (enterFrame) {
if (Key.isDown( 37 )) {
gotoAndStop(6);
}
}
but then nothing happens when i press left.
anyone know what im doing wrong
(sry im noob )
thnx vorty
Very Strange Please Help
Hi,
I have this movie in which I'm using _sans for the font (flash 5). Well when I preview it, the text doesn't show up, but if I make it dynamic text, then it shows up, but with dynamic text I can't use different colors or bold/italic within a text block--it comes out all plain and one color.
Help!!!!
thanks in advance
Very Strange.........
Very strange.........
See, I have 3 MC on my library: black, purple, blue, wich are placed on scene with attachMovie, so their names goes as follows:
black - from 1 to 10,
purple - from 11 to 20 and
blue - from 21 to 30.
Each one has a variable called "AndaX" and "AndaY", as:
andaX = _root.speed * signalX;
andaY = _root.speed * signalY;
Ok OK OK
Now, I need blue to know black's AndaX, OK?
So I did (inside blue):
for (i=1; i<=10; i++){
theirSpeedX = _root[n].andaX;
theirSpeedY = _root[n].andaY;
trace("AndaX black = " + theirSpeedX);
trace("AndaX black = " + theirSpeedY);
}
And I got a very strange number, as 1.57573217712343 or 5.56227283459157
Ah! In these codes are no such things as Math.random or random
Strange Mc
hi!
i dont know what the time now in the us but i will be glad to get the answer as quicly as possible.
anyway, here is my problem, code i regular use and everyone does work in flash on release of the button the mc (instance name = creatures) start playing
they arent in the same timeline
thank you for your help almog,flash-man
Very Strange...
I have a movie that loads other movies. And it works great in internet explorer but it does not work in flash player? its the same exact movie used in both. any ideas?
thanks dave
Strange...
hey,
I'm wondering why it doesn't work:
code:
myVars = new LoadVars();
myVars.onLoad = function() {
var q = this.switch;
trace(q)
if (q == "yes") trace ("yes")
}
myVars.load("text.txt");
text.txt: switch=yes
For some reason when trying to trace the output everything is as it should be, but when trying with statement it doesn't work....
any ideas ?
Cheers
Something Strange
Hello, Newbe here and I have been using flash for about a month and so far so good. But I have this problem if you look at my new template that I have been editing for my business.www.tsigold.com.Go to products then in catagory select Tapetech tools, after it loads on the front page if you look at the little button with no words on it which says select in flash but not on my website? Also when you put it into shopping cart, the 2 little square buttons nest to the item should say (change) and (delete). All of this shows up in the flash template. Should I do any changes in dreamweaver on notepad. How to I do this. Woody
Strange
Hi there,
I was working on my CMS in flash and then all of a sudden my input fields didn't show their text anymore.
I tried everything but they wont show no text anymore when I use that specified kind of font.
when I use an other font it shows again.
does someone know an answer to my problem?
(when I use the same font for dynamic textfield or for static there is no problem. only for input)
thank you very much
kilikMC
Strange, Very Strange?
I'm trying to attach a MC to the stage in a basic drag and drop type exercise which SHOULD attach all 12 MCs which each contain a different word to fit into a text passage with missing words.
I have used the code below but for some reason it is not working at all, i'm not sure why. i have exported each MC with the AS but its still not working. is there something here that i'm not seeing??
PHP Code:
function () {
for (k=0; k<13; k++) {
_root.attachMovie("b", "b"+k, k);
("b"+k)._x = random(400);
("b"+k)._y = random(400);
}
};
Please HELP!!!
This Is REALLY Strange...
Hi, thanks for devoting some time!
I'm currently struggling with a strange problem...
If you click on the button "btn1" (path: _root.mc1.mc2 / see attached .fla), it sets off a red bar labelled "placeholder" (path: _root.mc1.card).
The frame "open" (_root.mc1.card) features a script that tells mc2 to go to frame 2, which pretty much is a copy of frame 1 except for btn1
(it doesn't hold a script in frame 2).
Despite the fact that there is no script attached to btn1 in frame 2, it still performs an action when you test the movie.
I don't really see the mistake ...your help is really appreciated!
Strange Bug
can anyone solve this,
i am attempting to take the server time from my server every second, to do this i have a php file that echos the date and time to the flash file.
Code:
<?PHP
$currenttime = date("F d, Y H:i:s", time());
echo "current_time=".$currenttime;
?>
no problems so far..
then i load this variable into flash and display it ...
Code:
currenttime.load("http://www.xxxxxxxxx.co.uk/php/current_time.php");
currenttime.onLoad = function () {
_root.current_time = currenttime.current_time;
gotoAndPlay(3);
}
'currenttime' is defined as a new loadvars on the root, this is all fine.
The above code loads the variable from php then when it is loaded assigns it to a variable that is also a dynamic text box on my stage. Then when its loaded it goes to frame 3, frame 3 then plays to frame 32 (because my movie is 30fps) where i tell it to gotoAndStop(2), where it should run the above code again, update the time as one second has now passed and begin its loop all over. No problems there, pretty straight forward. Well when i test this (control and enter) it works perfectly. When i run the swf file off my computer it runs perfectly. However when i upload it, it displays the initial time but then does not increment every second, just stays at the first time it shows. I have no idea why this would happen please can some1 solve this puzzle?
Aaron
[F8]Very Strange Bug
Hello,
I have two files that use the DepthManager class in Flash 8. They are identical in AS, flash version, etc. For some strange reason one works and one doesn't. Any ideas?
See attachment for source files
Strange
I dnt have a clue what is going on but for some reason my coding doesnt work
heres my code:
Code:
if (this.name14 == "NA") {
this.all_mc.l14_btn._x = 800;
trace(14);
}
"14" is displayed in the output but for some reason l14_btn doesn't move.
but when i put:
Code:
function movv (){
this.all_mc.l14_btn._x = 800;
}
and call it, it works.
i tried to put:
Code:
if (this.name14 == "NA") {
movv();
trace(14);
}
but it didn't call the function
Please can someone help me!
Something Very Strange.....
Hello all
I have had a couple of people mention a small problem with a a website that I have created.
This site is created in Flash but someone said that they couldn't see any of the text on the pages, including the navigation and so makes the whole site unusable. At first I thought it was just their setup and hadn't come across any answers on the internet. Unfortunately two more people have mentioned the same problem so it is obviously becoming more of a worry.
Has anyone experienced this before or have any clues what the problem may be? The people with the problem are using IE6 and have flash player installed. Could it have anything to do with AS? but then the normal text would appear (above and below the central graphic).
Hmmm, I'm puzzled any ideas or thoughts?
Thanks in advance
James
Very Strange...
Hello... i am having this weird problem... i never had it b4..
I have a project where i am loading 4 different external txt files into my movie...
when i test it within flash (ctrl + enter) everything works great. However,... when i publish it and play the swf file it doesnt work.... it doesnt even read the stop action i put on frame 10 for example... its like it doesnt read code at all...
what the hell is going on??/ any ideas?
[CS3] Strange Gap
I have a website http://www.okvta.org that I work on if you go to the website in Internet Explorer it shows up just fine, but when pulled up in Mozilla Firefox there is a gap between the two flash objects on the site, I was hoping somebody might be able to help me with this problem any advice is greatly appreciated!
Thank You,
Paul
Strange?
I fixed my stuttering by installing a loading sequence... with the coding as follows:
Code:
T = getBytesTotal();
L = getBytesLoaded();
red_mc._alpha = L/T*100;
yellow_mc._alpha = L/T*100;
myPercent = Math.floor(L/T*100)+"%";
if (L == T) {
nextScene();
}
Well when I tried it, simulating download, no stuttering, wow... but my external swf file was missing. Like my external swf file is jsut an island which changes with the season... but theres no island. But when I remove the loading sequence, theres an island, but all stuttery!?
This Is Strange
I have a simple movie clip of man ystatic horizontal lines. I then selected all the lines to apply the stipple effect to them, and ever since I did that the program crashes when I try to test the movie. The pages without the stipple applied work fine. Any clues to why this would happen?
Once I delete that movie clip from the project, it tests fine.
Very Strange
i dont know how to really define this problem, so i was not successful in finding a solution through my searches. i shall describe the symptoms here and if anyone has encountered them please advise.
On one particular machine in my office (which happens to belong to my boss ), mp3 loaded externally (using loadSound) into an swf is not working, also the loader for the mp3 is not working properly. this happens only in IE. that too with the files i work on, there are no problems whatsoever with other sites in the net. what could be the problem with that computer?
i was not sure how to categorize this problem, thats y i am posting it here.
Php To AS Something Strange
hy,
I have in my database a field with a german character : " Häuser " .I enter this field directly into the database via mysql manager
printing the mysql_query returns the correct field : " Häuser "
but when I try to send the information to AS, the letter "ä" is not recognized.
I tried the following solutions :
1. var_for_AS=rawurlencode("Häuser");
and send the var_for_AS to AS : no change, the ä is not recognized (=> it gets something like a small cube)
2. rawurlencode("Häuser"); is something like h%E4user
I did a copy/paste directly into the database field
=> nothing changed, AS prints a small cube
3. I tried Stripslashes but it doesn't make any sense because the data is added directly into the database and not via a php script.
so, there is no ADDSLASHES, and STRIPSLASHES doesn't make any sense
HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP
Conclusion :
I add the data directly into the database and not via a php script
php prints the correct word : " Häuser "
but AS can't read the " ä "
I don't know what to do now !!!! HELP
thanks for your help
Strange Bug
Could someone check out the image I have attached and tell me what is going on. This white bar started poping up when I would test my movie but not when I would Publish Preview now it pops up as soon as I open Flash. I deleted Flash MX 2004 and reinstalled but that does no good. Its been happening for about 3 days now. Please Help!
Strange Bug?
Okay i have designed this site and we have a skip intro button that skips this 500 frame animation and just goes to a still shot of the whole thing. A very basic thing. Well I have a preloader at the begninning of the movie and the skip intro button is visible incase someone is not wanting to sit and wait for the animation to load. But if you click the skip intro button before the movie entirely preloader it just goes blank. But if you let it preload once completely then the next time you visit the site you can skip whenever you want. Its really wierd.
http://207.235.60.240/
This is the temp place holder please see if you can think on something???
Thanks
Strange.... What Gives?
This has been working perfect for making draggable elements on stage.
Code:
nav.dragArea.onPress = function() {
nav.startDrag();
};
nav.dragArea.onRelease = function() {
nav.stopDrag();
};
But I just can't get it to work with dynamicly loaded swfs. Heres what I just tried...
_root>nav>navContent
_root is the main movie, nav is the MC with the "dragArea" button, and navContent is WHERE the swf is being loaded into.
Why this wont work... I do not know!
Is it a cross domain security problem? Maybe thats all... Brb, lemme test!
Something Strange Is Going ON
I have some dynamically loaded text rendering as html. When I mouseover any link in the text, it changes spacing randomly in the sentence. On mousover, one of the links removes the space after the link. Another link removes the space before the link and another space a few words down in the sentence. Weird. Here's an example.
This is the what a link sentence looks like. (normal)
This is the what a linksentence looks like. (on mouseover)
See how the space after the link goes away upon mouseover?
What the heck is going on here?
Ok..now This Is STRANGE.. Help?
Hey guys,
I used kirupa's modified slideshow with XML, so you can click on the picture.
I use it on my site http://www.olympiapublishers.com on index.php (the default page).
It doesn't work... but when you click on a category, which still uses index.php as the template.. it does..
Any ideas?
Thanks in advance!
Ben
Strange.........
Hi , I'm with this really weird problem and I don't see any bugs in my code. I have this:
onClipEvent (enterFrame) {
if (_root.Kogel, hitTest(_root.Boot)) {
_root.score = _root.score +1 ;
_root.bullets = _root.bullets -1 ;
if ( _root.bullets <= 0 );
gotoAndPlay( "kogelsop" );
}
}
"Kogelsop" is a frame wich displays "out of bullets"
Now instead of going to there when _root.bullets is 0 , it goes back to 1 bullet if you hit the boat!
Strange.... Take A Look
So I'm trying my hands on some full browser flash and after reading a couple of tuts I wrote this
Code:
#include "mc_tween2.as"
Stage.scaleMode = "noScale";
stageListener = new Object();
stageListener.onResize = function(){
var stageXcenter = Stage.width * .5;
var stageYcenter = Stage.height * .5;
middle.slideTo(stageXcenter,stageYcenter,1,"easeOutCubic");
trace(middle._x);
trace(stageXcenter)
}
Stage.addListener(stageListener);
The trace's are because it didn't work like I thought it would. Etc the middle movieclip didn't center itself but rather positioned itself seemingly how it pleased so I traced its x position and the var stageXcenter position and like suspected it shows different values. I find it very strange but maybe someone has an explanation and maybe if I'm lucky a solution as well!
note: you need mc_tween2.as
|