Click to See Complete Forum and Search --> : swf Communication
xpattech
05-01-2006, 06:59 PM
Bit of a challenge.....
Any way of getting the small swf imported into the main one to fill in the
text box ?
Html,Swf,Fun and imported swf included in zip...
blanius
05-02-2006, 10:24 AM
I don't think you can unless maybe you know the name of the variable set in the loaded swf. I'm pretty sure that the loaded swf could send info to the loading swf using the _parent method.
xpattech
05-02-2006, 10:45 AM
The variable is "stepper".. This has been causing me hassle for 2 days now and i'm sure its possible... Anyone who figures it out and can explain/supply example then i will supply a FREE domain name (.com or .de ) .... ( Only for the first to succeed and reply)... Reply to forum so it can be timed.....
Chris_Seahorn
05-02-2006, 10:47 AM
I think this thread is sitting idle because it's odd and missing an important piece....the code to the loaded swf. Take a closer look at that fun file Bret. He's Importing the swf into the main and then exporting the main. He's not loading an swf at runtime. That and the fact he left out what comprises the loaded swf (test.swf) and did not provide the source makes it a waste of time since we cannot control what test.swf sends to _root without access to it's scripting.
Not only is it an odd way of handling children movies, it's not the preferred method (importing as opposed to loading).
That test.swf looks to be a flash made movie using a component.
I could recreate it making both a Koolmoves movie but still would avoid importing it and would instead loadMovie and integrate the two. This is only a challenge because we are not provided all the code for those above examples.
xpattech
05-02-2006, 10:58 AM
Just say which files are needed chris and stop the High and Mighty bit.. I am asking for help because i dont know, if i did it would be solved...
Chris_Seahorn
05-02-2006, 10:59 AM
The source to test.swf. Plain enough language dude?
For the record I find your using a free domain as incentive to solve a problem like it's a prize as silly as you find my reply. This is a forum where cute incentives aren't needed.
xpattech
05-02-2006, 11:14 AM
The FREE domain is to say thank you to whoever solves the problem, and what is wrong with an incentive? Do you go to work for free?
Chris_Seahorn
05-02-2006, 11:18 AM
Yes, most people here fix problems for free. You do have a clue how a forum works right?
Now that you've attached all files, I'm sure Bret will square you away. It's not worth my time. I have a high and mighty attitude to uphold after all .
xpattech
05-02-2006, 11:25 AM
Yes chris most people fix problems for free, so why should i not give something away for free.......
Chris_Seahorn
05-02-2006, 11:28 AM
Semantics.
Challenge
The variable is "stepper".. This has been causing me hassle for 2 days now and i'm sure its possible... Anyone who figures it out and can explain/supply example then i will supply a FREE domain name (.com or .de ) .... ( Only for the first to succeed and reply)... Reply to forum so it can be timed.....
You are not giving anything away "free". You are awarding it to the successful troubleshooter....first to achieve success....as you stated yourself. Please refrain from jabbing at me for your mispoken post.
xpattech
05-02-2006, 11:35 AM
Chris this is the best fun i have had all day..... Go back to your drumkit or read your first post!!!!!
Chris_Seahorn
05-02-2006, 11:36 AM
Me too. Laughing is the best medicine. Good luck with the contest ;)
blanius
05-02-2006, 01:24 PM
Ok Boys quite the barking......
It might be possible to pull the variable from an imported swf I just don't know. As Chris pointed out you can code in the loaded swf to set a variable in _root or _parent, not sure if it will work when loaded at design but I'm sure it works when loaded at runtime.
necromanthus
05-02-2006, 01:29 PM
Anyone who figures it out and can explain/supply example then i will supply a FREE domain name (.com or .de ) .... ( Only for the first to succeed and reply)...
Bob Hartzell gave me the attached ZIP file.
He is looking for a new domain: http://www.koolmoves.de
:devil:
blanius
05-02-2006, 01:31 PM
What are you trying to accomplish here. Do you need to "talk" with swf's made in FLASH8?
xpattech
05-02-2006, 07:45 PM
If Bob wants www.koolmoves.de i'm afraid its already gone. Not sure i have been doing things the right way regarding importing swf as chris explained earlier.... I like the look of the components in Macromedia Flash 8 but i cannot recreate them in Koolmoves... This is actually the only thing i need to do..
xpattech
05-02-2006, 08:01 PM
Actually getting somewhere..
Chris_Seahorn
05-02-2006, 10:32 PM
Here is what I meant. Offered in good faith.
http://sandbox.blogdns.com/examples/xpatmain.swf
EDIT: I probobly should explain better.
The components were originally concieved for ease of use. You'll notice most of them do not allow access to their scripting but only allow parameters in the properties pane (usually decided by the creator) to be altered. Koolmoves components fall in this category too (created for ease of use). This usually gives you the needed functions to cover most bases. What you are doing requires us to bypass that properties pane and access the numericStepper class by hand. All we do is give your stepper component on the stage an instance name and we can then manipulate it....in this case with an event handler that grabs the steppers value to be done with as we please. In reality you could control every aspect of the stepper this way.
xpattech
05-03-2006, 04:37 AM
I cannot open your .fun file. It says unknown tag $tg$... Any ideas ?
xpattech
05-03-2006, 04:38 AM
Sorry it was $ltg$
xpattech
05-03-2006, 07:23 AM
Just found out what the problem was.. My little git of a brother had installed a pirated version of 5.2.5 and this aswell as being illegal did not support the $ltg$ tag. My apologies to Bob for this.. It has now been deleted and a full version purchased and installed..
xpattech
05-03-2006, 07:28 AM
I must be really thick,,, For the life of me i cannot understand your .fun file chris. It has a Dynamic text and a movie clip, no scripts or anything,,, What do i do with it ?
Chris_Seahorn
05-03-2006, 07:42 AM
Redownload them Xpat. I just reattached two new ones.
Xpatmain should have scripting on frame 2. It just has a dynamic textfield with an instance name of "stepvalue" and an empty movieclip named "mc1" to load the stepper.fla into.
http://sandbox.blogdns.com/examples/xpat1.jpg
stepper.fla is a small movie with a numeric stepper dragged onstage and given an instance name of "stepper". The scripting to send the value to the _root (xpatmain.swf) is shown here:
http://sandbox.blogdns.com/examples/xpat2.jpg
Chris_Seahorn
05-03-2006, 08:34 AM
I just noticed the post about the hacked version. This is very distressing. This was a massive problem (still is) with Swishmax and I had no idea that Koolmoves modern versions were crackable or that cracked versions were floating around. I shouldn't be surprised in todays world but I am.
So how do we help police this? WHat can we, as resource providers, do to help expose cracked versions. Is there a sure fire way to test that will fire an error like Xpat got openeing my file?
This sucks.
xpattech
05-03-2006, 08:24 PM
Trying to locate the host for http://***team.org/ as this is where my bro got Koolmoves 5.2.5 from. Had a look and this site is FULL of pirated software/music. If anyone knows how to contact the Host or ISP of this site so we can complain then please let us know..
(***) Removed to stop the spread - XpatTech
Chris_Seahorn
05-03-2006, 08:49 PM
Drop a line to Bob at support@koolmoves.com if you track it down xpat. He and his partners deserve the heads up.
xpattech
05-03-2006, 08:59 PM
I cant believe that sites like this have not been shut down......
A full Whois lookup has been sent to Bob & Co..
flashkit.com
Copyright WebMediaBrands Inc., All Rights Reserved.