Monthly Archives: October 2008

VerifyError: Error #1025 or Error from hell

i was trying to read an XML with namespaces and then Flash throw me this weird error

VerifyError: Error #1025: An invalid register 3 was accessed

then we found that was beacuse of these lines (locally declared in a function)

1
2
var ns = ttXML.namespace();
default xml namespace = ns;

the error comes when you try to call some function after [...]

Posted in AS3 | 1 Comment

SoundItem Class

well we start with this Sound Util, just embed the SoundTransform and SoundChannel in one single Class and the fade ability (uses Tween Lite)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
package com.grupow.media
{
import flash.media.Sound;
import flash.media.SoundChannel;
import flash.media.SoundLoaderContext;
import flash.media.SoundTransform;
import flash.net.URLRequest;
 
import gs.TweenLite;
import gs.easing.Linear;
 
/**
* …
* @author Raúl Uranga
*/
public class SoundItem extends Sound
{
 
private var _channel:SoundChannel
private var _soundTransform:SoundTransform;
 
public function SoundItem(stream:URLRequest = null,conext:SoundLoaderContext = null) {
 
super(stream,conext);
 
_soundTransform = new SoundTransform();
 
}
 
public [...]

Posted in AS3 | 1 Comment

Welcome!

Hi everyone! we’re pleased to start labs.grupow, here you will find some code examples, tutorials and AS3 headaches!
cheers!

Posted in General | 3 Comments